/[escript]/branches/domexper/finley/src/Mesh_hex20.c
ViewVC logotype

Diff of /branches/domexper/finley/src/Mesh_hex20.c

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

revision 3246 by jfenwick, Mon Oct 4 01:46:30 2010 UTC revision 3247 by caltinay, Wed Oct 6 05:53:06 2010 UTC
# Line 76  Finley_Mesh* Finley_RectangularMesh_Hex2 Line 76  Finley_Mesh* Finley_RectangularMesh_Hex2
76    if (generateAllNodes) {    if (generateAllNodes) {
77       /* Finley_setError(SYSTEM_ERROR,"full element order for Hex elements is not supported yet."); */       /* Finley_setError(SYSTEM_ERROR,"full element order for Hex elements is not supported yet."); */
78       if (useMacroElements) {       if (useMacroElements) {
79            refElements= Finley_ReferenceElementSet_alloc(Hex27Macro,order,reduced_order);            refElements= Finley_ReferenceElementSet_alloc(Finley_Hex27Macro,order,reduced_order);
80       } else {       } else {
81            refElements=Finley_ReferenceElementSet_alloc(Hex27, order,reduced_order);            refElements=Finley_ReferenceElementSet_alloc(Finley_Hex27, order,reduced_order);
82       }       }
83       if (useElementsOnFace) {       if (useElementsOnFace) {
84           Finley_setError(SYSTEM_ERROR,"rich elements for Hex27 elements is not supported yet.");           Finley_setError(SYSTEM_ERROR,"rich elements for Hex27 elements is not supported yet.");
85       } else {       } else {
86           if (useMacroElements) {           if (useMacroElements) {
87               refFaceElements=Finley_ReferenceElementSet_alloc(Rec9Macro, order, reduced_order);               refFaceElements=Finley_ReferenceElementSet_alloc(Finley_Rec9Macro, order, reduced_order);
88           } else {           } else {
89               refFaceElements=Finley_ReferenceElementSet_alloc(Rec9, order, reduced_order);               refFaceElements=Finley_ReferenceElementSet_alloc(Finley_Rec9, order, reduced_order);
90           }           }
91           refContactElements=Finley_ReferenceElementSet_alloc(Rec9_Contact, order, reduced_order);           refContactElements=Finley_ReferenceElementSet_alloc(Finley_Rec9_Contact, order, reduced_order);
92       }       }
93    
94    } else  {    } else  {
95       refElements= Finley_ReferenceElementSet_alloc(Hex20,order,reduced_order);       refElements= Finley_ReferenceElementSet_alloc(Finley_Hex20,order, reduced_order);
96       if (useElementsOnFace) {       if (useElementsOnFace) {
97           refFaceElements = Finley_ReferenceElementSet_alloc(Hex20Face ,order,reduced_order);           refFaceElements = Finley_ReferenceElementSet_alloc(Finley_Hex20Face, order, reduced_order);
98           refContactElements=Finley_ReferenceElementSet_alloc(Hex20Face_Contact, order, reduced_order);           refContactElements=Finley_ReferenceElementSet_alloc(Finley_Hex20Face_Contact, order, reduced_order);
99    
100       } else {       } else {
101           refFaceElements = Finley_ReferenceElementSet_alloc(Rec8 ,order,reduced_order);           refFaceElements = Finley_ReferenceElementSet_alloc(Finley_Rec8, order, reduced_order);
102           refContactElements=Finley_ReferenceElementSet_alloc(Rec8_Contact, order, reduced_order);           refContactElements=Finley_ReferenceElementSet_alloc(Finley_Rec8_Contact, order, reduced_order);
103    
104       }       }
105    }    }
106    refPoints=Finley_ReferenceElementSet_alloc(Point1, order, reduced_order);    refPoints=Finley_ReferenceElementSet_alloc(Finley_Point1, order, reduced_order);
107    
108    if ( Finley_noError()) {    if ( Finley_noError()) {
109        

Legend:
Removed from v.3246  
changed lines
  Added in v.3247

  ViewVC Help
Powered by ViewVC 1.1.26