Flow123d  DF_patch_fe_data_tables-dc76198
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...
 
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...
 
unsigned int dim () const override
 Dimension of function space (number of basis functions). More...
 
const std::vector< DofComponentData > & dof_indices ()
 
virtual ~FESystemFunctionSpace ()
 
- Public Member Functions inherited from FunctionSpace
 FunctionSpace (unsigned int space_dim, unsigned int n_components)
 
unsigned int space_dim () const
 Getter for space dimension. More...
 
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::FESystemFunctionSpace ( const std::vector< std::shared_ptr< FunctionSpace > > &  fs_vector)

Constructor.

Definition at line 48 of file fe_system.cc.

◆ ~FESystemFunctionSpace()

virtual FESystemFunctionSpace::~FESystemFunctionSpace ( )
inlinevirtual

Definition at line 78 of file fe_system.hh.

Member Function Documentation

◆ basis_grad()

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.

◆ basis_value()

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.

◆ dim()

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.

◆ dof_indices()

const std::vector<DofComponentData>& FESystemFunctionSpace::dof_indices ( )
inline

Definition at line 76 of file fe_system.hh.

Member Data Documentation

◆ dim_

unsigned int FESystemFunctionSpace::dim_
private

Number of basis functions.

Definition at line 89 of file fe_system.hh.

◆ dof_indices_

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

Indices of basis functions relative to the sub-spaces.

Definition at line 86 of file fe_system.hh.

◆ fs_

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

Function spaces that are put together.

Definition at line 83 of file fe_system.hh.


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