https://mooseframework.inl.gov
Public Member Functions | Public Attributes | List of all members
MaterialPropertyStorage::PropRecord Struct Reference

Basic structure for storing information about a property. More...

#include <MaterialPropertyStorage.h>

Public Member Functions

bool stateful () const
 Whether or not this property is stateful. More...
 

Public Attributes

std::set< std::string > declarers
 The material (type,name) that have declared this property. More...
 
std::string type
 The type of this property. More...
 
unsigned int stateful_id = invalid_uint
 The stateful id in _storage used for this property, if any. More...
 
unsigned int state = 0
 The max state requrested for this property (0 = current, 1 = old, ...) More...
 
bool restored = false
 Whether or not this property was restored (stateful only) More...
 

Detailed Description

Basic structure for storing information about a property.

Definition at line 50 of file MaterialPropertyStorage.h.

Member Function Documentation

◆ stateful()

bool MaterialPropertyStorage::PropRecord::stateful ( ) const
inline

Whether or not this property is stateful.

Definition at line 53 of file MaterialPropertyStorage.h.

53 { return state > 0; }
unsigned int state
The max state requrested for this property (0 = current, 1 = old, ...)

Member Data Documentation

◆ declarers

std::set<std::string> MaterialPropertyStorage::PropRecord::declarers

The material (type,name) that have declared this property.

Definition at line 55 of file MaterialPropertyStorage.h.

Referenced by dataLoad(), and dataStore().

◆ restored

bool MaterialPropertyStorage::PropRecord::restored = false

Whether or not this property was restored (stateful only)

Definition at line 63 of file MaterialPropertyStorage.h.

Referenced by MaterialPropertyStorage::isRestoredProperty().

◆ state

unsigned int MaterialPropertyStorage::PropRecord::state = 0

The max state requrested for this property (0 = current, 1 = old, ...)

Definition at line 61 of file MaterialPropertyStorage.h.

Referenced by dataLoad(), dataStore(), MaterialData::getMaxStateRequested(), and stateful().

◆ stateful_id

unsigned int MaterialPropertyStorage::PropRecord::stateful_id = invalid_uint

The stateful id in _storage used for this property, if any.

Definition at line 59 of file MaterialPropertyStorage.h.

Referenced by dataLoad(), and dataStore().

◆ type

std::string MaterialPropertyStorage::PropRecord::type

The type of this property.

Definition at line 57 of file MaterialPropertyStorage.h.

Referenced by dataLoad(), and dataStore().


The documentation for this struct was generated from the following file: