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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 147 - (hide annotations)
Fri Aug 12 01:45:47 2005 UTC (14 years, 2 months ago) by jgs
Original Path: trunk/esys2/finley/src/finleyC/Assemble.h
File MIME type: text/plain
File size: 4549 byte(s)
erge of development branch dev-02 back to main trunk on 2005-08-12

1 jgs 82 /* $Id$ */
2    
3     #ifndef INC_FINLEY_ASSEMBLE
4     #define INC_FINLEY_ASSEMBLE
5    
6     /**************************************************************/
7    
8     /* assemblage routines: header file */
9    
10     /**************************************************************/
11    
12     /* Copyrights by ACcESS Australia, 2003,2004 */
13     /* author: gross@access.edu.au */
14     /* Version: $Id$ */
15    
16     /**************************************************************/
17     #include "ReferenceElements.h"
18     #include "System.h"
19     #include "ElementFile.h"
20     #include "NodeFile.h"
21     #include "escript/Data/DataC.h"
22    
23     struct Assemble_Parameters {
24 jgs 123 dim_t numQuad;
25     dim_t numDim;
26     dim_t numElementDim;
27 jgs 82
28 jgs 123 dim_t NN;
29     dim_t NS;
30 jgs 82 Finley_RefElement* referenceElement;
31    
32 jgs 123 dim_t numEqu;
33     index_t* label_row;
34 jgs 82 Finley_RefElement* referenceElement_row;
35 jgs 123 index_t* row_node;
36     dim_t NN_row;
37     dim_t NS_row;
38 jgs 82
39 jgs 123 dim_t numComp;
40     index_t * label_col;
41 jgs 82 Finley_RefElement* referenceElement_col;
42 jgs 123 index_t* col_node;
43     dim_t NN_col;
44     dim_t NS_col;
45 jgs 82
46 jgs 123 index_t id[MAX_numNodes]; /* used to hold a reordering vector, referenced by row_node and col_node */
47 jgs 82 };
48    
49     typedef struct Assemble_Parameters Assemble_Parameters;
50    
51    
52 jgs 123 typedef void (Finley_Assemble_handelShapeMissMatch) (dim_t, dim_t,dim_t, double*,dim_t, dim_t);
53 jgs 82
54     void Finley_Assemble_PDE(Finley_NodeFile*,Finley_ElementFile*,Finley_SystemMatrix*,escriptDataC*,
55     escriptDataC*, escriptDataC*, escriptDataC*, escriptDataC*, escriptDataC*, escriptDataC*) ;
56 jgs 147 void Finley_Assemble_PDE_RHS(Finley_NodeFile*,Finley_ElementFile*,escriptDataC*,escriptDataC*,escriptDataC*) ;
57 jgs 82 void Finley_Assemble_RobinCondition(Finley_NodeFile*,Finley_ElementFile*,Finley_SystemMatrix*,escriptDataC*,
58     escriptDataC*,escriptDataC*,Finley_Assemble_handelShapeMissMatch) ;
59 jgs 147 void Finley_Assemble_RobinCondition_RHS(Finley_NodeFile*,Finley_ElementFile*,escriptDataC*,escriptDataC*,Finley_Assemble_handelShapeMissMatch);
60 jgs 82 /* void Finley_Assemble_Points(Finley_Mesh*,Finley_SystemMatrix*,escriptDataC*,escriptDataC*,escriptDataC*) ;*/
61     void Finley_Assemble_NodeCoordinates(Finley_NodeFile*,escriptDataC*);
62     void Finley_Assemble_setNormal(Finley_NodeFile*, Finley_ElementFile*, escriptDataC*);
63     void Finley_Assemble_interpolate(Finley_NodeFile*,Finley_ElementFile*,escriptDataC*, escriptDataC*);
64     void Finley_Assemble_gradient(Finley_NodeFile*, Finley_ElementFile*,escriptDataC*, escriptDataC*);
65     void Finley_Assemble_integrate(Finley_NodeFile*,Finley_ElementFile*,escriptDataC*,double*) ;
66     void Finley_Assemble_getSize(Finley_NodeFile*,Finley_ElementFile*, escriptDataC*);
67     void Finley_Assemble_CopyNodalData(Finley_NodeFile* nodes,escriptDataC* out,escriptDataC* in);
68     void Finley_Assemble_CopyElementData(Finley_ElementFile* elements,escriptDataC* out,escriptDataC* in);
69 jgs 123 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(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(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(dim_t,dim_t,dim_t,double*,double*,double*,dim_t, double*,double*,dim_t,double*,dim_t);
73 jgs 82
74    
75     void Assemble_getAssembleParameters(Finley_NodeFile*,Finley_ElementFile*,Finley_SystemMatrix*,escriptDataC*,Assemble_Parameters*);
76     Finley_Assemble_handelShapeMissMatch Finley_Assemble_handelShapeMissMatch_Step_out;
77     Finley_Assemble_handelShapeMissMatch Finley_Assemble_handelShapeMissMatch_Step_in;
78     Finley_Assemble_handelShapeMissMatch Finley_Assemble_handelShapeMissMatch_Mean_out;
79     Finley_Assemble_handelShapeMissMatch Finley_Assemble_handelShapeMissMatch_Mean_in;
80    
81     #endif /* #ifndef INC_FINLEY_ASSEMBLE */
82    
83     /*
84     * $Log$
85 jgs 147 * Revision 1.3 2005/08/12 01:45:42 jgs
86     * 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 jgs 123 * Revision 1.2 2005/07/08 04:07:45 jgs
92     * Merge of development branch back to main trunk on 2005-07-08
93 jgs 82 *
94 jgs 123 * 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 jgs 82 * Revision 1.1 2004/07/02 04:21:13 gross
101     * Finley C code has been included
102     *
103     *
104     */

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.26