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 RBEIMEvaluationReaderNumber > | |
void | load_rb_eim_evaluation_data (RBEIMEvaluation &rb_eim_eval, 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 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 274 of file rb_data_deserialization.C.
References libMesh::RBParametrized::initialize_parameters(), libMesh::make_range(), and libMesh::RBParameters::set_value().
Referenced by load_rb_eim_evaluation_data(), 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 1102 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, |
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 671 of file rb_data_deserialization.C.
References libMesh::RBEIMEvaluation::add_interpolation_points_boundary_id(), libMesh::RBEIMEvaluation::add_interpolation_points_comp(), libMesh::RBEIMEvaluation::add_interpolation_points_elem_id(), libMesh::RBEIMEvaluation::add_interpolation_points_elem_type(), libMesh::RBEIMEvaluation::add_interpolation_points_JxW_all_qp(), libMesh::RBEIMEvaluation::add_interpolation_points_node_id(), libMesh::RBEIMEvaluation::add_interpolation_points_phi_i_all_qp(), libMesh::RBEIMEvaluation::add_interpolation_points_phi_i_qp(), libMesh::RBEIMEvaluation::add_interpolation_points_qp(), libMesh::RBEIMEvaluation::add_interpolation_points_side_index(), libMesh::RBEIMEvaluation::add_interpolation_points_spatial_indices(), libMesh::RBEIMEvaluation::add_interpolation_points_subdomain_id(), libMesh::RBEIMEvaluation::add_interpolation_points_xyz(), libMesh::RBEIMEvaluation::add_interpolation_points_xyz_perturbations(), libMesh::RBEIMEvaluation::get_eim_solutions_for_training_set(), libMesh::RBEIMEvaluation::get_parametrized_function(), libMesh::index_range(), libMesh::RBEIMEvaluation::initialize_param_fn_spatial_indices(), libMesh::RBParametrizedFunction::is_lookup_table, load_parameter_ranges(), load_point(), libMesh::make_range(), libMesh::RBParametrizedFunction::on_mesh_nodes(), libMesh::RBParametrizedFunction::on_mesh_sides(), libMesh::RBEIMEvaluation::resize_data_structures(), libMesh::RBEIMEvaluation::set_error_indicator_interpolation_row(), libMesh::RBEIMEvaluation::set_interpolation_matrix_entry(), and libMesh::RBEIMEvaluation::set_n_basis_functions().
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 329 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_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 1011 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(), load_parameter_ranges(), libMesh::make_range(), 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 519 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().