/[escript]/branches/domexper/dudley/src/CPPAdapter/MeshAdapter.cpp
ViewVC logotype

Diff of /branches/domexper/dudley/src/CPPAdapter/MeshAdapter.cpp

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

revision 3115 by jfenwick, Sun Aug 29 23:14:35 2010 UTC revision 3152 by jfenwick, Fri Sep 3 05:48:31 2010 UTC
# Line 630  pair<int,int> MeshAdapter::getDataShape( Line 630  pair<int,int> MeshAdapter::getDataShape(
630     case(Elements):     case(Elements):
631     if (mesh->Elements!=NULL) {     if (mesh->Elements!=NULL) {
632        numSamples=mesh->Elements->numElements;        numSamples=mesh->Elements->numElements;
633        numDataPointsPerSample=mesh->Elements->referenceElementSet->referenceElement->Parametrization->numQuadNodes;        numDataPointsPerSample=mesh->Elements->referenceElementSet->referenceElement->BasisFunctions->numQuadNodes;
634     }     }
635     break;     break;
636     case(ReducedElements):     case(ReducedElements):
637     if (mesh->Elements!=NULL) {     if (mesh->Elements!=NULL) {
638        numSamples=mesh->Elements->numElements;        numSamples=mesh->Elements->numElements;
639        numDataPointsPerSample=mesh->Elements->referenceElementSet->referenceElementReducedQuadrature->Parametrization->numQuadNodes;        numDataPointsPerSample=mesh->Elements->referenceElementSet->referenceElementReducedQuadrature->BasisFunctions->numQuadNodes;
640     }     }
641     break;     break;
642     case(FaceElements):     case(FaceElements):
643     if (mesh->FaceElements!=NULL) {     if (mesh->FaceElements!=NULL) {
644        numDataPointsPerSample=mesh->FaceElements->referenceElementSet->referenceElement->Parametrization->numQuadNodes;        numDataPointsPerSample=mesh->FaceElements->referenceElementSet->referenceElement->BasisFunctions->numQuadNodes;
645        numSamples=mesh->FaceElements->numElements;        numSamples=mesh->FaceElements->numElements;
646     }     }
647     break;     break;
648     case(ReducedFaceElements):     case(ReducedFaceElements):
649     if (mesh->FaceElements!=NULL) {     if (mesh->FaceElements!=NULL) {
650        numDataPointsPerSample=mesh->FaceElements->referenceElementSet->referenceElementReducedQuadrature->Parametrization->numQuadNodes;        numDataPointsPerSample=mesh->FaceElements->referenceElementSet->referenceElementReducedQuadrature->BasisFunctions->numQuadNodes;
651        numSamples=mesh->FaceElements->numElements;        numSamples=mesh->FaceElements->numElements;
652     }     }
653     break;     break;

Legend:
Removed from v.3115  
changed lines
  Added in v.3152

  ViewVC Help
Powered by ViewVC 1.1.26