21 #ifndef __PERIODIC_BOUNDARY_COMPUTATION_H 22 #define __PERIODIC_BOUNDARY_COMPUTATION_H 27 #include <dolfin/common/constants.h> 28 #include <dolfin/mesh/MeshFunction.h> 46 static std::map<unsigned int, std::pair<unsigned int, unsigned int> >
48 const std::size_t dim);
61 const SubDomain& sub_domain,
const std::size_t dim);
66 static bool in_bounding_box(
const std::vector<double>& point,
67 const std::vector<double>& bounding_box,
Definition: SubDomain.h:42
static std::map< unsigned int, std::pair< unsigned int, unsigned int > > compute_periodic_pairs(const Mesh &mesh, const SubDomain &sub_domain, const std::size_t dim)
Definition: PeriodicBoundaryComputation.cpp:76
static MeshFunction< std::size_t > masters_slaves(std::shared_ptr< const Mesh > mesh, const SubDomain &sub_domain, const std::size_t dim)
Definition: PeriodicBoundaryComputation.cpp:281
This class computes map from slave entity to master entity.
Definition: PeriodicBoundaryComputation.h:38