Flow123d  release_3.0.0-904-gff06a57
Public Member Functions | Private Attributes | List of all members
FESystemFunctionSpace Class Reference

#include <fe_system.hh>

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

Public Member Functions

 FESystemFunctionSpace (const std::vector< std::shared_ptr< FunctionSpace > > &fs_vector)
 Constructor. More...
 
const double basis_value (unsigned int basis_index, const arma::vec &point, unsigned int comp_index=0) const override
 Value of the i th basis function at point point. More...
 
const arma::vec basis_grad (unsigned int basis_index, const arma::vec &point, unsigned int comp_index=0) const override
 Gradient of the i th basis function at point point. More...
 
const unsigned int dim () const override
 Dimension of function space (number of basis functions). More...
 
virtual ~FESystemFunctionSpace ()
 
- Public Member Functions inherited from FunctionSpace
 FunctionSpace (unsigned int space_dim, unsigned int n_components)
 
const unsigned int space_dim () const
 Getter for space dimension. More...
 
const unsigned int n_components () const
 Getter for number of components. More...
 
virtual ~FunctionSpace ()
 

Private Attributes

std::vector< std::shared_ptr< FunctionSpace > > fs_
 Function spaces that are put together. More...
 
std::vector< DofComponentDatadof_indices_
 Indices of basis functions relative to the sub-spaces. More...
 
unsigned int dim_
 Number of basis functions. More...
 

Additional Inherited Members

- Protected Attributes inherited from FunctionSpace
unsigned int space_dim_
 Space dimension of function arguments (i.e. 1, 2 or 3). More...
 
unsigned int n_components_
 Number of components of function values. More...
 

Detailed Description

Definition at line 55 of file fe_system.hh.

Constructor & Destructor Documentation

FESystemFunctionSpace::FESystemFunctionSpace ( const std::vector< std::shared_ptr< FunctionSpace > > &  fs_vector)

Constructor.

Definition at line 48 of file fe_system.cc.

virtual FESystemFunctionSpace::~FESystemFunctionSpace ( )
inlinevirtual

Definition at line 76 of file fe_system.hh.

Member Function Documentation

const arma::vec FESystemFunctionSpace::basis_grad ( unsigned int  basis_index,
const arma::vec &  point,
unsigned int  comp_index = 0 
) const
overridevirtual

Gradient of the i th basis function at point point.

Parameters
basis_indexIndex of the basis function.
pointPoint coordinates.
comp_indexIndex of component (>0 for vector-valued functions).

Implements FunctionSpace.

Definition at line 83 of file fe_system.cc.

const double FESystemFunctionSpace::basis_value ( unsigned int  basis_index,
const arma::vec &  point,
unsigned int  comp_index = 0 
) const
overridevirtual

Value of the i th basis function at point point.

Parameters
basis_indexIndex of the basis function.
pointPoint coordinates.
comp_indexIndex of component (>0 for vector-valued functions).

Implements FunctionSpace.

Definition at line 67 of file fe_system.cc.

const unsigned int FESystemFunctionSpace::dim ( ) const
inlineoverridevirtual

Dimension of function space (number of basis functions).

Implements FunctionSpace.

Definition at line 74 of file fe_system.hh.

Here is the caller graph for this function:

Member Data Documentation

unsigned int FESystemFunctionSpace::dim_
private

Number of basis functions.

Definition at line 87 of file fe_system.hh.

std::vector<DofComponentData> FESystemFunctionSpace::dof_indices_
private

Indices of basis functions relative to the sub-spaces.

Definition at line 84 of file fe_system.hh.

std::vector<std::shared_ptr<FunctionSpace> > FESystemFunctionSpace::fs_
private

Function spaces that are put together.

Definition at line 76 of file fe_system.hh.


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