https://mooseframework.inl.gov
Classes | Functions
RestartableModelInterface.h File Reference

Go to the source code of this file.

Classes

class  RestartableModelInterface
 An interface class which manages the model data save and load functionalities from moose objects (such as surrogates, mappings, etc.) in the stochastic tools module. More...
 

Functions

template<>
void dataStore (std::ostream &stream, Eigen::LLT< RealEigenMatrix > &decomp, void *context)
 
template<>
void dataLoad (std::istream &stream, Eigen::LLT< RealEigenMatrix > &decomp, void *context)
 

Function Documentation

◆ dataLoad()

template<>
void dataLoad ( std::istream &  stream,
Eigen::LLT< RealEigenMatrix > &  decomp,
void context 
)

Definition at line 330 of file GaussianProcess.C.

331 {
332  RealEigenMatrix L;
333  dataLoad(stream, L, context);
334  decomp.compute(L * L.transpose());
335 }
void dataLoad(std::istream &stream, Eigen::LLT< RealEigenMatrix > &decomp, void *context)
Eigen::Matrix< Real, Eigen::Dynamic, Eigen::Dynamic > RealEigenMatrix

◆ dataStore()

template<>
void dataStore ( std::ostream &  stream,
Eigen::LLT< RealEigenMatrix > &  decomp,
void context 
)

Definition at line 320 of file GaussianProcess.C.

321 {
322  // Store the L matrix as opposed to the full matrix to avoid compounding
323  // roundoff error and decomposition error
324  RealEigenMatrix L(decomp.matrixL());
325  dataStore(stream, L, context);
326 }
void dataStore(std::ostream &stream, Eigen::LLT< RealEigenMatrix > &decomp, void *context)
Eigen::Matrix< Real, Eigen::Dynamic, Eigen::Dynamic > RealEigenMatrix