/[escript]/branches/stage3.1/finley/src/Mesh_readGmsh.c
ViewVC logotype

Diff of /branches/stage3.1/finley/src/Mesh_readGmsh.c

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

revision 2944 by jfenwick, Thu Feb 4 01:42:47 2010 UTC revision 2945 by jfenwick, Wed Feb 24 00:17:46 2010 UTC
# Line 27  Line 27 
27    
28  /*  reads a mesh from a Finley file of name fname */  /*  reads a mesh from a Finley file of name fname */
29    
30  #define MAX_numNodes_gmsh 10  #define MAX_numNodes_gmsh 20
31    
32  Finley_Mesh* Finley_Mesh_readGmsh(char* fname ,index_t numDim, index_t order, index_t reduced_order, bool_t optimize, bool_t useMacroElements) {  Finley_Mesh* Finley_Mesh_readGmsh(char* fname ,index_t numDim, index_t order, index_t reduced_order, bool_t optimize, bool_t useMacroElements) {
33    
# Line 206  Finley_Mesh* Finley_Mesh_readGmsh(char* Line 206  Finley_Mesh* Finley_Mesh_readGmsh(char*
206                        numNodesPerElement= 10;                        numNodesPerElement= 10;
207                        element_dim=3;                        element_dim=3;
208                        break;                        break;
209                      case 16:  /* rectangular order 2 */
210                          element_type[e]=Rec8;
211                          numNodesPerElement= 8;
212                          element_dim=2;
213                          break;
214                      case 17:  /* hexahedron order 2 */
215                          element_type[e]=Hex20;
216                          numNodesPerElement= 20;
217                          element_dim=3;
218                          break;
219                    case 15 :  /* point */                    case 15 :  /* point */
220                        element_type[e]=Point1;                        element_type[e]=Point1;
221                        numNodesPerElement= 1;                        numNodesPerElement= 1;

Legend:
Removed from v.2944  
changed lines
  Added in v.2945

  ViewVC Help
Powered by ViewVC 1.1.26