786 |
const MeshAdapter& newDomain=dynamic_cast<const MeshAdapter&>(new_x.getFunctionSpace().getDomain()); |
const MeshAdapter& newDomain=dynamic_cast<const MeshAdapter&>(new_x.getFunctionSpace().getDomain()); |
787 |
if (newDomain!=*this) |
if (newDomain!=*this) |
788 |
throw FinleyAdapterException("Error - Illegal domain of new point locations"); |
throw FinleyAdapterException("Error - Illegal domain of new point locations"); |
789 |
Finley_NodeFile_setCoordinates(mesh->Nodes,&(new_x.getDataC())); |
Finley_Mesh_setCoordinates(mesh,&(new_x.getDataC())); |
790 |
checkFinleyError(); |
checkFinleyError(); |
791 |
} |
} |
792 |
|
|