dolfin::SubDomain::snap(...) not called

Issue #1061 resolved
Nicklas Karlsson created an issue

Then overloading the virtual snap function in a class it does not get called then calling Calling Mesh::snap_boundary(...)

Same thing happen if MeshSmoothing::snap_boundary(...) https://github.com/FEniCS/dolfin/blob/master/dolfin/mesh/MeshSmoothing.cpp#L188 interior from function is copied and used in source file. There is no error message then compiling or running. If name of snap(...) is changed in local copy of function interior function is called.

Either me are stupid which happen quite often or there are a problem with the overloading of this function.

Comments (1)

  1. Log in to comment