|
opm-upscaling
|
Represents a tensor-product of 1D functions. More...
#include <shapefunctions.hpp>
Public Types | |
| enum | { dimension = dim } |
| The dimension of the function. | |
Public Member Functions | |
| TensorProductFunction () | |
| Empty default constructor. | |
| TensorProductFunction (const Dune::FieldVector< ftype, dim > &funcs_) | |
| Construct a tensor-product function. | |
| rtype | evaluateFunction (const Dune::FieldVector< ctype, dim > &local) const |
| Evaluate the function. | |
| Dune::FieldVector< rtype, dim > | evaluateGradient (const Dune::FieldVector< ctype, dim > &local) const |
Represents a tensor-product of 1D functions.
|
inlineexplicit |
Construct a tensor-product function.
| [in] | funcs_ | The functions |
|
inline |
Evaluate the function.
| [in] | local | The local coordinates |