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

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

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

revision 2855 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_Rec4 Line 64  Finley_Mesh* Finley_RectangularMesh_Rec4
64    
65    /*  allocate mesh: */      /*  allocate mesh: */  
66    sprintf(name,"Rectangular %d x %d mesh",N0,N1);    sprintf(name,"Rectangular %d x %d mesh",N0,N1);
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(Rec4,out->order,out->reduced_order);    refElements= Finley_ReferenceElementSet_alloc(Rec4,order,reduced_order);
73    if (useElementsOnFace) {    if (useElementsOnFace) {
74          refFaceElements=Finley_ReferenceElementSet_alloc(Rec4Face, out->order, out->reduced_order);          refFaceElements=Finley_ReferenceElementSet_alloc(Rec4Face, order, reduced_order);
75          refContactElements=Finley_ReferenceElementSet_alloc(Rec4Face_Contact, out->order, out->reduced_order);          refContactElements=Finley_ReferenceElementSet_alloc(Rec4Face_Contact, order, reduced_order);
76    } else {    } else {
77          refFaceElements=Finley_ReferenceElementSet_alloc(Line2, out->order, out->reduced_order);          refFaceElements=Finley_ReferenceElementSet_alloc(Line2, order, reduced_order);
78          refContactElements=Finley_ReferenceElementSet_alloc(Line2_Contact, out->order, out->reduced_order);          refContactElements=Finley_ReferenceElementSet_alloc(Line2_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    if ( Finley_noError()) {    if ( Finley_noError()) {
83        

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

  ViewVC Help
Powered by ViewVC 1.1.26