|
dune-vtk 2.12
|
A Vtk::LocalFunction is a function-like object that can be bound to a grid element an that provides an evaluate method with a component argument. More...
#include <dune/vtk/gridfunctions/localfunction.hh>
Public Member Functions | |
| template<class LF > | |
| LocalFunction (LF &&lf, std::vector< int > components) | |
| Constructor. Pass any type supporting the LocalOperatorInterface. | |
| LocalFunction ()=default | |
| Default Constructor. | |
| LocalFunction (LocalFunction &&)=default | |
| Move Constructor. | |
| LocalFunction & | operator= (LocalFunction &&)=default |
| Move assignment-operator. | |
| LocalFunction (const LocalFunction &other) | |
| Copy constructor, clones the underlying implementation. | |
| LocalFunction & | operator= (const LocalFunction &other) |
| Copy assignment operator, clones the underlying implementation. | |
| void | bind (Element const &element) |
Binds the local function to an element. | |
| void | unbind () |
| Unbinds function from element. | |
| Impl::RangeProxy< LocalFunction, Domain > | operator() (Domain const &x) const |
| Return a proxy object to access the components of the range vector. | |
| double | evaluate (int i, Domain const &x) const |
Evaluate the ith component of the Range value at local coordinate x | |
| const std::vector< int > & | components () const |
| Return the components vector. | |
| void | setComponents (std::vector< int > components) |
Use the passed components for evaluation of the range. | |
Detailed Description
class Dune::Vtk::LocalFunction< Element, ComponentMapper >
A Vtk::LocalFunction is a function-like object that can be bound to a grid element an that provides an evaluate method with a component argument.
Stores internally a Vtk::LocalFunctionInterface object for the concrete evaluation.
Constructor & Destructor Documentation
◆ LocalFunction() [1/4]
|
inline |
Constructor. Pass any type supporting the LocalOperatorInterface.
◆ LocalFunction() [2/4]
|
default |
Default Constructor.
◆ LocalFunction() [3/4]
|
default |
Move Constructor.
◆ LocalFunction() [4/4]
|
inline |
Copy constructor, clones the underlying implementation.
Member Function Documentation
◆ bind()
|
inline |
Binds the local function to an element.
◆ components()
|
inline |
Return the components vector.
◆ evaluate()
|
inline |
Evaluate the ith component of the Range value at local coordinate x
◆ operator()()
|
inline |
Return a proxy object to access the components of the range vector.
◆ operator=() [1/2]
|
inline |
Copy assignment operator, clones the underlying implementation.
◆ operator=() [2/2]
|
default |
Move assignment-operator.
◆ setComponents()
|
inline |
Use the passed components for evaluation of the range.
◆ unbind()
|
inline |
Unbinds function from element.
The documentation for this class was generated from the following file:
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8