![]() |
OGS
|
A class for Water derived from Component.
This class can holds material constants and default properties of ordinary water.
#include <Water.h>
Public Member Functions | |
| Water (std::unique_ptr< PropertyArray > &&properties) | |
| Public Member Functions inherited from MaterialPropertyLib::Component | |
| Component () | |
| Component (std::string const &component_name, std::unique_ptr< PropertyArray > &&properties) | |
| Constructor for a custom component. | |
| virtual | ~Component ()=default |
| Property const & | property (PropertyType const &) const |
| A get-function for retrieving a certain property. | |
| Property const & | operator[] (PropertyType const &p) const |
| bool | hasProperty (PropertyType const &p) const |
| template<typename T> | |
| T | value (PropertyType const p) const |
| template<typename T> | |
| T | value (PropertyType const p, VariableArray const &variable_array) const |
| template<typename T> | |
| T | dValue (PropertyType const p, VariableArray const &variable_array, Variable const variable) const |
| template<typename T> | |
| T | d2Value (PropertyType const p, VariableArray const &variable_array, Variable const variable1, Variable const variable2) const |
| std::string | description () const |
| Short description of the component with its name. | |
Additional Inherited Members | |
| Public Attributes inherited from MaterialPropertyLib::Component | |
| std::string const | name |
| Protected Attributes inherited from MaterialPropertyLib::Component | |
| PropertyArray | properties_ |
| The property array of the component. | |
|
explicit |
Definition at line 19 of file Water.cpp.
References MaterialPropertyLib::Component::Component().