Flow123d  release_2.2.0-914-gf1a3a4f
Public Member Functions | List of all members
RT0_space Class Reference

#include <fe_rt.hh>

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

Public Member Functions

 RT0_space (unsigned int dim)
 
const double basis_value (unsigned int basis_index, const arma::vec &point, unsigned int comp_index) 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) 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...
 
- 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 ()
 

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

Space of Raviart-Thomas polynomials of order 0 (affine functions). The basis functions are defined as

x, x - e_1, ..., x - e_d,

where x is the space variable, e_i is the i-th canonical basis vector in R^d and d is space_dim_.

Definition at line 34 of file fe_rt.hh.

Constructor & Destructor Documentation

RT0_space::RT0_space ( unsigned int  dim)

Definition at line 25 of file fe_rt.cc.

Here is the caller graph for this function:

Member Function Documentation

const arma::vec RT0_space::basis_grad ( unsigned int  basis_index,
const arma::vec &  point,
unsigned int  comp_index 
) 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 44 of file fe_rt.cc.

const double RT0_space::basis_value ( unsigned int  basis_index,
const arma::vec &  point,
unsigned int  comp_index 
) 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 30 of file fe_rt.cc.

const unsigned int RT0_space::dim ( ) const
inlineoverridevirtual

Dimension of function space (number of basis functions).

Implements FunctionSpace.

Definition at line 49 of file fe_rt.hh.

Here is the caller graph for this function:


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