Flow123d  release_2.2.0-33-g759111d
Public Member Functions | Public Attributes | List of all members
FEValuesData< dim, spacedim > Class Template Reference

Class FEValuesData holds the arrays of data computed by Mapping and FiniteElement. More...

#include <fe_values.hh>

Collaboration diagram for FEValuesData< dim, spacedim >:
Collaboration graph
[legend]

Public Member Functions

void allocate (unsigned int size, UpdateFlags flags, bool is_scalar=true)
 Resize the data arrays. More...
 

Public Attributes

std::vector< double > JxW_values
 Transformed quadrature weights. More...
 
std::vector< arma::mat::fixed< spacedim, dim > > jacobians
 Jacobians of the mapping at the quadrature points. More...
 
std::vector< double > determinants
 Determinants of Jacobians at quadrature points. More...
 
std::vector< arma::mat::fixed< dim, spacedim > > inverse_jacobians
 Inverse Jacobians at the quadrature points. More...
 
std::vector< arma::vec::fixed< spacedim > > points
 Coordinates of quadrature points in the actual cell coordinate system. More...
 
std::vector< arma::vec > shape_values
 Shape functions evaluated at the quadrature points. More...
 
std::vector< arma::mat > shape_gradients
 Gradients of shape functions evaluated at the quadrature points. More...
 
std::vector< std::vector< arma::vec::fixed< spacedim > > > shape_vectors
 Shape functions (for vectorial finite elements) evaluated at quadrature points. More...
 
std::vector< std::vector< arma::mat::fixed< spacedim, spacedim > > > shape_grad_vectors
 Gradients of shape functions (for vectorial finite elements). More...
 
std::vector< arma::vec::fixed< spacedim > > normal_vectors
 Normal vectors 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...
 
ElementFullIterpresent_cell
 Iterator to the last reinit-ed cell. More...
 

Detailed Description

template<unsigned int dim, unsigned int spacedim>
class FEValuesData< dim, spacedim >

Class FEValuesData holds the arrays of data computed by Mapping and FiniteElement.

Definition at line 46 of file fe_values.hh.

Member Function Documentation

template<unsigned int dim, unsigned int spacedim>
void FEValuesData< dim, spacedim >::allocate ( unsigned int  size,
UpdateFlags  flags,
bool  is_scalar = true 
)

Resize the data arrays.

Parameters
sizeNumber of quadrature points.
flagsUpdate flags to be stores.
is_scalarIf true, the structures for scalar values are allocated. Otherwise the vectorial structures are used.

Definition at line 41 of file fe_values.cc.

Here is the caller graph for this function:

Member Data Documentation

template<unsigned int dim, unsigned int spacedim>
std::vector<double> FEValuesData< dim, spacedim >::determinants

Determinants of Jacobians at quadrature points.

Definition at line 77 of file fe_values.hh.

template<unsigned int dim, unsigned int spacedim>
std::vector<arma::mat::fixed<dim,spacedim> > FEValuesData< dim, spacedim >::inverse_jacobians

Inverse Jacobians at the quadrature points.

Definition at line 82 of file fe_values.hh.

template<unsigned int dim, unsigned int spacedim>
std::vector<arma::mat::fixed<spacedim,dim> > FEValuesData< dim, spacedim >::jacobians

Jacobians of the mapping at the quadrature points.

Definition at line 72 of file fe_values.hh.

template<unsigned int dim, unsigned int spacedim>
std::vector<double> FEValuesData< dim, 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 67 of file fe_values.hh.

template<unsigned int dim, unsigned int spacedim>
std::vector<arma::vec::fixed<spacedim> > FEValuesData< dim, spacedim >::normal_vectors

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

Definition at line 116 of file fe_values.hh.

template<unsigned int dim, unsigned int spacedim>
std::vector<arma::vec::fixed<spacedim> > FEValuesData< dim, spacedim >::points

Coordinates of quadrature points in the actual cell coordinate system.

Definition at line 87 of file fe_values.hh.

template<unsigned int dim, unsigned int spacedim>
ElementFullIter* FEValuesData< dim, spacedim >::present_cell

Iterator to the last reinit-ed cell.

Definition at line 126 of file fe_values.hh.

template<unsigned int dim, unsigned int spacedim>
std::vector<std::vector<arma::mat::fixed<spacedim,spacedim> > > FEValuesData< dim, spacedim >::shape_grad_vectors

Gradients of shape functions (for vectorial finite elements).

Definition at line 110 of file fe_values.hh.

template<unsigned int dim, unsigned int spacedim>
std::vector<arma::mat> FEValuesData< dim, spacedim >::shape_gradients

Gradients of shape functions evaluated at the quadrature points.

Each row of the matrix contains the gradient of one shape function.

Definition at line 99 of file fe_values.hh.

template<unsigned int dim, unsigned int spacedim>
std::vector<arma::vec> FEValuesData< dim, spacedim >::shape_values

Shape functions evaluated at the quadrature points.

Definition at line 92 of file fe_values.hh.

template<unsigned int dim, unsigned int spacedim>
std::vector<std::vector<arma::vec::fixed<spacedim> > > FEValuesData< dim, spacedim >::shape_vectors

Shape functions (for vectorial finite elements) evaluated at quadrature points.

Definition at line 105 of file fe_values.hh.

template<unsigned int dim, unsigned int spacedim>
UpdateFlags FEValuesData< dim, spacedim >::update_flags

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

Definition at line 121 of file fe_values.hh.


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