15#include "libmesh/mesh_base.h"
48 MeshBase &
mesh()
const;
70 std::unique_ptr<MeshBase>
_mesh;
73 mutable std::unique_ptr<SurfaceElementSet>
_set;
Owns a saved boundary (surface) mesh and the SurfaceElementSet wrapping it.
static InputParameters validParams()
virtual void initialSetup() override
Gets called at the beginning of the simulation before this object is asked to do its job.
virtual void buildDefaultSet() const
Build the default (whole-mesh) SurfaceElementSet.
MeshBase & mesh() const
The owned boundary mesh.
std::unique_ptr< MeshBase > _mesh
The owned boundary mesh, kept alive so SurfaceElement pointers stay valid.
const unsigned int _dim_embedding_mesh
The dimension of the embedding (background) mesh.
const bool _check_watertightness
Whether to check watertightness of the mesh (informational only).
virtual void execute() override
Execute method.
const SurfaceElementSet & surfaceElementSet() const
The whole-mesh SurfaceElementSet, built lazily on first call.
const std::string _bnd_mesh_name
The name of a mesh saved via a MeshGenerator's save_mesh_as parameter.
virtual void initialize() override
Called before execute() is ever called so that data can be cleared.
std::unique_ptr< SurfaceElementSet > _set
The whole-mesh SurfaceElementSet, lazily cached on first use.
virtual void finalize() override
Finalize.
bool checkWatertightness() const
Whether the boundary mesh is "closed" – i.e.
const InputParameters & parameters() const
Get the parameters of the object.
A group of surface elements wrapped for point-containment / distance queries.