/[escript]/trunk/finley/src/finley/Assemble.h
ViewVC logotype

Diff of /trunk/finley/src/finley/Assemble.h

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

revision 82 by jgs, Tue Oct 26 06:53:54 2004 UTC revision 147 by jgs, Fri Aug 12 01:45:47 2005 UTC
# Line 21  Line 21 
21  #include "escript/Data/DataC.h"  #include "escript/Data/DataC.h"
22    
23  struct Assemble_Parameters {  struct Assemble_Parameters {
24     int numQuad;     dim_t numQuad;
25     int numDim;     dim_t numDim;
26     int numElementDim;     dim_t numElementDim;
27    
28     int NN;     dim_t NN;
29     int NS;     dim_t NS;
30     Finley_RefElement* referenceElement;     Finley_RefElement* referenceElement;
31    
32     int numEqu;     dim_t numEqu;
33     maybelong* label_row;     index_t* label_row;
34     Finley_RefElement* referenceElement_row;     Finley_RefElement* referenceElement_row;
35     maybelong* row_node;     index_t* row_node;
36     int NN_row;     dim_t NN_row;
37     int NS_row;     dim_t NS_row;
38    
39     int numComp;     dim_t numComp;
40     maybelong * label_col;     index_t * label_col;
41     Finley_RefElement* referenceElement_col;     Finley_RefElement* referenceElement_col;
42     maybelong* col_node;     index_t* col_node;
43     int NN_col;     dim_t NN_col;
44     int NS_col;     dim_t NS_col;
45    
46     maybelong id[MAX_numNodes]; /* used to hold a reordering vector, referenced by row_node and col_node */     index_t id[MAX_numNodes]; /* used to hold a reordering vector, referenced by row_node and col_node */
47  };  };
48    
49  typedef struct Assemble_Parameters Assemble_Parameters;  typedef struct Assemble_Parameters Assemble_Parameters;
50    
51    
52  typedef void (Finley_Assemble_handelShapeMissMatch) (int, int,int, double*,int, int);  typedef void (Finley_Assemble_handelShapeMissMatch) (dim_t, dim_t,dim_t, double*,dim_t, dim_t);
53    
54  void Finley_Assemble_PDE(Finley_NodeFile*,Finley_ElementFile*,Finley_SystemMatrix*,escriptDataC*,  void Finley_Assemble_PDE(Finley_NodeFile*,Finley_ElementFile*,Finley_SystemMatrix*,escriptDataC*,
55                                      escriptDataC*, escriptDataC*, escriptDataC*, escriptDataC*, escriptDataC*, escriptDataC*) ;                                      escriptDataC*, escriptDataC*, escriptDataC*, escriptDataC*, escriptDataC*, escriptDataC*) ;
56    void Finley_Assemble_PDE_RHS(Finley_NodeFile*,Finley_ElementFile*,escriptDataC*,escriptDataC*,escriptDataC*) ;
57  void Finley_Assemble_RobinCondition(Finley_NodeFile*,Finley_ElementFile*,Finley_SystemMatrix*,escriptDataC*,  void Finley_Assemble_RobinCondition(Finley_NodeFile*,Finley_ElementFile*,Finley_SystemMatrix*,escriptDataC*,
58                                      escriptDataC*,escriptDataC*,Finley_Assemble_handelShapeMissMatch) ;                                      escriptDataC*,escriptDataC*,Finley_Assemble_handelShapeMissMatch) ;
59    void Finley_Assemble_RobinCondition_RHS(Finley_NodeFile*,Finley_ElementFile*,escriptDataC*,escriptDataC*,Finley_Assemble_handelShapeMissMatch);
60  /* void Finley_Assemble_Points(Finley_Mesh*,Finley_SystemMatrix*,escriptDataC*,escriptDataC*,escriptDataC*) ;*/  /* void Finley_Assemble_Points(Finley_Mesh*,Finley_SystemMatrix*,escriptDataC*,escriptDataC*,escriptDataC*) ;*/
61  void Finley_Assemble_NodeCoordinates(Finley_NodeFile*,escriptDataC*);  void Finley_Assemble_NodeCoordinates(Finley_NodeFile*,escriptDataC*);
62  void Finley_Assemble_setNormal(Finley_NodeFile*, Finley_ElementFile*, escriptDataC*);  void Finley_Assemble_setNormal(Finley_NodeFile*, Finley_ElementFile*, escriptDataC*);
# Line 64  void Finley_Assemble_integrate(Finley_No Line 66  void Finley_Assemble_integrate(Finley_No
66  void Finley_Assemble_getSize(Finley_NodeFile*,Finley_ElementFile*, escriptDataC*);  void Finley_Assemble_getSize(Finley_NodeFile*,Finley_ElementFile*, escriptDataC*);
67  void Finley_Assemble_CopyNodalData(Finley_NodeFile* nodes,escriptDataC* out,escriptDataC* in);  void Finley_Assemble_CopyNodalData(Finley_NodeFile* nodes,escriptDataC* out,escriptDataC* in);
68  void Finley_Assemble_CopyElementData(Finley_ElementFile* elements,escriptDataC* out,escriptDataC* in);  void Finley_Assemble_CopyElementData(Finley_ElementFile* elements,escriptDataC* out,escriptDataC* in);
69  void Finley_Assemble_PDEMatrix_System2(int,int,int,int,int,double*,double*, double*,int, double*, double*,int, double*,int,double*,int,double*,int);  void Finley_Assemble_PDEMatrix_System2(dim_t,dim_t,dim_t,dim_t,dim_t,double*,double*, double*,dim_t, double*, double*,dim_t, double*,dim_t,double*,dim_t,double*,dim_t);
70  void Finley_Assemble_PDEMatrix_Single2(int,int,int,double*,double*, double*,int, double*, double*,int, double*,int,double*,int,double*,int);  void Finley_Assemble_PDEMatrix_Single2(dim_t,dim_t,dim_t,double*,double*, double*,dim_t, double*, double*,dim_t, double*,dim_t,double*,dim_t,double*,dim_t);
71  void Finley_Assemble_RHSMatrix_System(int,int,int,int,double*,double*,double*,int, double*,double*,int,double*,int);  void Finley_Assemble_RHSMatrix_System(dim_t,dim_t,dim_t,dim_t,double*,double*,double*,dim_t, double*,double*,dim_t,double*,dim_t);
72  void Finley_Assemble_RHSMatrix_Single(int,int,int,double*,double*,double*,int, double*,double*,int,double*,int);  void Finley_Assemble_RHSMatrix_Single(dim_t,dim_t,dim_t,double*,double*,double*,dim_t, double*,double*,dim_t,double*,dim_t);
73    
74    
75  void Assemble_getAssembleParameters(Finley_NodeFile*,Finley_ElementFile*,Finley_SystemMatrix*,escriptDataC*,Assemble_Parameters*);  void Assemble_getAssembleParameters(Finley_NodeFile*,Finley_ElementFile*,Finley_SystemMatrix*,escriptDataC*,Assemble_Parameters*);
# Line 80  Finley_Assemble_handelShapeMissMatch Fin Line 82  Finley_Assemble_handelShapeMissMatch Fin
82    
83  /*  /*
84   * $Log$   * $Log$
85   * Revision 1.1  2004/10/26 06:53:56  jgs   * Revision 1.3  2005/08/12 01:45:42  jgs
86   * Initial revision   * erge of development branch dev-02 back to main trunk on 2005-08-12
87     *
88     * Revision 1.2.2.1  2005/08/04 22:41:11  gross
89     * some extra routines for finley that might speed-up RHS assembling in some cases (not actived right now)
90     *
91     * Revision 1.2  2005/07/08 04:07:45  jgs
92     * Merge of development branch back to main trunk on 2005-07-08
93     *
94     * Revision 1.1.1.1.2.1  2005/06/29 02:34:46  gross
95     * some changes towards 64 integers in finley
96     *
97     * Revision 1.1.1.1  2004/10/26 06:53:56  jgs
98     * initial import of project esys2
99   *   *
100   * Revision 1.1  2004/07/02 04:21:13  gross   * Revision 1.1  2004/07/02 04:21:13  gross
101   * Finley C code has been included   * Finley C code has been included

Legend:
Removed from v.82  
changed lines
  Added in v.147

  ViewVC Help
Powered by ViewVC 1.1.26