OP
0.1
OP is a optimization solver plugin package
|
Utility class for "converting" between Variables and something else. More...
#include <op.hpp>
Public Types | |
using | ToTypeFn = std::function< FieldType(Variables &)> |
using | FromTypeFn = std::function< Variables(FieldType &)> |
Public Member Functions | |
VariableMap (ToTypeFn to_fn, FromTypeFn from_fn) | |
FieldType | convertFromVariable (Variables &v) |
Variables | convertToVariable (FieldType &f) |
Protected Attributes | |
ToTypeFn | toType_ |
FromTypeFn | fromType_ |
Utility class for "converting" between Variables and something else.