Flow123d
release_3.0.0-965-gb0c8897
|
#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 126 of file finite_element.hh.
|
inline |
Definition at line 129 of file finite_element.hh.
|
inlinevirtual |
Definition at line 168 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 FESystemFunctionSpace, 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 FESystemFunctionSpace, PolynomialSpace, and RT0_space.
|
pure virtual |
Dimension of function space (number of basis functions).
Implemented in FESystemFunctionSpace, PolynomialSpace, and RT0_space.
|
inline |
Getter for number of components.
Definition at line 166 of file finite_element.hh.
|
inline |
Getter for space dimension.
Definition at line 163 of file finite_element.hh.
|
protected |
Number of components of function values.
Definition at line 176 of file finite_element.hh.
|
protected |
Space dimension of function arguments (i.e. 1, 2 or 3).
Definition at line 173 of file finite_element.hh.