/[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 4940 by caltinay, Thu May 15 01:40:06 2014 UTC revision 4949 by caltinay, Mon May 19 05:54:58 2014 UTC
# Line 2188  void MeshAdapter::addDiracPoints(const v Line 2188  void MeshAdapter::addDiracPoints(const v
2188          throw FinleyAdapterException("Error - number of coords does not appear to be a multiple of dimension.");          throw FinleyAdapterException("Error - number of coords does not appear to be a multiple of dimension.");
2189      }      }
2190    
2191      if ((numTags > 0) && (numPoints != numTags))      if (numPoints != numTags)
2192          throw FinleyAdapterException("Error - if tags are given number of tags and points must match.");      {
2193        throw FinleyAdapterException("Error - number of diractags must match number of diracpoints.");
2194        }
2195    
2196      mesh->addPoints(numPoints, &points[0], &tags[0]);      mesh->addPoints(numPoints, &points[0], &tags[0]);
2197      checkFinleyError();      checkFinleyError();

Legend:
Removed from v.4940  
changed lines
  Added in v.4949

  ViewVC Help
Powered by ViewVC 1.1.26