19 #include "libmesh/libmesh_config.h" 21 #ifdef LIBMESH_ENABLE_PERIODIC 23 #include "libmesh/libmesh.h" 24 #include "libmesh/periodic_boundary.h" 43 translation_vector(o.translation_vector)
56 translation_vector(vector)
71 return std::make_unique<PeriodicBoundary>(*
this, t);
78 #endif // LIBMESH_ENABLE_PERIODIC boundary_id_type pairedboundary
PeriodicBoundary()
Constructor.
The libMesh namespace provides an interface to certain functionality in the library.
The definition of a periodic boundary.
boundary_id_type myboundary
The boundary ID of this boundary and its counterpart.
RealVectorValue translation_vector
virtual Point get_corresponding_pos(const Point &pt) const override
This function should be overridden by derived classes to define how one finds corresponding nodes on ...
virtual std::unique_ptr< PeriodicBoundaryBase > clone(TransformationType t=FORWARD) const override
If we want the DofMap to be able to make copies of references and store them in the underlying map...
The base class for defining periodic boundaries.
A Point defines a location in LIBMESH_DIM dimensional Real space.