Default class for a node mapper where one is not provided. Simply returns a value of 0.0 for all node states.
#include <Mesh/DataStructures/nodemapper.h>
◆ clone()
- Returns
- A clone of this object.
- Note
- Subclasses would normally return their own type rather than the Clonable type. The C++ language rules allow a more derived type to be returned from a virtual function and the compiler will still treat it as a valid override.
Implements NodeMapper.
◆ createMementoData()
- Parameters
-
model | The model that will be used for mapping nodes to values. |
- Returns
- A memento object which client code cannot do anything useful with except pass it around. The memento is ultimately only useful to the getValue() function. It holds internal data the mapper will use to perform the required mapping.
Implements NodeMapper.
◆ getValue()