Flow123d
JS_before_hm-1881-gd692239a6
|
Class holds local coordinations of evaluating points (bulk and sides) specified by element dimension. More...
#include <eval_points.hh>
Classes | |
class | DimEvalPoints |
Subobject holds evaluation points data of one dimension (0,1,2,3) More... | |
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... | |
template<> | |
std::shared_ptr< BulkIntegral > | add_bulk (const Quadrature &quad) |
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 Member Functions | |
void | set_max_size () |
Private Attributes | |
std::array< DimEvalPoints, 4 > | dim_eval_points_ |
Sub objects of dimensions 0,1,2,3. More... | |
unsigned int | max_size_ |
Maximal number of used EvalPoints. More... | |
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 82 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.
std::shared_ptr<BulkIntegral> EvalPoints::add_bulk | ( | const Quadrature & | quad | ) |
Definition at line 45 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 71 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 55 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 109 of file eval_points.hh.
|
inline |
Return number of subsets.
Definition at line 85 of file eval_points.hh.
|
inlineprivate |
|
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 70 of file eval_points.hh.
|
inline |
Return end index of appropriate subset data.
Definition at line 75 of file eval_points.hh.
|
inline |
Return number of local points corresponding to subset.
Definition at line 80 of file eval_points.hh.
|
private |
Sub objects of dimensions 0,1,2,3.
Definition at line 174 of file eval_points.hh.
|
private |
Maximal number of used EvalPoints.
Definition at line 177 of file eval_points.hh.
|
static |
Maximal average number of points hold in subset.
Definition at line 52 of file eval_points.hh.
|
staticconstexpr |
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.