27 using namespace common;
28 using namespace math::Consts;
42 void BoundingBox::build(
const Region& region)
61 const Uint nb_elem = entities.
size();
109 void BoundingBox::update_properties()
111 std::vector<Real> min_vec(
dim());
112 std::vector<Real> max_vec(
dim());
const RealVector & min() const
minimum coordinates, defining one corner of the bounding box
std::string name(ComponentWrapper &self)
Helper class to create the Builder and place it in the factory.
Space & geometry_space() const
void copy(const std::vector< Real > &vector, RealMatrix &realmatrix)
Copy std::vector to dynamic RealMatrix types.
const RealVector & max() const
maximum coordinates, defining one corner of the bounding box
cf3::common::ComponentBuilder< BoundingBox, Component, LibMesh > BoundingBox_Builder
ElementType & element_type() const
return the elementType
#define boost_foreach
lowercase version of BOOST_FOREACH
const Field & coordinates() const
Real max(const Real a, const Real b)
Maximum between two scalars.
Real e()
Definition of the Unit charge [C].
Dictionary & geometry_fields() const
Const access to the coordinates.
Uint size() const
return the number of elements
Real min(const Real a, const Real b)
Minimum between two scalars.
properties()["description"]
TableConstRow< Real >::type ConstRow
the const type of a row in the internal structure of the table
Top-level namespace for coolfluid.
Real real_max()
Returns the maximum number representable with the chosen precision.
Uint row_size(Uint i=0) const
boost::proto::terminal< SFOp< CoordinatesOp > >::type const coordinates
Real real_min()
Definition of the minimum number representable with the chosen precision.
unsigned int Uint
typedef for unsigned int
Bounding box defined by minimum and maximum coordinates.
Dictionary & geometry_fields() const
Base class for defining CF components.
Connectivity & connectivity()
connectivity table to dictionary entries
Uint dim() const
dimension of the bounding box