/[escript]/branches/diaplayground/finley/src/CPPAdapter/MeshAdapter.cpp
ViewVC logotype

Diff of /branches/diaplayground/finley/src/CPPAdapter/MeshAdapter.cpp

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

revision 1347 by ksteube, Fri Nov 16 05:37:07 2007 UTC revision 1361 by gross, Fri Dec 14 09:26:51 2007 UTC
# Line 917  void MeshAdapter::interpolateOnDomain(es Line 917  void MeshAdapter::interpolateOnDomain(es
917             Finley_Assemble_AverageElementData(mesh->FaceElements,&_target,&_in);             Finley_Assemble_AverageElementData(mesh->FaceElements,&_target,&_in);
918          } else {          } else {
919             throw FinleyAdapterException("Error - No interpolation with data on face elements possible.");             throw FinleyAdapterException("Error - No interpolation with data on face elements possible.");
920         }          }
921         break;          break;
922       case(ReducedFaceElements):       case(ReducedFaceElements):
923    cout << "A\n";
924          if (target.getFunctionSpace().getTypeCode()==FaceElements) {          if (target.getFunctionSpace().getTypeCode()==FaceElements) {
925    cout << "B\n";
926             Finley_Assemble_CopyElementData(mesh->FaceElements,&_target,&_in);             Finley_Assemble_CopyElementData(mesh->FaceElements,&_target,&_in);
927    cout << "C\n";
928            throw FinleyAdapterException("A");
929          } else {          } else {
930             throw FinleyAdapterException("Error - No interpolation with data on face elements with reduced integration order possible.");             throw FinleyAdapterException("Error - No interpolation with data on face elements with reduced integration order possible.");
931         }         }
932    cout << "A\n";
933         break;         break;
934       case(Points):       case(Points):
935          if (target.getFunctionSpace().getTypeCode()==Points) {          if (target.getFunctionSpace().getTypeCode()==Points) {
# Line 941  void MeshAdapter::interpolateOnDomain(es Line 946  void MeshAdapter::interpolateOnDomain(es
946             Finley_Assemble_AverageElementData(mesh->ContactElements,&_target,&_in);             Finley_Assemble_AverageElementData(mesh->ContactElements,&_target,&_in);
947          } else {          } else {
948             throw FinleyAdapterException("Error - No interpolation with data on contact elements possible.");             throw FinleyAdapterException("Error - No interpolation with data on contact elements possible.");
            break;  
949          }          }
950          break;          break;
951       case(ReducedContactElementsZero):       case(ReducedContactElementsZero):
# Line 950  void MeshAdapter::interpolateOnDomain(es Line 954  void MeshAdapter::interpolateOnDomain(es
954             Finley_Assemble_CopyElementData(mesh->ContactElements,&_target,&_in);             Finley_Assemble_CopyElementData(mesh->ContactElements,&_target,&_in);
955          } else {          } else {
956             throw FinleyAdapterException("Error - No interpolation with data on contact elements with reduced integration order possible.");             throw FinleyAdapterException("Error - No interpolation with data on contact elements with reduced integration order possible.");
            break;  
957          }          }
958          break;          break;
959       case(DegreesOfFreedom):             case(DegreesOfFreedom):      

Legend:
Removed from v.1347  
changed lines
  Added in v.1361

  ViewVC Help
Powered by ViewVC 1.1.26