/[escript]/trunk/finley/src/Assemble_getSize.c
ViewVC logotype

Diff of /trunk/finley/src/Assemble_getSize.c

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

revision 122 by jgs, Fri Mar 4 07:12:47 2005 UTC revision 123 by jgs, Fri Jul 8 04:08:13 2005 UTC
# Line 30  Line 30 
30  void Finley_Assemble_getSize(Finley_NodeFile* nodes, Finley_ElementFile* elements, escriptDataC* element_size) {  void Finley_Assemble_getSize(Finley_NodeFile* nodes, Finley_ElementFile* elements, escriptDataC* element_size) {
31    
32    double *local_X=NULL,*element_size_array;    double *local_X=NULL,*element_size_array;
33    int e,n0,n1,q,i,node_offset;    dim_t e,n0,n1,q,i;
34      index_t node_offset;
35    double d,diff,min_diff;    double d,diff,min_diff;
36    
37    if (nodes==NULL || elements==NULL) return;    if (nodes==NULL || elements==NULL) return;
38    int NVertices=elements->ReferenceElement->Type->numVertices;    dim_t NVertices=elements->ReferenceElement->Type->numVertices;
39    int NN=elements->ReferenceElement->Type->numNodes;    dim_t NN=elements->ReferenceElement->Type->numNodes;
40    int NS=elements->ReferenceElement->Type->numShapes;    dim_t NS=elements->ReferenceElement->Type->numShapes;
41    int numQuad=elements->ReferenceElement->numQuadNodes;    dim_t numQuad=elements->ReferenceElement->numQuadNodes;
42    int numDim=nodes->numDim;    dim_t numDim=nodes->numDim;
43    
44    /* set a few more parameters */    /* set a few more parameters */
45    
# Line 103  void Finley_Assemble_getSize(Finley_Node Line 104  void Finley_Assemble_getSize(Finley_Node
104    }    }
105    return;    return;
106  }  }
107    /*
108     * $Log$
109     * Revision 1.6  2005/07/08 04:07:47  jgs
110     * Merge of development branch back to main trunk on 2005-07-08
111     *
112     * Revision 1.1.1.1.2.3  2005/06/29 02:34:48  gross
113     * some changes towards 64 integers in finley
114     *
115     * Revision 1.1.1.1.2.2  2005/03/02 23:35:05  gross
116     * reimplementation of the ILU in Finley. block size>1 still needs some testing
117     *
118     * Revision 1.1.1.1.2.1  2004/11/24 01:37:12  gross
119     * some changes dealing with the integer overflow in memory allocation. Finley solves 4M unknowns now
120     *
121     * Revision 1.1.1.1  2004/10/26 06:53:57  jgs
122     * initial import of project esys2
123     *
124     * Revision 1.3  2004/07/30 04:37:06  gross
125     * escript and finley are linking now and RecMeshTest.py has been passed
126     *
127     * Revision 1.2  2004/07/21 05:00:54  gross
128     * name changes in DataC
129     *
130     * Revision 1.1  2004/07/02 04:21:13  gross
131     * Finley C code has been included
132     *
133     *
134     */

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

  ViewVC Help
Powered by ViewVC 1.1.26