libMesh
|
Classes | |
class | RBEIMEvaluationDeserialization |
This class de-serializes a RBEIMEvaluation object using the Cap'n Proto library. More... | |
class | RBEvaluationDeserialization |
This class de-serializes an RBEvaluation object using the Cap'n Proto library. More... | |
class | RBSCMEvaluationDeserialization |
This class de-serializes a RBSCMEvaluation object using the Cap'n Proto library. More... | |
class | TransientRBEvaluationDeserialization |
This class de-serializes a TransientRBEvaluation object using the Cap'n Proto library. More... | |
Functions | |
void | load_parameter_ranges (RBParametrized &rb_evaluation, RBData::ParameterRanges::Reader ¶meter_ranges, RBData::DiscreteParameterList::Reader &discrete_parameters_list) |
Load parameter ranges and discrete parameter values into an RBEvaluation from the corresponding structure in the buffer. More... | |
template<typename RBEvaluationReaderNumber > | |
void | 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. More... | |
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) |
Load an RB evaluation from a corresponding reader structure in the buffer. More... | |
template<typename RBEvaluationReaderNumber , typename RBEIMEvaluationReaderNumber > | |
void | 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. More... | |
void | 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. More... | |
void | load_point (RBData::Point3D::Reader point_reader, Point &point) |
Helper function that loads point data. More... | |
void | load_elem_into_mesh (RBData::MeshElem::Reader mesh_elem_reader, libMesh::Elem *elem, libMesh::ReplicatedMesh &mesh) |
Helper function that loads element data. More... | |
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.
Definition at line 871 of file rb_data_deserialization.C.
References mesh, libMesh::Elem::n_nodes(), libMesh::Elem::set_node(), and libMesh::Elem::subdomain_id().
Referenced by load_rb_eim_evaluation_data().
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.
Definition at line 287 of file rb_data_deserialization.C.
References libMesh::RBParametrized::initialize_parameters(), libMesh::Real, and libMesh::RBParameters::set_value().
Referenced by load_rb_evaluation_data(), and load_rb_scm_evaluation_data().
void libMesh::RBDataDeserialization::load_point | ( | RBData::Point3D::Reader | point_reader, |
Point & | point | ||
) |
Helper function that loads point data.
Definition at line 859 of file rb_data_deserialization.C.
Referenced by load_rb_eim_evaluation_data().
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.
Definition at line 675 of file rb_data_deserialization.C.
References libMesh::Elem::build(), libMesh::ReplicatedMesh::clear(), libMesh::RBEIMEvaluation::get_interpolation_points_mesh(), libMesh::RBEvaluation::get_n_basis_functions(), libMesh::RBEIMEvaluation::interpolation_matrix, libMesh::RBEIMEvaluation::interpolation_points, libMesh::RBEIMEvaluation::interpolation_points_elem, libMesh::RBEIMEvaluation::interpolation_points_var, load_elem_into_mesh(), load_point(), load_rb_evaluation_data(), and libMesh::DofObject::set_id().
Referenced by libMesh::RBDataDeserialization::RBEIMEvaluationDeserialization::read_from_file().
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.
Definition at line 333 of file rb_data_deserialization.C.
References libMesh::RBEvaluation::Aq_Aq_representor_innerprods, libMesh::RBEvaluation::compute_RB_inner_product, libMesh::RBEvaluation::Fq_Aq_representor_innerprods, libMesh::RBEvaluation::Fq_representor_innerprods, libMesh::RBThetaExpansion::get_n_A_terms(), libMesh::RBThetaExpansion::get_n_F_terms(), libMesh::RBThetaExpansion::get_n_output_terms(), libMesh::RBThetaExpansion::get_n_outputs(), libMesh::RBEvaluation::get_rb_theta_expansion(), load_parameter_ranges(), libMesh::RBEvaluation::output_dual_innerprods, libMesh::RBEvaluation::RB_Aq_vector, libMesh::RBEvaluation::RB_Fq_vector, libMesh::RBEvaluation::RB_inner_product_matrix, libMesh::RBEvaluation::RB_output_vectors, libMesh::RBEvaluation::resize_data_structures(), and libMesh::RBEvaluation::set_n_basis_functions().
Referenced by load_rb_eim_evaluation_data(), load_transient_rb_evaluation_data(), and libMesh::RBDataDeserialization::RBEvaluationDeserialization::read_from_file().
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.
Definition at line 768 of file rb_data_deserialization.C.
References libMesh::RBSCMEvaluation::B_max, libMesh::RBSCMEvaluation::B_min, libMesh::RBSCMEvaluation::C_J, libMesh::RBSCMEvaluation::C_J_stability_vector, libMesh::RBThetaExpansion::get_n_A_terms(), libMesh::RBSCMEvaluation::get_rb_theta_expansion(), libMesh::index_range(), load_parameter_ranges(), libMesh::Real, and libMesh::RBSCMEvaluation::SCM_UB_vectors.
Referenced by libMesh::RBDataDeserialization::RBSCMEvaluationDeserialization::read_from_file().
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.
Definition at line 523 of file rb_data_deserialization.C.
References libMesh::TransientRBEvaluation::Aq_Mq_representor_innerprods, libMesh::TransientRBEvaluation::Fq_Mq_representor_innerprods, libMesh::RBThetaExpansion::get_n_A_terms(), libMesh::RBThetaExpansion::get_n_F_terms(), libMesh::TransientRBThetaExpansion::get_n_M_terms(), libMesh::RBEvaluation::get_rb_theta_expansion(), libMesh::TransientRBEvaluation::initial_L2_error_all_N, load_rb_evaluation_data(), libMesh::TransientRBEvaluation::Mq_Mq_representor_innerprods, libMesh::TransientRBEvaluation::RB_initial_condition_all_N, libMesh::TransientRBEvaluation::RB_L2_matrix, libMesh::TransientRBEvaluation::RB_M_q_vector, libMesh::RBTemporalDiscretization::set_delta_t(), libMesh::RBTemporalDiscretization::set_euler_theta(), libMesh::RBTemporalDiscretization::set_n_time_steps(), and libMesh::RBTemporalDiscretization::set_time_step().
Referenced by libMesh::RBDataDeserialization::TransientRBEvaluationDeserialization::read_from_file().