|
libMesh
|
This class serializes an RBEvaluation object using the Cap'n Proto library. More...
#include <rb_data_serialization.h>
Public Member Functions | |
| RBEvaluationSerialization (RBEvaluation &rb_eval) | |
| Initialize a new buffer using the structure from the Cap'n'Proto schema described in rb_data.capnp. More... | |
| virtual | ~RBEvaluationSerialization () |
| Destructor. More... | |
| void | write_to_file (const std::string &path) |
| Write the Cap'n'Proto buffer to disk. More... | |
Private Attributes | |
| RBEvaluation & | _rb_eval |
| The RBEvaluation object that will be written to disk. More... | |
This class serializes an RBEvaluation object using the Cap'n Proto library.
Serializes RBEvaluation objects using Cap'n Proto.
Definition at line 58 of file rb_data_serialization.h.
| libMesh::RBDataSerialization::RBEvaluationSerialization::RBEvaluationSerialization | ( | RBEvaluation & | rb_eval | ) |
Initialize a new buffer using the structure from the Cap'n'Proto schema described in rb_data.capnp.
Definition at line 72 of file rb_data_serialization.C.
|
virtual |
| void libMesh::RBDataSerialization::RBEvaluationSerialization::write_to_file | ( | const std::string & | path | ) |
Write the Cap'n'Proto buffer to disk.
Definition at line 82 of file rb_data_serialization.C.
References _rb_eval, libMesh::RBDataSerialization::add_rb_evaluation_data_to_builder(), and libMesh::ParallelObject::comm().
Referenced by main().
|
private |
The RBEvaluation object that will be written to disk.
Definition at line 83 of file rb_data_serialization.h.
Referenced by write_to_file().
1.8.16