/[escript]/trunk/esys2/finley/src/finleyC/Mesh.c
ViewVC logotype

Diff of /trunk/esys2/finley/src/finleyC/Mesh.c

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

revision 102 by jgs, Wed Dec 15 07:08:39 2004 UTC revision 123 by jgs, Fri Jul 8 04:08:13 2005 UTC
# Line 20  Line 20 
20    
21  extern Finley_RefElementInfo Finley_RefElement_InfoList[];  extern Finley_RefElementInfo Finley_RefElement_InfoList[];
22    
23  Finley_Mesh* Finley_Mesh_alloc(char* name,int numDim, int order) {  Finley_Mesh* Finley_Mesh_alloc(char* name,dim_t numDim, index_t order) {
24    Finley_Mesh *out;    Finley_Mesh *out;
25        
26    /*  allocate the return value */    /*  allocate the return value */
# Line 104  void Finley_Mesh_dealloc(Finley_Mesh* in Line 104  void Finley_Mesh_dealloc(Finley_Mesh* in
104    
105  /*  returns the spatial dimension of the mesh: */  /*  returns the spatial dimension of the mesh: */
106    
107  int Finley_Mesh_getDim(Finley_Mesh *in) {  dim_t Finley_Mesh_getDim(Finley_Mesh *in) {
108    return in->Nodes->numDim;    return in->Nodes->numDim;
109  }  }
110    
# Line 112  int Finley_Mesh_getDim(Finley_Mesh *in) Line 112  int Finley_Mesh_getDim(Finley_Mesh *in)
112    
113  /*  returns the number of nodes in the mesh: */  /*  returns the number of nodes in the mesh: */
114    
115  int Finley_Mesh_getNumNodes(Finley_Mesh *in) {  dim_t Finley_Mesh_getNumNodes(Finley_Mesh *in) {
116    return in->Nodes->numNodes;    return in->Nodes->numNodes;
117  }  }
118  /**************************************************************/  /**************************************************************/
119    
120  /*  returns the number of degrees of freedom in the mesh: */  /*  returns the number of degrees of freedom in the mesh: */
121    
122  int Finley_Mesh_getNumDegreesOfFreedom(Finley_Mesh *in) {  dim_t Finley_Mesh_getNumDegreesOfFreedom(Finley_Mesh *in) {
123    return in->Nodes->numDegreesOfFreedom;    return in->Nodes->numDegreesOfFreedom;
124  }  }
125  /**************************************************************/  /**************************************************************/
126    
127  /*  returns the number of degrees of freedom in the mesh: */  /*  returns the number of degrees of freedom in the mesh: */
128    
129  int Finley_Mesh_getReducedNumDegreesOfFreedom(Finley_Mesh *in) {  dim_t Finley_Mesh_getReducedNumDegreesOfFreedom(Finley_Mesh *in) {
130    return in->Nodes->reducedNumDegreesOfFreedom;    return in->Nodes->reducedNumDegreesOfFreedom;
131  }  }
132  /*  /*
133  * $Log$  * $Log$
134    * Revision 1.5  2005/07/08 04:07:51  jgs
135    * Merge of development branch back to main trunk on 2005-07-08
136    *
137  * Revision 1.4  2004/12/15 07:08:32  jgs  * Revision 1.4  2004/12/15 07:08:32  jgs
138  * *** empty log message ***  * *** empty log message ***
139    * Revision 1.1.1.1.2.3  2005/06/29 02:34:51  gross
140    * some changes towards 64 integers in finley
141    *
142    * Revision 1.1.1.1.2.2  2004/11/24 01:37:13  gross
143    * some changes dealing with the integer overflow in memory allocation. Finley solves 4M unknowns now
144  *  *
145  *  *
146  *  *

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

  ViewVC Help
Powered by ViewVC 1.1.26