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);
The base class for defining periodic boundaries.
boundary_id_type myboundary
The boundary ID of this boundary and its counterpart.
boundary_id_type pairedboundary
The definition of a periodic boundary.
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,...
RealVectorValue translation_vector
PeriodicBoundary()
Constructor.
A Point defines a location in LIBMESH_DIM dimensional Real space.
The libMesh namespace provides an interface to certain functionality in the library.