Go to the documentation of this file.
19 #include "libmesh/libmesh_config.h"
21 #ifdef LIBMESH_ENABLE_PERIODIC
23 #include "libmesh/libmesh.h"
24 #include "libmesh/periodic_boundary.h"
25 #include "libmesh/auto_ptr.h"
40 translation_vector(o.translation_vector)
53 translation_vector(vector)
68 return libmesh_make_unique<PeriodicBoundary>(*
this, t);
75 #endif // LIBMESH_ENABLE_PERIODIC
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.
The libMesh namespace provides an interface to certain functionality in the library.
PeriodicBoundary()
Constructor.
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 ...
A Point defines a location in LIBMESH_DIM dimensional Real space.
boundary_id_type myboundary
The boundary ID of this boundary and its counterpart.
The definition of a periodic boundary.
void swap(Iterator &lhs, Iterator &rhs)
swap, used to implement op=
RealVectorValue translation_vector
boundary_id_type pairedboundary