/[escript]/branches/trilinos_from_5897/dudley/src/Assemble.h
ViewVC logotype

Diff of /branches/trilinos_from_5897/dudley/src/Assemble.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 6089 by caltinay, Tue Mar 22 06:58:00 2016 UTC revision 6090 by caltinay, Wed Mar 23 06:35:54 2016 UTC
# Line 48  struct AssembleParameters Line 48  struct AssembleParameters
48      int numDim;      int numDim;
49      /// leading dimension of element node table      /// leading dimension of element node table
50      int NN;      int NN;
51      /// number of equations (= matrix row block size)      /// number of equations (= matrix row/column block size)
52      int numEqu;      int numEqu;
     /// number of components (= matrix column block size)  
     int numComp;  
53      /// row and column degrees of freedom      /// row and column degrees of freedom
54      const index_t* DOF;      const index_t* DOF;
55        /// number of local degrees of freedom
56      dim_t DOF_UpperBound;      dim_t DOF_UpperBound;
57      /// reference to jacobians      /// reference to jacobians
58      const ElementFile_Jacobians* jac;      const ElementFile_Jacobians* jac;
# Line 92  void Assemble_PDE_System_3D(const Assemb Line 91  void Assemble_PDE_System_3D(const Assemb
91                              const escript::Data& X, const escript::Data& Y);                              const escript::Data& X, const escript::Data& Y);
92    
93    
94  /// Adds the matrix array[Equa,Sol,NN,NN] onto the matrix S.  /// Adds the matrix array[Eq,Eq,NN,NN] onto the matrix S.
95  /// The rows/columns are given by i_Equa+Equa*Nodes_Equa[Nodes[j_Equa]]  /// The rows/columns are given by i_Eq+Eq*Nodes[Nodes[j_Eq]]
96  /// (i_Equa=0:Equa; j_Equa=0:NN_Equa).  /// (i_Eq=0:Eq; j_Eq=0:NN_Eq).
97  /// The routine has to be called from a parallel region and assumes that  /// The routine has to be called from a parallel region and assumes that
98  /// Equa=Sol=1, i.e. array is fully packed.  /// array is fully packed.
99  void Assemble_addToSystemMatrix(escript::ASM_ptr S, dim_t NN_Equa,  void Assemble_addToSystemMatrix(escript::ASM_ptr S,
100                                  const index_t* Nodes_Equa, dim_t num_Equa,                                  const std::vector<index_t>& Nodes, int numEq,
101                                  dim_t NN_Sol, const index_t* Nodes_Sol,                                  const std::vector<double>& array);
                                 dim_t num_Sol, const double* array);  
102    
103  /// Assembles the mass matrix in lumped form.  /// Assembles the mass matrix in lumped form.
104  /// The coefficient D has to be defined on the integration points or not  /// The coefficient D has to be defined on the integration points or not

Legend:
Removed from v.6089  
changed lines
  Added in v.6090

  ViewVC Help
Powered by ViewVC 1.1.26