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 341 of file GaussianProcess.C.

342 {
343  RealEigenMatrix L;
344  dataLoad(stream, L, context);
345  decomp.compute(L * L.transpose());
346 }
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 331 of file GaussianProcess.C.

332 {
333  // Store the L matrix as opposed to the full matrix to avoid compounding
334  // roundoff error and decomposition error
335  RealEigenMatrix L(decomp.matrixL());
336  dataStore(stream, L, context);
337 }
void dataStore(std::ostream &stream, Eigen::LLT< RealEigenMatrix > &decomp, void *context)
Eigen::Matrix< Real, Eigen::Dynamic, Eigen::Dynamic > RealEigenMatrix