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*) ; |
64 |
void Finley_Assemble_getSize(Finley_NodeFile*,Finley_ElementFile*, escriptDataC*); |
void Finley_Assemble_getSize(Finley_NodeFile*,Finley_ElementFile*, escriptDataC*); |
65 |
void Finley_Assemble_CopyNodalData(Finley_NodeFile* nodes,escriptDataC* out,escriptDataC* in); |
void Finley_Assemble_CopyNodalData(Finley_NodeFile* nodes,escriptDataC* out,escriptDataC* in); |
66 |
void Finley_Assemble_CopyElementData(Finley_ElementFile* elements,escriptDataC* out,escriptDataC* in); |
void Finley_Assemble_CopyElementData(Finley_ElementFile* elements,escriptDataC* out,escriptDataC* in); |
67 |
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); |
68 |
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); |
69 |
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); |
70 |
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); |
71 |
|
|
72 |
|
|
73 |
void Assemble_getAssembleParameters(Finley_NodeFile*,Finley_ElementFile*,Finley_SystemMatrix*,escriptDataC*,Assemble_Parameters*); |
void Assemble_getAssembleParameters(Finley_NodeFile*,Finley_ElementFile*,Finley_SystemMatrix*,escriptDataC*,Assemble_Parameters*); |
80 |
|
|
81 |
/* |
/* |
82 |
* $Log$ |
* $Log$ |
83 |
* Revision 1.1 2004/10/26 06:53:56 jgs |
* Revision 1.2 2005/07/08 04:07:45 jgs |
84 |
* Initial revision |
* Merge of development branch back to main trunk on 2005-07-08 |
85 |
|
* |
86 |
|
* Revision 1.1.1.1.2.1 2005/06/29 02:34:46 gross |
87 |
|
* some changes towards 64 integers in finley |
88 |
|
* |
89 |
|
* Revision 1.1.1.1 2004/10/26 06:53:56 jgs |
90 |
|
* initial import of project esys2 |
91 |
* |
* |
92 |
* Revision 1.1 2004/07/02 04:21:13 gross |
* Revision 1.1 2004/07/02 04:21:13 gross |
93 |
* Finley C code has been included |
* Finley C code has been included |