Flow123d  JS_before_hm-1003-g4e68d2c
Classes | Public Member Functions | Static Public Attributes | Private Attributes | Friends | List of all members
EvalPoints Class Reference

Class holds local coordinations of evaluating points (bulk and sides) specified by element dimension. More...

#include <eval_points.hh>

Inheritance diagram for EvalPoints:
Inheritance graph
[legend]
Collaboration diagram for EvalPoints:
Collaboration graph
[legend]

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< BulkIntegraladd_bulk (const Quadrature &)
 
template<unsigned int dim>
std::shared_ptr< EdgeIntegraladd_edge (const Quadrature &)
 The same as add_bulk but for edge points on sides. More...
 
template<unsigned int dim>
std::shared_ptr< CouplingIntegraladd_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< BoundaryIntegraladd_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
 

Detailed Description

Class holds local coordinations of evaluating points (bulk and sides) specified by element dimension.

Definition at line 43 of file eval_points.hh.

Constructor & Destructor Documentation

EvalPoints::EvalPoints ( )

Constructor.

Definition at line 28 of file eval_points.cc.

Member Function Documentation

template<unsigned int dim>
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.

Here is the caller graph for this function:

template<unsigned int dim>
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.

Here is the caller graph for this function:

template<unsigned int dim>
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.

Here is the caller graph for this function:

template<unsigned int dim>
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.

Here is the caller graph for this function:

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

Return local coordinates of given local point and appropriate dim.

Definition at line 64 of file eval_points.hh.

unsigned int EvalPoints::max_size ( ) const
inline

Return maximal size of evaluation points objects .

Definition at line 108 of file eval_points.hh.

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

Return number of subsets.

Definition at line 84 of file eval_points.hh.

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

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

Definition at line 58 of file eval_points.hh.

Here is the caller graph for this function:

int EvalPoints::subset_begin ( unsigned int  dim,
unsigned int  idx 
) const
inline

Return begin index of appropriate subset data.

Definition at line 69 of file eval_points.hh.

int EvalPoints::subset_end ( unsigned int  dim,
unsigned int  idx 
) const
inline

Return end index of appropriate subset data.

Definition at line 74 of file eval_points.hh.

int EvalPoints::subset_size ( unsigned int  dim,
unsigned int  idx 
) const
inline

Return number of local points corresponding to subset.

Definition at line 79 of file eval_points.hh.

Friends And Related Function Documentation

friend class EvalSubSet
friend

Definition at line 173 of file eval_points.hh.

Member Data Documentation

std::array<DimEvalPoints, 3> EvalPoints::dim_eval_points_
private

Sub objects of dimensions 1,2,3.

Definition at line 171 of file eval_points.hh.

const unsigned int EvalPoints::max_subset_points = 30
static

Maximal average number of points hold in subset.

Definition at line 52 of file eval_points.hh.

constexpr unsigned int EvalPoints::max_subsets = 10
static

Maximal number of hold subsets.

Definition at line 49 of file eval_points.hh.

const unsigned int EvalPoints::undefined_dim = 10
static

Undefined dimension of new (empty) object.

Definition at line 46 of file eval_points.hh.


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