Closed kswartz92 closed 7 months ago
thanks for reminding me about this, I believe it is addressed by https://github.com/LLNL/serac/pull/1078
duplicating error message in text, so this issue can be searched for more easily in the future
/usr/workspace/swartz10/lLido-2.0/examples/NotShapeOpt .cpp:282:34: error: call to ‘ofBoundaryElements' is ambiguous
serac::Domain inputRegion = serac::Domain::ofBoundaryElements(smeshPtr, serac::by_attr(3));
/usr/workspace/swartz10/lido-2.0/smith/serac/src/serac/infrastructure/../../serac/numerics/functional/domain.hpp:109:17: note: candidate function
static Domain ofBoundaryElements(const mfem::Mesh& mesh, std::function<bool(std::vector<vec2>, int)> func);
/usr/workspace/swartz10/lido-2.0/smith/serac/src/serac/infrastructure/../../serac/numerics/functional/domain.hpp:112:17: note: candidate function
static Domain ofBoundaryElements(const mfem::Mesh& mesh, std::function<bool(std::vector<vec3>, int)> func);
1 error generated.
I noticed that the
by_attr
helper function provided to be used withserac::Domain
won't compile. When I try to build an executable using it I get this error