|
| v0.14.0
|
Go to the documentation of this file.
10 #ifndef __SERIESRECORDER_HPP__
11 #define __SERIESRECORDER_HPP__
130 const std::string &problem_name,
163 const int step_number);
178 virtual bool check_series(
const std::string &name)
const;
180 virtual SeriesStep_multiIndex::index<SeriesName_mi_tag>::type::iterator
182 virtual SeriesStep_multiIndex::index<SeriesName_mi_tag>::type::iterator
205 #define _IT_SERIES_STEPS_BY_NAME_FOR_LOOP_(RECORDER, NAME, IT) \
206 SeriesStep_multiIndex::index<SeriesName_mi_tag>::type::iterator IT = \
207 (RECORDER)->get_series_steps_byName_begin(NAME); \
208 IT != (RECORDER)->get_series_steps_byName_end(NAME); \
214 #endif // __SERIESRECORDER_HPP__
MoFEMErrorCode clearMap()
clear multi-index container
virtual SeriesStep_multiIndex::index< SeriesName_mi_tag >::type::iterator get_series_steps_byName_begin(const std::string &name)
virtual MoFEMErrorCode record_field(const std::string &serie_name, const std::string &field_name, const BitRefLevel &bit, const BitRefLevel &mask)
virtual bool check_series(const std::string &name) const
check if series is in database
SeriesRecorder(const MoFEM::Core &core)
PetscErrorCode MoFEMErrorCode
MoFEM/PETSc error code.
Series_multiIndex sEries
recorded series
SeriesRecorder * get_series_recorder_ptr()
return pointer to meshset manager
SeriesStep_multiIndex seriesSteps
recorded series steps
virtual MoFEMErrorCode add_series_recorder(const std::string &series_name)
Tag th_SeriesName
Recorded series name.
virtual MoFEMErrorCode print_series_steps()
implementation of Data Operators for Forces and Sources
virtual MoFEMErrorCode record_begin(const std::string &serie_name)
MoFEMErrorCode query_interface(boost::typeindex::type_index type_index, UnknownInterface **iface) const
virtual MoFEMErrorCode finalize_series_recorder(const std::string &serie_name)
multi_index_container< FieldSeriesStep, indexed_by< ordered_unique< tag< Composite_SeriesID_And_Step_mi_tag >, composite_key< FieldSeriesStep, const_mem_fun< FieldSeriesStep::interface_type_FieldSeries, EntityID, &FieldSeriesStep::get_meshset_id >, member< FieldSeriesStep, int, &FieldSeriesStep::step_number > > >, ordered_unique< tag< Composite_SeriesName_And_Step_mi_tag >, composite_key< FieldSeriesStep, const_mem_fun< FieldSeriesStep::interface_type_FieldSeries, boost::string_ref, &FieldSeriesStep::getNameRef >, member< FieldSeriesStep, int, &FieldSeriesStep::step_number > > >, ordered_non_unique< tag< SeriesName_mi_tag >, const_mem_fun< FieldSeriesStep::interface_type_FieldSeries, boost::string_ref, &FieldSeriesStep::getNameRef > >, ordered_non_unique< tag< Composite_SeriesName_And_Time_mi_tag >, composite_key< FieldSeriesStep, const_mem_fun< FieldSeriesStep::interface_type_FieldSeries, boost::string_ref, &FieldSeriesStep::getNameRef >, const_mem_fun< FieldSeriesStep, double, &FieldSeriesStep::get_time > > > > > SeriesStep_multiIndex
Step multi index.
virtual MoFEMErrorCode load_series_data(const std::string &serie_name, const int step_number)
virtual SeriesStep_multiIndex::index< SeriesName_mi_tag >::type::iterator get_series_steps_byName_end(const std::string &name)
constexpr auto field_name
virtual MoFEMErrorCode delete_recorder_series(const std::string &series_name)
base class for all interface classes
MoFEMErrorCode initialiseDatabaseFromMesh(int verb=0)
~SeriesRecorder()
destructor
MoFEMErrorCode getTags(int verb=-1)
get tags handlers used on meshsets
const SeriesRecorder * get_series_recorder_ptr() const
return pointer to meshset manager
virtual MoFEMErrorCode record_problem(const std::string &serie_name, const Problem *problemPtr, RowColData rc)
std::bitset< BITREFLEVEL_SIZE > BitRefLevel
Bit structure attached to each entity identifying to what mesh entity is attached.
keeps basic data about problem
virtual MoFEMErrorCode initialize_series_recorder(const std::string &serie_name)
virtual MoFEMErrorCode record_end(const std::string &serie_name, double time=0)
multi_index_container< FieldSeries, indexed_by< ordered_unique< tag< SeriesID_mi_tag >, const_mem_fun< FieldSeries, EntityID, &FieldSeries::get_meshset_id > >, ordered_unique< tag< SeriesName_mi_tag >, const_mem_fun< FieldSeries, boost::string_ref, &FieldSeries::getNameRef > > > > Series_multiIndex
Series multi index.