https://mooseframework.inl.gov
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
RestartableEquationSystems::VariableHeader Struct Reference

Represents a stored variable in restart. More...

#include <RestartableEquationSystems.h>

Public Member Functions

bool operator== (const VariableHeader &other) const
 

Public Attributes

std::string name
 The name of the stored variable.
 
libMesh::FEType type
 The type of the stored variable.
 
std::size_t size = 0
 The size of this variable's data.
 
const libMesh::Variablevariable = nullptr
 The underlying variable (only valid during store, not used in load)
 

Detailed Description

Represents a stored variable in restart.

Definition at line 63 of file RestartableEquationSystems.h.

Member Function Documentation

◆ operator==()

bool RestartableEquationSystems::VariableHeader::operator== ( const VariableHeader other) const
inline

Definition at line 65 of file RestartableEquationSystems.h.

66 {
67 return name == other.name && type == other.type && size == other.size &&
68 variable == other.variable;
69 }
const libMesh::Variable * variable
The underlying variable (only valid during store, not used in load)
std::size_t size
The size of this variable's data.
std::string name
The name of the stored variable.
libMesh::FEType type
The type of the stored variable.

Member Data Documentation

◆ name

std::string RestartableEquationSystems::VariableHeader::name

◆ size

std::size_t RestartableEquationSystems::VariableHeader::size = 0

The size of this variable's data.

Definition at line 76 of file RestartableEquationSystems.h.

Referenced by RestartableEquationSystems::buildHeader(), and operator==().

◆ type

libMesh::FEType RestartableEquationSystems::VariableHeader::type

◆ variable

const libMesh::Variable* RestartableEquationSystems::VariableHeader::variable = nullptr

The underlying variable (only valid during store, not used in load)

Definition at line 78 of file RestartableEquationSystems.h.

Referenced by RestartableEquationSystems::buildHeader(), and operator==().


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