Flow123d  master-f44eb46
Public Member Functions | Public Attributes | List of all members
ElementData< spacedim > Class Template Reference

Class ElementData holds the arrays of data computed by Mapping. More...

#include <element_values.hh>

Collaboration diagram for ElementData< spacedim >:
Collaboration graph
[legend]

Public Member Functions

 ElementData (unsigned int size, UpdateFlags flags, unsigned int dim)
 Resize the data arrays. More...
 
void print ()
 Print calculated data. More...
 

Public Attributes

const unsigned int dim_
 Dimension of space of reference cell. More...
 
std::vector< double > JxW_values
 Transformed quadrature weights. More...
 
std::vector< double > side_JxW_values
 JxW values for sides. More...
 
Armor::array jacobians
 Jacobians (spacedim x dim) of the mapping at the quadrature points. More...
 
std::vector< double > determinants
 Determinants of Jacobians at quadrature points. More...
 
Armor::array inverse_jacobians
 Inverse Jacobians (dim x spacedim) at the quadrature points. More...
 
Armor::array points
 Coordinates (spacedim) of quadrature points in the actual cell coordinate system. More...
 
Armor::array normal_vectors
 Normal vectors (spacedim) to the element at the quadrature points lying on a side. More...
 
UpdateFlags update_flags
 Flags that indicate which finite element quantities are to be computed. More...
 
ElementAccessor< spacedim > cell
 Iterator to last updated cell. More...
 
Side side
 Iterator to last updated cell side. More...
 

Detailed Description

template<unsigned int spacedim = 3>
class ElementData< spacedim >

Class ElementData holds the arrays of data computed by Mapping.

Definition at line 67 of file element_values.hh.

Constructor & Destructor Documentation

◆ ElementData()

template<unsigned int spacedim = 3>
ElementData< spacedim >::ElementData ( unsigned int  size,
UpdateFlags  flags,
unsigned int  dim 
)

Resize the data arrays.

Parameters
sizeNumber of quadrature points.
flagsUpdate flags to be stores.

Member Function Documentation

◆ print()

template<unsigned int spacedim = 3>
void ElementData< spacedim >::print ( )

Print calculated data.

Member Data Documentation

◆ cell

template<unsigned int spacedim = 3>
ElementAccessor<spacedim> ElementData< spacedim >::cell

Iterator to last updated cell.

Definition at line 115 of file element_values.hh.

◆ determinants

template<unsigned int spacedim = 3>
std::vector<double> ElementData< spacedim >::determinants

Determinants of Jacobians at quadrature points.

Definition at line 100 of file element_values.hh.

◆ dim_

template<unsigned int spacedim = 3>
const unsigned int ElementData< spacedim >::dim_

Dimension of space of reference cell.

Definition at line 82 of file element_values.hh.

◆ inverse_jacobians

template<unsigned int spacedim = 3>
Armor::array ElementData< spacedim >::inverse_jacobians

Inverse Jacobians (dim x spacedim) at the quadrature points.

Definition at line 103 of file element_values.hh.

◆ jacobians

template<unsigned int spacedim = 3>
Armor::array ElementData< spacedim >::jacobians

Jacobians (spacedim x dim) of the mapping at the quadrature points.

Definition at line 97 of file element_values.hh.

◆ JxW_values

template<unsigned int spacedim = 3>
std::vector<double> ElementData< spacedim >::JxW_values

Transformed quadrature weights.

Values at quadrature points of the product of the Jacobian determinant of the mapping and the weight at the particular quadrature point.

Definition at line 91 of file element_values.hh.

◆ normal_vectors

template<unsigned int spacedim = 3>
Armor::array ElementData< spacedim >::normal_vectors

Normal vectors (spacedim) to the element at the quadrature points lying on a side.

Definition at line 109 of file element_values.hh.

◆ points

template<unsigned int spacedim = 3>
Armor::array ElementData< spacedim >::points

Coordinates (spacedim) of quadrature points in the actual cell coordinate system.

Definition at line 106 of file element_values.hh.

◆ side

template<unsigned int spacedim = 3>
Side ElementData< spacedim >::side

Iterator to last updated cell side.

Definition at line 118 of file element_values.hh.

◆ side_JxW_values

template<unsigned int spacedim = 3>
std::vector<double> ElementData< spacedim >::side_JxW_values

JxW values for sides.

Definition at line 94 of file element_values.hh.

◆ update_flags

template<unsigned int spacedim = 3>
UpdateFlags ElementData< spacedim >::update_flags

Flags that indicate which finite element quantities are to be computed.

Definition at line 112 of file element_values.hh.


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