Structure for keeping time and step.
More...
#include <src/multi_indices/SeriesMultiIndices.hpp>
Structure for keeping time and step.
- Bug:
- Fix member functions names. Not follow namining convention.
Definition at line 112 of file SeriesMultiIndices.hpp.
◆ interface_type_FieldSeries
◆ FieldSeriesStep()
MoFEM::FieldSeriesStep::FieldSeriesStep |
( |
Interface & |
moab, |
|
|
const FieldSeries * |
_FieldSeries_ptr, |
|
|
const int |
_step_number |
|
) |
| |
Definition at line 226 of file SeriesMultiIndices.cpp.
229 : interface_FieldSeries<FieldSeries>(_FieldSeries_ptr),
233 CHKERRABORT(PETSC_COMM_WORLD,
ierr);
◆ get()
Definition at line 236 of file SeriesMultiIndices.cpp.
240 std::vector<EntityHandle> contained;
242 if (contained.size() <= (
unsigned int)
step_number) {
249 1, (
const void **)&handles_ptr, &handles_size);
254 (
const void **)&uids_ptr, &uids_size);
257 if (handles_size != uids_size) {
264 (
const void **)&data_ptr, &data_size);
267 if (data_size != uids_size) {
271 typedef multi_index_container<
272 boost::shared_ptr<DofEntity>,
276 tag<Composite_Ent_and_ShortId_mi_tag>,
279 const_mem_fun<DofEntity, EntityHandle, &DofEntity::getEnt>,
280 const_mem_fun<DofEntity,
ShortId,
284 DofEntity_multiIndex_short_uid_view;
286 DofEntity_multiIndex_short_uid_view short_uid_view;
287 short_uid_view.insert(dofsField.begin(), dofsField.end());
289 for (
int ii = 0; ii < uids_size; ii++) {
294 auto dit = short_uid_view.find(boost::make_tuple(ent, uid));
295 if (dit != short_uid_view.end()) {
296 (*dit)->getFieldData() = val;
299 "data inconsistency, getting data series, dof on ENTITY and "
300 "ShortId can't be found");
◆ get_step_number()
int MoFEM::FieldSeriesStep::get_step_number |
( |
| ) |
const |
|
inline |
◆ get_time()
double MoFEM::FieldSeriesStep::get_time |
( |
| ) |
const |
|
inline |
◆ get_time_init()
Definition at line 307 of file SeriesMultiIndices.cpp.
310 std::vector<EntityHandle> contained;
312 if (contained.size() <= (
unsigned int)
step_number) {
318 (
const void **)&time_ptr, &size);
◆ operator<<
Definition at line 328 of file SeriesMultiIndices.cpp.
329 os << *(e.get_FieldSeries_ptr()) <<
" step number " << e.step_number
330 <<
" time " << e.get_time();
◆ step_number
int MoFEM::FieldSeriesStep::step_number |
◆ time
double MoFEM::FieldSeriesStep::time |
The documentation for this struct was generated from the following files: