|
AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
|
An operator for converting units. More...
#include </home/docs/checkouts/readthedocs.org/user_builds/axom/checkouts/develop/src/axom/klee/GeometryOperators.hpp>

Public Member Functions | |
| UnitConverter (LengthUnit endUnits, const TransformableGeometryProperties &startProperties) | |
| TransformableGeometryProperties | getEndProperties () const override |
| numerics::Matrix< double > | toMatrix () const override |
| void | accept (GeometryOperatorVisitor &visitor) const override |
| double | getConversionFactor () const |
| GeometryOperator (const TransformableGeometryProperties &startProperties) | |
| const TransformableGeometryProperties & | getStartProperties () const |
An operator for converting units.
| axom::klee::UnitConverter::UnitConverter | ( | LengthUnit | endUnits, |
| const TransformableGeometryProperties & | startProperties | ||
| ) |
Convert from the units specified in the start properties to the given end units
| endUnits | the units at the end of the operation |
| startProperties | the properties before the operation |
|
overridevirtual |
Get the properties after this operator is applied
Reimplemented from axom::klee::GeometryOperator.
|
overridevirtual |
Convert this operator to its matrix representation.
Implements axom::klee::MatrixOperator.
|
overridevirtual |
Accept the given visitor. The appropriate visit() method will be called on the visitor based on the run-time type of this operator.
| visitor | the visitor to accept. |
Implements axom::klee::GeometryOperator.
| double axom::klee::UnitConverter::getConversionFactor | ( | ) | const |
Get the conversion factor used to convert from the start units to the end units
|
explicitinherited |
Create an operator with the given start properties
| startProperties | the properties before the operator is applied |
|
inlineinherited |
Get the properties that the operator expects to start in