libMesh::RBDataDeserialization Namespace Reference

Classes

class  RBEIMEvaluationDeserialization
 
class  RBEvaluationDeserialization
 Deserializes RBEvaluation objects using Cap'n Proto. More...
 
class  RBSCMEvaluationDeserialization
 
class  TransientRBEvaluationDeserialization
 

Functions

void load_parameter_ranges (RBParametrized &rb_evaluation, RBData::ParameterRanges::Reader &parameter_ranges, RBData::DiscreteParameterList::Reader &discrete_parameters_list)
 
template<typename RBEvaluationReaderNumber >
void load_rb_evaluation_data (RBEvaluation &rb_evaluation, RBEvaluationReaderNumber &rb_evaluation_reader, bool read_error_bound_data)
 
template<typename RBEvaluationReaderNumber , typename TransRBEvaluationReaderNumber >
void load_transient_rb_evaluation_data (TransientRBEvaluation &trans_rb_eval, RBEvaluationReaderNumber &rb_evaluation_reader, TransRBEvaluationReaderNumber &trans_rb_eval_reader, bool read_error_bound_data)
 
template<typename RBEvaluationReaderNumber , typename RBEIMEvaluationReaderNumber >
void load_rb_eim_evaluation_data (RBEIMEvaluation &rb_eim_eval, RBEvaluationReaderNumber &rb_evaluation_reader, RBEIMEvaluationReaderNumber &rb_eim_eval_reader)
 
void load_rb_scm_evaluation_data (RBSCMEvaluation &rb_scm_eval, RBData::RBSCMEvaluation::Reader &rb_scm_eval_reader)
 
void load_point (RBData::Point3D::Reader point_reader, Point &point)
 
void load_elem_into_mesh (RBData::MeshElem::Reader mesh_elem_reader, libMesh::Elem *elem, libMesh::ReplicatedMesh &mesh)
 

Function Documentation

◆ load_elem_into_mesh()

void libMesh::RBDataDeserialization::load_elem_into_mesh ( RBData::MeshElem::Reader  mesh_elem_reader,
libMesh::Elem elem,
libMesh::ReplicatedMesh mesh 
)

Helper function that loads element data.

◆ load_parameter_ranges()

void libMesh::RBDataDeserialization::load_parameter_ranges ( RBParametrized rb_evaluation,
RBData::ParameterRanges::Reader &  parameter_ranges,
RBData::DiscreteParameterList::Reader &  discrete_parameters_list 
)

Load parameter ranges and discrete parameter values into an RBEvaluation from the corresponding structure in the buffer.

◆ load_point()

void libMesh::RBDataDeserialization::load_point ( RBData::Point3D::Reader  point_reader,
Point point 
)

Helper function that loads point data.

◆ load_rb_eim_evaluation_data()

template<typename RBEvaluationReaderNumber , typename RBEIMEvaluationReaderNumber >
void libMesh::RBDataDeserialization::load_rb_eim_evaluation_data ( RBEIMEvaluation rb_eim_eval,
RBEvaluationReaderNumber &  rb_evaluation_reader,
RBEIMEvaluationReaderNumber &  rb_eim_eval_reader 
)

Load an EIM RB evaluation from a corresponding reader structure in the buffer. Templated to deal with both Real and Complex numbers.

◆ load_rb_evaluation_data()

template<typename RBEvaluationReaderNumber >
void libMesh::RBDataDeserialization::load_rb_evaluation_data ( RBEvaluation rb_evaluation,
RBEvaluationReaderNumber &  rb_evaluation_reader,
bool  read_error_bound_data 
)

Load an RB evaluation from a corresponding reader structure in the buffer.

◆ load_rb_scm_evaluation_data()

void libMesh::RBDataDeserialization::load_rb_scm_evaluation_data ( RBSCMEvaluation rb_scm_eval,
RBData::RBSCMEvaluation::Reader &  rb_scm_eval_reader 
)

Load an SCM RB evaluation from a corresponding reader structure in the buffer. Unlike the other functions above, this does not need to be templated because an RBSCMEvaluation only stores Real values, and hence doesn't depend on whether we're using complex numbers or not.

◆ load_transient_rb_evaluation_data()

template<typename RBEvaluationReaderNumber , typename TransRBEvaluationReaderNumber >
void libMesh::RBDataDeserialization::load_transient_rb_evaluation_data ( TransientRBEvaluation trans_rb_eval,
RBEvaluationReaderNumber &  rb_evaluation_reader,
TransRBEvaluationReaderNumber &  trans_rb_eval_reader,
bool  read_error_bound_data 
)

Load an RB evaluation from a corresponding reader structure in the buffer. Templated to deal with both Real and Complex numbers.