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

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

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

trunk/esys2/finley/src/finleyC/Assemble.h revision 123 by jgs, Fri Jul 8 04:08:13 2005 UTC trunk/finley/src/Assemble.h revision 781 by gross, Fri Jul 14 08:47:38 2006 UTC
# Line 1  Line 1 
1  /* $Id$ */  /*
2     ************************************************************
3  #ifndef INC_FINLEY_ASSEMBLE   *          Copyright 2006 by ACcESS MNRF                   *
4  #define INC_FINLEY_ASSEMBLE   *                                                          *
5     *              http://www.access.edu.au                    *
6     *       Primary Business: Queensland, Australia            *
7     *  Licensed under the Open Software License version 3.0    *
8     *     http://www.opensource.org/licenses/osl-3.0.php       *
9     *                                                          *
10     ************************************************************
11    */
12    
13  /**************************************************************/  /**************************************************************/
14    
# Line 9  Line 16 
16    
17  /**************************************************************/  /**************************************************************/
18    
19  /*   Copyrights by ACcESS Australia, 2003,2004 */  /*  Copyrights by ACcESS Australia 2003,2004,2005 */
20  /*   author: gross@access.edu.au */  /*  Author: gross@access.edu.au */
21  /*   Version: $Id$ */  /*  Version: $Id$ */
22    
23    /**************************************************************/
24    
25    #ifndef INC_FINLEY_ASSEMBLE
26    #define INC_FINLEY_ASSEMBLE
27    
28  /**************************************************************/  /**************************************************************/
29    
30  #include "ReferenceElements.h"  #include "ReferenceElements.h"
31  #include "System.h"  #include "Finley.h"
32  #include "ElementFile.h"  #include "ElementFile.h"
33  #include "NodeFile.h"  #include "NodeFile.h"
34  #include "escript/Data/DataC.h"  #include "escript/DataC.h"
35    #include "paso/SystemMatrix.h"
36    
37  struct Assemble_Parameters {  struct Assemble_Parameters {
38     dim_t numQuad;     dim_t numQuad;
# Line 43  struct Assemble_Parameters { Line 57  struct Assemble_Parameters {
57     dim_t NN_col;     dim_t NN_col;
58     dim_t NS_col;     dim_t NS_col;
59    
60       /* added by Ben Cumming for MPI version */
61       dim_t degreeOfFreedomUpperBound;
62    
63     index_t 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 */
64  };  };
65    
# Line 51  typedef struct Assemble_Parameters Assem Line 68  typedef struct Assemble_Parameters Assem
68    
69  typedef void (Finley_Assemble_handelShapeMissMatch) (dim_t, dim_t,dim_t, double*,dim_t, dim_t);  typedef void (Finley_Assemble_handelShapeMissMatch) (dim_t, dim_t,dim_t, double*,dim_t, dim_t);
70    
71  void Finley_Assemble_PDE(Finley_NodeFile*,Finley_ElementFile*,Finley_SystemMatrix*,escriptDataC*,  void Finley_Assemble_PDE(Finley_NodeFile*,Finley_ElementFile*,Paso_SystemMatrix*,escriptDataC*,
72                                      escriptDataC*, escriptDataC*, escriptDataC*, escriptDataC*, escriptDataC*, escriptDataC*) ;                                      escriptDataC*, escriptDataC*, escriptDataC*, escriptDataC*, escriptDataC*, escriptDataC*) ;
73  void Finley_Assemble_RobinCondition(Finley_NodeFile*,Finley_ElementFile*,Finley_SystemMatrix*,escriptDataC*,  void Finley_Assemble_PDE_RHS(Finley_NodeFile*,Finley_ElementFile*,escriptDataC*,escriptDataC*,escriptDataC*) ;
74    void Finley_Assemble_RobinCondition(Finley_NodeFile*,Finley_ElementFile*,Paso_SystemMatrix*,escriptDataC*,
75                                      escriptDataC*,escriptDataC*,Finley_Assemble_handelShapeMissMatch) ;                                      escriptDataC*,escriptDataC*,Finley_Assemble_handelShapeMissMatch) ;
76  /* void Finley_Assemble_Points(Finley_Mesh*,Finley_SystemMatrix*,escriptDataC*,escriptDataC*,escriptDataC*) ;*/  void Finley_Assemble_RobinCondition_RHS(Finley_NodeFile*,Finley_ElementFile*,escriptDataC*,escriptDataC*,Finley_Assemble_handelShapeMissMatch);
77    /* void Finley_Assemble_Points(Finley_Mesh*,Paso_SystemMatrix*,escriptDataC*,escriptDataC*,escriptDataC*) ;*/
78  void Finley_Assemble_NodeCoordinates(Finley_NodeFile*,escriptDataC*);  void Finley_Assemble_NodeCoordinates(Finley_NodeFile*,escriptDataC*);
79  void Finley_Assemble_setNormal(Finley_NodeFile*, Finley_ElementFile*, escriptDataC*);  void Finley_Assemble_setNormal(Finley_NodeFile*, Finley_ElementFile*, escriptDataC*);
80  void Finley_Assemble_interpolate(Finley_NodeFile*,Finley_ElementFile*,escriptDataC*, escriptDataC*);  void Finley_Assemble_interpolate(Finley_NodeFile*,Finley_ElementFile*,escriptDataC*, escriptDataC*);
# Line 70  void Finley_Assemble_RHSMatrix_System(di Line 89  void Finley_Assemble_RHSMatrix_System(di
89  void Finley_Assemble_RHSMatrix_Single(dim_t,dim_t,dim_t,double*,double*,double*,dim_t, double*,double*,dim_t,double*,dim_t);  void Finley_Assemble_RHSMatrix_Single(dim_t,dim_t,dim_t,double*,double*,double*,dim_t, double*,double*,dim_t,double*,dim_t);
90    
91    
92  void Assemble_getAssembleParameters(Finley_NodeFile*,Finley_ElementFile*,Finley_SystemMatrix*,escriptDataC*,Assemble_Parameters*);  void Assemble_getAssembleParameters(Finley_NodeFile*,Finley_ElementFile*,Paso_SystemMatrix*,escriptDataC*,Assemble_Parameters*);
93  Finley_Assemble_handelShapeMissMatch Finley_Assemble_handelShapeMissMatch_Step_out;  Finley_Assemble_handelShapeMissMatch Finley_Assemble_handelShapeMissMatch_Step_out;
94  Finley_Assemble_handelShapeMissMatch Finley_Assemble_handelShapeMissMatch_Step_in;  Finley_Assemble_handelShapeMissMatch Finley_Assemble_handelShapeMissMatch_Step_in;
95  Finley_Assemble_handelShapeMissMatch Finley_Assemble_handelShapeMissMatch_Mean_out;  Finley_Assemble_handelShapeMissMatch Finley_Assemble_handelShapeMissMatch_Mean_out;
96  Finley_Assemble_handelShapeMissMatch Finley_Assemble_handelShapeMissMatch_Mean_in;  Finley_Assemble_handelShapeMissMatch Finley_Assemble_handelShapeMissMatch_Mean_in;
97    void Finley_Assemble_addToSystemMatrix(Paso_SystemMatrix*,dim_t,index_t*, dim_t,dim_t,index_t*,dim_t, double*);
98    
99    void Assemble_jacobeans_1D(double*, dim_t,double*, dim_t, dim_t, dim_t, index_t* , double*, dim_t, double*, double*, double*, index_t*);
100    void Assemble_jacobeans_2D(double*, dim_t,double*, dim_t, dim_t, dim_t, index_t* , double*, dim_t, double*, double*, double*, index_t*);
101    void Assemble_jacobeans_2D_M1D_E2D(double*, dim_t,double*, dim_t, dim_t, dim_t, index_t* , double*, dim_t, double*, double*, double*, index_t*);
102    void Assemble_jacobeans_2D_M1D_E2D_C(double*, dim_t,double*, dim_t, dim_t, dim_t, index_t* , double*, dim_t, double*, double*, double*, index_t*);
103    void Assemble_jacobeans_2D_M1D_E1D(double*, dim_t,double*, dim_t, dim_t, dim_t, index_t* , double*, dim_t, double*, double*, double*, index_t*);
104    void Assemble_jacobeans_2D_M1D_E1D_C(double*, dim_t,double*, dim_t, dim_t, dim_t, index_t* , double*, dim_t, double*, double*, double*, index_t*);
105    void Assemble_jacobeans_3D(double*, dim_t,double*, dim_t, dim_t, dim_t, index_t* , double*, dim_t, double*, double*, double*, index_t*);
106    void Assemble_jacobeans_3D_M2D_E3D(double*, dim_t,double*, dim_t, dim_t, dim_t, index_t* , double*, dim_t, double*, double*, double*, index_t*);
107    void Assemble_jacobeans_3D_M2D_E3D_C(double*, dim_t,double*, dim_t, dim_t, dim_t, index_t* , double*, dim_t, double*, double*, double*, index_t*);
108    void Assemble_jacobeans_3D_M2D_E2D(double*, dim_t,double*, dim_t, dim_t, dim_t, index_t* , double*, dim_t, double*, double*, double*, index_t*);
109    void Assemble_jacobeans_3D_M2D_E2D_C(double*, dim_t,double*, dim_t, dim_t, dim_t, index_t* , double*, dim_t, double*, double*, double*, index_t*);
110    
111  #endif /* #ifndef INC_FINLEY_ASSEMBLE */  #endif /* #ifndef INC_FINLEY_ASSEMBLE */
112    
113  /*  /*
114   * $Log$   * $Log$
115     * Revision 1.4  2005/09/15 03:44:21  jgs
116     * Merge of development branch dev-02 back to main trunk on 2005-09-15
117     *
118     * Revision 1.3  2005/08/12 01:45:42  jgs
119     * erge of development branch dev-02 back to main trunk on 2005-08-12
120     *
121     * Revision 1.2.2.2  2005/09/07 06:26:17  gross
122     * the solver from finley are put into the standalone package paso now
123     *
124     * Revision 1.2.2.1  2005/08/04 22:41:11  gross
125     * some extra routines for finley that might speed-up RHS assembling in some cases (not actived right now)
126     *
127   * Revision 1.2  2005/07/08 04:07:45  jgs   * Revision 1.2  2005/07/08 04:07:45  jgs
128   * Merge of development branch back to main trunk on 2005-07-08   * Merge of development branch back to main trunk on 2005-07-08
129   *   *

Legend:
Removed from v.123  
changed lines
  Added in v.781

  ViewVC Help
Powered by ViewVC 1.1.26