Abstract definition of a property value.
More...
#include <MaterialProperty.h>
|
static constexpr id_type | invalid_property_id = std::numeric_limits<id_type>::max() - 1 |
| The material property ID for an invalid property We only have this because there are a few cases where folks want to instantiate their own fake materials, and we should at least force them to be consistent. More...
|
|
Abstract definition of a property value.
Definition at line 37 of file MaterialProperty.h.
◆ id_type
◆ PropertyValue()
PropertyValue::PropertyValue |
( |
const id_type |
id | ) |
|
|
inline |
◆ ~PropertyValue()
virtual PropertyValue::~PropertyValue |
( |
| ) |
|
|
inlinevirtual |
◆ clone()
virtual std::unique_ptr<PropertyValue> PropertyValue::clone |
( |
const std::size_t |
| ) |
const |
|
pure virtual |
◆ id()
id_type PropertyValue::id |
( |
| ) |
const |
|
inline |
◆ isAD()
virtual bool PropertyValue::isAD |
( |
| ) |
const |
|
pure virtual |
◆ load()
virtual void PropertyValue::load |
( |
std::istream & |
stream | ) |
|
|
pure virtual |
◆ qpCopy()
virtual void PropertyValue::qpCopy |
( |
const unsigned int |
to_qp, |
|
|
const PropertyValue & |
rhs, |
|
|
const unsigned int |
from_qp |
|
) |
| |
|
pure virtual |
Copy the value of a Property from one specific to a specific qp in this Property.
Important note: this copy operation loses AD derivative information if either this or the rhs is not an AD material property
- Parameters
-
to_qp | The quadrature point in this Property that you want to copy to. |
rhs | The Property you want to copy from. |
from_qp | The quadrature point in rhs you want to copy from. |
Implemented in MaterialPropertyBase< T, is_ad >, MaterialPropertyBase< T, true >, and MaterialPropertyBase< T, false >.
◆ resize()
virtual void PropertyValue::resize |
( |
const std::size_t |
size | ) |
|
|
pure virtual |
◆ size()
virtual unsigned int PropertyValue::size |
( |
| ) |
const |
|
pure virtual |
◆ store()
virtual void PropertyValue::store |
( |
std::ostream & |
stream | ) |
|
|
pure virtual |
◆ swap()
◆ type()
virtual const std::string& PropertyValue::type |
( |
| ) |
const |
|
pure virtual |
◆ typeID()
virtual const std::type_info& PropertyValue::typeID |
( |
| ) |
const |
|
pure virtual |
◆ _id
◆ invalid_property_id
constexpr id_type PropertyValue::invalid_property_id = std::numeric_limits<id_type>::max() - 1 |
|
static |
The material property ID for an invalid property We only have this because there are a few cases where folks want to instantiate their own fake materials, and we should at least force them to be consistent.
Definition at line 50 of file MaterialProperty.h.
The documentation for this class was generated from the following file: