Flow123d  JS_before_hm-915-gc632be9
Public Member Functions | Private Attributes | List of all members
EvalPoints::DimEvalPoints Class Reference
Collaboration diagram for EvalPoints::DimEvalPoints:
Collaboration graph
[legend]

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 of given permutation). More...
 
template<unsigned int dim>
unsigned int find_permute_point (arma::vec coords, unsigned int data_begin, unsigned int data_end)
 Find position of local point (coords) in subvector of local points given by limits <data_begin, ... data_end) More...
 
void add_subset ()
 Adds new subset and its end size to subset_starts_ array. More...
 

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...
 

Detailed Description

Definition at line 113 of file eval_points.hh.

Constructor & Destructor Documentation

EvalPoints::DimEvalPoints::DimEvalPoints ( unsigned int  dim)

Constructor.

Definition at line 97 of file eval_points.cc.

Member Function Documentation

template<unsigned int dim>
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 of given permutation).

Definition at line 105 of file eval_points.cc.

Here is the caller graph for this function:

void EvalPoints::DimEvalPoints::add_subset ( )

Adds new subset and its end size to subset_starts_ array.

Definition at line 124 of file eval_points.cc.

Here is the caller graph for this function:

template<unsigned int dim>
template unsigned int EvalPoints::DimEvalPoints::find_permute_point< 3 > ( arma::vec  coords,
unsigned int  data_begin,
unsigned int  data_end 
)

Find position of local point (coords) in subvector of local points given by limits <data_begin, ... data_end)

Definition at line 114 of file eval_points.cc.

Here is the caller graph for this function:

template<unsigned int dim>
arma::vec::fixed<dim> EvalPoints::DimEvalPoints::local_point ( unsigned int  local_point_idx) const
inline

Return local coordinates of given local point.

Definition at line 125 of file eval_points.hh.

unsigned int EvalPoints::DimEvalPoints::n_subsets ( ) const
inline

Return number of subsets.

Definition at line 149 of file eval_points.hh.

Here is the caller graph for this function:

unsigned int EvalPoints::DimEvalPoints::size ( ) const
inline

Return size of evaluation points object (number of points).

Definition at line 119 of file eval_points.hh.

Here is the caller graph for this function:

int EvalPoints::DimEvalPoints::subset_begin ( unsigned int  idx) const
inline

Return begin index of appropriate subset data.

Definition at line 131 of file eval_points.hh.

int EvalPoints::DimEvalPoints::subset_end ( unsigned int  idx) const
inline

Return end index of appropriate subset data.

Definition at line 137 of file eval_points.hh.

int EvalPoints::DimEvalPoints::subset_size ( unsigned int  idx) const
inline

Return number of local points corresponding to subset.

Definition at line 143 of file eval_points.hh.

Member Data Documentation

unsigned int EvalPoints::DimEvalPoints::dim_
private

Dimension of local points.

Definition at line 167 of file eval_points.hh.

Armor::Array<double> EvalPoints::DimEvalPoints::local_points_
private

Local coords of points vector.

Definition at line 164 of file eval_points.hh.

unsigned int EvalPoints::DimEvalPoints::n_subsets_
private

Number of subset.

Definition at line 166 of file eval_points.hh.

std::array<int, EvalPoints::max_subsets+1> EvalPoints::DimEvalPoints::subset_starts_
private

Indices of subsets data in local_points_ vector, used size is n_subsets_ + 1.

Definition at line 165 of file eval_points.hh.


The documentation for this class was generated from the following files: