Flow123d
JS_before_hm-1001-gfa0c761
|
Class holds local coordinations of evaluating points (bulk and sides) specified by element dimension. More...
#include <eval_points.hh>
Classes | |
class | DimEvalPoints |
Public Member Functions | |
EvalPoints () | |
Constructor. More... | |
unsigned int | size (unsigned int dim) const |
Return size of evaluation points object (number of points). More... | |
template<unsigned int dim> | |
arma::vec::fixed< dim > | local_point (unsigned int local_point_idx) const |
Return local coordinates of given local point and appropriate dim. More... | |
int | subset_begin (unsigned int dim, unsigned int idx) const |
Return begin index of appropriate subset data. More... | |
int | subset_end (unsigned int dim, unsigned int idx) const |
Return end index of appropriate subset data. More... | |
int | subset_size (unsigned int dim, unsigned int idx) const |
Return number of local points corresponding to subset. More... | |
unsigned int | n_subsets (unsigned int dim) const |
Return number of subsets. More... | |
template<unsigned int dim> | |
std::shared_ptr< BulkIntegral > | add_bulk (const Quadrature &) |
template<unsigned int dim> | |
std::shared_ptr< EdgeIntegral > | add_edge (const Quadrature &) |
The same as add_bulk but for edge points on sides. More... | |
template<unsigned int dim> | |
std::shared_ptr< CouplingIntegral > | add_coupling (const Quadrature &) |
The same as add_bulk but for points between side points of element of dim and bulk points of element of dim-1. More... | |
template<unsigned int dim> | |
std::shared_ptr< BoundaryIntegral > | add_boundary (const Quadrature &) |
The same as add_bulk but for edge points on boundary sides. More... | |
unsigned int | max_size () const |
Return maximal size of evaluation points objects . More... | |
Static Public Attributes | |
static const unsigned int | undefined_dim = 10 |
Undefined dimension of new (empty) object. More... | |
static constexpr unsigned int | max_subsets = 10 |
Maximal number of hold subsets. More... | |
static const unsigned int | max_subset_points = 30 |
Maximal average number of points hold in subset. More... | |
Private Attributes | |
std::array< DimEvalPoints, 3 > | dim_eval_points_ |
Sub objects of dimensions 1,2,3. More... | |
Friends | |
class | EvalSubSet |
Class holds local coordinations of evaluating points (bulk and sides) specified by element dimension.
Definition at line 43 of file eval_points.hh.
EvalPoints::EvalPoints | ( | ) |
Constructor.
Definition at line 28 of file eval_points.cc.
template std::shared_ptr< BoundaryIntegral > EvalPoints::add_boundary< 3 > | ( | const Quadrature & | ) |
The same as add_bulk but for edge points on boundary sides.
Definition at line 92 of file eval_points.cc.
template std::shared_ptr< BulkIntegral > EvalPoints::add_bulk< 3 > | ( | const Quadrature & | ) |
Registers point set from quadrature. Returns an object referencing to the EvalPoints and list of its points.
Definition at line 33 of file eval_points.cc.
template std::shared_ptr< CouplingIntegral > EvalPoints::add_coupling< 3 > | ( | const Quadrature & | ) |
The same as add_bulk but for points between side points of element of dim and bulk points of element of dim-1.
Definition at line 83 of file eval_points.cc.
template std::shared_ptr< EdgeIntegral > EvalPoints::add_edge< 3 > | ( | const Quadrature & | ) |
The same as add_bulk but for edge points on sides.
Definition at line 43 of file eval_points.cc.
|
inline |
Return local coordinates of given local point and appropriate dim.
Definition at line 64 of file eval_points.hh.
|
inline |
Return maximal size of evaluation points objects .
Definition at line 108 of file eval_points.hh.
|
inline |
Return number of subsets.
Definition at line 84 of file eval_points.hh.
|
inline |
Return size of evaluation points object (number of points).
Definition at line 58 of file eval_points.hh.
|
inline |
Return begin index of appropriate subset data.
Definition at line 69 of file eval_points.hh.
|
inline |
Return end index of appropriate subset data.
Definition at line 74 of file eval_points.hh.
|
inline |
Return number of local points corresponding to subset.
Definition at line 79 of file eval_points.hh.
|
friend |
Definition at line 173 of file eval_points.hh.
|
private |
Sub objects of dimensions 1,2,3.
Definition at line 171 of file eval_points.hh.
|
static |
Maximal average number of points hold in subset.
Definition at line 52 of file eval_points.hh.
|
static |
Maximal number of hold subsets.
Definition at line 49 of file eval_points.hh.
|
static |
Undefined dimension of new (empty) object.
Definition at line 46 of file eval_points.hh.