Flow123d
master-9c1c1b8e5
|
Subobject holds evaluation points data of one dimension (0,1,2,3) More...
Public Member Functions | |
DimEvalPoints (unsigned int dim) | |
Constructor. More... | |
unsigned int | size () 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. More... | |
int | subset_begin (unsigned int idx) const |
Return begin index of appropriate subset data. More... | |
int | subset_end (unsigned int idx) const |
Return end index of appropriate subset data. More... | |
int | subset_size (unsigned int idx) const |
Return number of local points corresponding to subset. More... | |
unsigned int | n_subsets () const |
Return number of subsets. More... | |
template<unsigned int dim> | |
void | add_local_points (const Armor::Array< double > &quad_points) |
Adds set of local point to local_points_ (bulk or side). More... | |
uint | add_subset () |
Adds new subset and its end size to subset_starts_ array. More... | |
void | clear () |
Private Attributes | |
Armor::Array< double > | local_points_ |
Local coords of points vector. More... | |
std::array< int, EvalPoints::max_subsets+1 > | subset_starts_ |
Indices of subsets data in local_points_ vector, used size is n_subsets_ + 1. More... | |
unsigned int | n_subsets_ |
Number of subset. More... | |
unsigned int | dim_ |
Dimension of local points. More... | |
Subobject holds evaluation points data of one dimension (0,1,2,3)
Definition at line 120 of file eval_points.hh.
EvalPoints::DimEvalPoints::DimEvalPoints | ( | unsigned int | dim | ) |
Constructor.
Definition at line 93 of file eval_points.cc.
template void EvalPoints::DimEvalPoints::add_local_points< 3 > | ( | const Armor::Array< double > & | quad_points | ) |
Adds set of local point to local_points_ (bulk or side).
Definition at line 101 of file eval_points.cc.
uint EvalPoints::DimEvalPoints::add_subset | ( | ) |
Adds new subset and its end size to subset_starts_ array.
Definition at line 113 of file eval_points.cc.
|
inline |
Definition at line 168 of file eval_points.hh.
|
inline |
Return local coordinates of given local point.
Definition at line 133 of file eval_points.hh.
|
inline |
Return number of subsets.
Definition at line 157 of file eval_points.hh.
|
inline |
Return size of evaluation points object (number of points).
Definition at line 126 of file eval_points.hh.
|
inline |
Return begin index of appropriate subset data.
Definition at line 139 of file eval_points.hh.
|
inline |
Return end index of appropriate subset data.
Definition at line 145 of file eval_points.hh.
|
inline |
Return number of local points corresponding to subset.
Definition at line 151 of file eval_points.hh.
|
private |
Dimension of local points.
Definition at line 176 of file eval_points.hh.
|
private |
Local coords of points vector.
Definition at line 173 of file eval_points.hh.
|
private |
Number of subset.
Definition at line 175 of file eval_points.hh.
|
private |
Indices of subsets data in local_points_ vector, used size is n_subsets_ + 1.
Definition at line 174 of file eval_points.hh.