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

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

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

revision 2748 by gross, Tue Nov 17 07:32:59 2009 UTC revision 2856 by gross, Mon Jan 18 04:14:37 2010 UTC
# Line 64  Finley_Mesh* Finley_RectangularMesh_Hex8 Line 64  Finley_Mesh* Finley_RectangularMesh_Hex8
64    
65    /*  allocate mesh: */      /*  allocate mesh: */  
66    sprintf(name,"Rectangular %d x %d x %d mesh",N0,N1,N2);    sprintf(name,"Rectangular %d x %d x %d mesh",N0,N1,N2);
67    out=Finley_Mesh_alloc(name,DIM,order, reduced_order, mpi_info);    out=Finley_Mesh_alloc(name,DIM, mpi_info);
68    if (! Finley_noError()) {    if (! Finley_noError()) {
69        Paso_MPIInfo_free( mpi_info );        Paso_MPIInfo_free( mpi_info );
70        return NULL;        return NULL;
71    }    }
72    refElements= Finley_ReferenceElementSet_alloc(Hex8,out->order,out->reduced_order);    refElements= Finley_ReferenceElementSet_alloc(Hex8,order,reduced_order);
73    if (useElementsOnFace) {    if (useElementsOnFace) {
74          refFaceElements=Finley_ReferenceElementSet_alloc(Hex8Face, out->order, out->reduced_order);          refFaceElements=Finley_ReferenceElementSet_alloc(Hex8Face, order, reduced_order);
75          refContactElements=Finley_ReferenceElementSet_alloc(Hex8Face_Contact, out->order, out->reduced_order);          refContactElements=Finley_ReferenceElementSet_alloc(Hex8Face_Contact, order, reduced_order);
76    } else {    } else {
77          refFaceElements=Finley_ReferenceElementSet_alloc(Rec4, out->order, out->reduced_order);          refFaceElements=Finley_ReferenceElementSet_alloc(Rec4, order, reduced_order);
78          refContactElements=Finley_ReferenceElementSet_alloc(Rec4_Contact, out->order, out->reduced_order);          refContactElements=Finley_ReferenceElementSet_alloc(Rec4_Contact, order, reduced_order);
79    }    }
80    refPoints=Finley_ReferenceElementSet_alloc(Point1, out->order, out->reduced_order);    refPoints=Finley_ReferenceElementSet_alloc(Point1, order, reduced_order);
81        
82    
83    if ( Finley_noError()) {    if ( Finley_noError()) {

Legend:
Removed from v.2748  
changed lines
  Added in v.2856

  ViewVC Help
Powered by ViewVC 1.1.26