Flow123d
JS_before_hm-2-g912b55d
|
#include <fe_rt.hh>
Public Member Functions | |
RT0_space (unsigned int dim) | |
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... | |
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) | |
unsigned int | space_dim () const |
Getter for space dimension. More... | |
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... | |
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_
.
|
overridevirtual |
Gradient of the i
th basis function at point point
.
basis_index | Index of the basis function. |
point | Point coordinates. |
comp_index | Index of component (>0 for vector-valued functions). |
Implements FunctionSpace.
|
overridevirtual |
Value of the i
th basis function at point point
.
basis_index | Index of the basis function. |
point | Point coordinates. |
comp_index | Index of component (>0 for vector-valued functions). |
Implements FunctionSpace.
|
inlineoverridevirtual |
Dimension of function space (number of basis functions).
Implements FunctionSpace.
Definition at line 49 of file fe_rt.hh.