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

Represents a stored variable in restart. More...

#include <RestartableEquationSystems.h>

Public Member Functions

bool operator== (const VectorHeader &other) const
 

Public Attributes

std::string name
 The name of the stored vector. More...
 
libMesh::ParallelType type
 The type of the stored vector. More...
 
bool projections
 The projection flag (whether or not it should be projected or zeroed) More...
 
std::map< std::string, std::size_t > variable_offset
 The position of each variable for this vector (relative to the start of the data) More...
 
const libMesh::NumericVector< libMesh::Number > * vector = nullptr
 The underlying vector (only valid during store, not used in load) More...
 

Detailed Description

Represents a stored variable in restart.

Definition at line 39 of file RestartableEquationSystems.h.

Member Function Documentation

◆ operator==()

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

Definition at line 41 of file RestartableEquationSystems.h.

42  {
43  return name == other.name && projections == other.projections &&
44  variable_offset == other.variable_offset && vector == other.vector;
45  }
bool projections
The projection flag (whether or not it should be projected or zeroed)
const libMesh::NumericVector< libMesh::Number > * vector
The underlying vector (only valid during store, not used in load)
std::string name
The name of the stored vector.
std::map< std::string, std::size_t > variable_offset
The position of each variable for this vector (relative to the start of the data) ...

Member Data Documentation

◆ name

std::string RestartableEquationSystems::VectorHeader::name

The name of the stored vector.

Definition at line 48 of file RestartableEquationSystems.h.

Referenced by dataLoad(), dataStore(), operator==(), and RestartableEquationSystems::restore().

◆ projections

bool RestartableEquationSystems::VectorHeader::projections

The projection flag (whether or not it should be projected or zeroed)

Definition at line 52 of file RestartableEquationSystems.h.

Referenced by dataLoad(), dataStore(), and operator==().

◆ type

libMesh::ParallelType RestartableEquationSystems::VectorHeader::type

The type of the stored vector.

Definition at line 50 of file RestartableEquationSystems.h.

Referenced by dataLoad(), and dataStore().

◆ variable_offset

std::map<std::string, std::size_t> RestartableEquationSystems::VectorHeader::variable_offset

The position of each variable for this vector (relative to the start of the data)

Definition at line 54 of file RestartableEquationSystems.h.

Referenced by dataLoad(), dataStore(), and operator==().

◆ vector

const libMesh::NumericVector<libMesh::Number>* RestartableEquationSystems::VectorHeader::vector = nullptr

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

Definition at line 56 of file RestartableEquationSystems.h.

Referenced by operator==().


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