7 o <<
"Reference element type for geometry: " << geom_refel <<
'\n';
9 if (output_ctrl > 10) {
13 o <<
"world dim. = " << dim_glob << std::flush;
14 o <<
", loc dim = " << dim_local << std::flush;
15 o <<
"type: " <<
typeid(geom).name() <<
'\n';
17 if (output_ctrl > 90) {
19 const Eigen::MatrixXd& ref_el_corners(geom_refel.
NodeCoords());
20 o << geom.
Global(ref_el_corners) <<
'\n';
27 return stream << geom.
RefEl();
Represents a reference element with all its properties.
const Eigen::MatrixXd & NodeCoords() const
Get the coordinates of the nodes of this reference element.
Interface class for shape information on a mesh cell in the spirit of parametric finite element metho...
virtual base::RefEl RefEl() const =0
The Reference element that defines the domain of this mapping.
virtual Eigen::MatrixXd Global(const Eigen::MatrixXd &local) const =0
Map a number of points in local coordinates into the global coordinate system.
virtual dim_t DimLocal() const =0
Dimension of the domain of this mapping.
virtual dim_t DimGlobal() const =0
Dimension of the image of this mapping.
unsigned int dim_t
type for dimensions and co-dimensions and numbers derived from them
Defines the Geometry interface and provides a number of classes that implement this interface + addit...
std::ostream & operator<<(std::ostream &stream, const Geometry &geom)
void PrintInfo(std::ostream &o, const Geometry &geom, int output_ctrl)