/[escript]/branches/domexper/dudley/src/ElementFile_jacobeans.c
ViewVC logotype

Diff of /branches/domexper/dudley/src/ElementFile_jacobeans.c

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

revision 3172 by jfenwick, Fri Sep 10 01:38:04 2010 UTC revision 3173 by jfenwick, Fri Sep 10 03:24:38 2010 UTC
# Line 126  Dudley_ElementFile_Jacobeans* Dudley_Ele Line 126  Dudley_ElementFile_Jacobeans* Dudley_Ele
126               if (refElement->numLocalDim==0) {               if (refElement->numLocalDim==0) {
127            Dudley_setError(SYSTEM_ERROR,"Dudley_ElementFile_borrowJacobeans: 3D does not support local dimension 0.");            Dudley_setError(SYSTEM_ERROR,"Dudley_ElementFile_borrowJacobeans: 3D does not support local dimension 0.");
128               } else if (refElement->numLocalDim==2) {               } else if (refElement->numLocalDim==2) {
129                    if (out->BasisFunctions->Type->numDim==3) {            if (out->BasisFunctions->Type->numDim==2) {
130                          Assemble_jacobeans_3D_M2D_E3D(nodes->Coordinates,out->numQuadTotal,shape->QuadWeights,                          Assemble_jacobeans_3D_M2D_E2D(nodes->Coordinates,out->numQuadTotal,self->numElements,numNodes,self->Nodes,
                                                       shape->Type->numShapes,self->numElements,numNodes,self->Nodes,  
                                                       shape->dSdv,basis->Type->numShapes,dBdv,  
                                                       out->DSDX,out->volume,self->Id);  
                   }  else if (out->BasisFunctions->Type->numDim==2) {  
                         Assemble_jacobeans_3D_M2D_E2D(nodes->Coordinates,out->numQuadTotal,shape->QuadWeights,  
                                                       shape->Type->numShapes,self->numElements,numNodes,self->Nodes,  
                                                       shape->dSdv,basis->Type->numShapes,dBdv,  
131                                                        out->DSDX,out->volume,self->Id);                                                        out->DSDX,out->volume,self->Id);
132                    } else {                    } else {
133                      Dudley_setError(SYSTEM_ERROR,"Dudley_ElementFile_borrowJacobeans: element dimension for local dimenion 2 in a 3D domain has to be 3 or 2.");                      Dudley_setError(SYSTEM_ERROR,"Dudley_ElementFile_borrowJacobeans: element dimension for local dimenion 2 in a 3D domain has to be 2.");
134                    }                    }
135               } else if (refElement->numLocalDim==3) {               } else if (refElement->numLocalDim==3) {
136                       Assemble_jacobeans_3D(nodes->Coordinates,out->numQuadTotal,self->numElements,numNodes,self->Nodes,                       Assemble_jacobeans_3D(nodes->Coordinates,out->numQuadTotal,self->numElements,numNodes,self->Nodes,

Legend:
Removed from v.3172  
changed lines
  Added in v.3173

  ViewVC Help
Powered by ViewVC 1.1.26