27 #include "libmesh/libmesh_common.h" 28 #include "libmesh/reference_counted_object.h" 29 #include "libmesh/mesh_tools.h" 30 #include "libmesh/elem.h" 33 using libMesh::MeshTools::BoundingBox;
57 const std::vector<bool>& periodic_directions);
61 const Point &bbox_pmax,
62 const std::vector<bool>& periodic_directions);
66 const Point &bbox_pmax,
67 const std::vector<bool>& periodic_directions,
68 const std::vector<bool>& inlet_directions,
73 const std::vector<bool>& periodic_directions);
95 Point
box_min()
const {
return _bbox.min(); };
96 Point
box_max()
const {
return _bbox.max(); };
97 Point
box_mid()
const {
return 0.5*( _bbox.max() + _bbox.min() ); };
129 const Real& search_radius,
148 const Point& pt1)
const;
157 const Point& pt1)
const;
163 std::size_t
dimension()
const {
return _periodic_directions.size(); }
170 std::vector<bool>
image_elem(
const Elem* elem)
const;
196 std::vector<bool> _periodic_directions;
199 std::vector<bool> _inlet_directions;
202 std::vector<Real> _inlet_pressure;
std::vector< bool > image_elem(const Elem *elem) const
Definition: pm_periodic_boundary.C:393
Point box_max() const
Definition: pm_periodic_boundary.h:96
void build_image_elem(Elem *elem) const
Definition: pm_periodic_boundary.C:420
std::size_t dimension() const
Definition: pm_periodic_boundary.h:163
void restore_image_elem(Elem *elem) const
Definition: pm_periodic_boundary.C:458
Point box_length() const
Definition: pm_periodic_boundary.C:155
const std::vector< bool > & periodic_direction() const
Definition: pm_periodic_boundary.C:116
Real point_distance(const Point &pt0, const Point &pt1) const
Definition: pm_periodic_boundary.C:344
Definition: brownian_system.h:58
const std::vector< bool > & inlet_direction() const
Definition: pm_periodic_boundary.C:128
Definition: pm_periodic_boundary.h:46
const BoundingBox & bounding_box() const
Definition: pm_periodic_boundary.h:101
bool get_image_point(const Point &pt0, const std::size_t i, Point &im_pt) const
Definition: pm_periodic_boundary.C:162
Point box_min() const
Definition: pm_periodic_boundary.h:95
const std::vector< Real > & inlet_pressure() const
Definition: pm_periodic_boundary.C:141
Point box_mid() const
Definition: pm_periodic_boundary.h:97
void correct_position(Point &pt0) const
Definition: pm_periodic_boundary.C:318
~PMPeriodicBoundary()
Definition: pm_periodic_boundary.C:101
Point point_vector(const Point &pt0, const Point &pt1) const
Definition: pm_periodic_boundary.C:364