Flow123d
release_2.2.0-914-gf1a3a4f
|
#include <finite_element.hh>
Public Member Functions | |
FunctionSpace (unsigned int space_dim, unsigned int n_components) | |
virtual const double | basis_value (unsigned int basis_index, const arma::vec &point, unsigned int comp_index=0) const =0 |
Value of the i th basis function at point point . More... | |
virtual const arma::vec | basis_grad (unsigned int basis_index, const arma::vec &point, unsigned int comp_index=0) const =0 |
Gradient of the i th basis function at point point . More... | |
virtual const unsigned int | dim () const =0 |
Dimension of function space (number of basis functions). More... | |
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 () |
Protected Attributes | |
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... | |
FunctionSpace is an abstract class that is used to describe finite elements. It is determined by the dimension of the field of definition (space_dim_
), by the dimension of the range (n_components_
) and by the values and gradients of a basis functions.
Combining FunctionSpace with Dof(s), the FiniteElement class constructs the shape functions, i.e. basis of FunctionSpace for which the Dof(s) attain the value 0 or 1.
Definition at line 121 of file finite_element.hh.
|
inline |
Definition at line 124 of file finite_element.hh.
|
inlinevirtual |
Definition at line 163 of file finite_element.hh.
|
pure virtual |
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). |
Implemented in PolynomialSpace, and RT0_space.
|
pure virtual |
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). |
Implemented in PolynomialSpace, and RT0_space.
|
pure virtual |
Dimension of function space (number of basis functions).
Implemented in PolynomialSpace, and RT0_space.
|
inline |
Getter for number of components.
Definition at line 161 of file finite_element.hh.
|
inline |
Getter for space dimension.
Definition at line 158 of file finite_element.hh.
|
protected |
Number of components of function values.
Definition at line 171 of file finite_element.hh.
|
protected |
Space dimension of function arguments (i.e. 1, 2 or 3).
Definition at line 168 of file finite_element.hh.