suanPan
ElementRecorder Class Reference

A ElementRecorder class. More...

#include <ElementRecorder.h>

Inheritance diagram for ElementRecorder:
Collaboration diagram for ElementRecorder:

Public Member Functions

void initialize (const shared_ptr< DomainBase > &) override
 
void record (const shared_ptr< DomainBase > &) override
 
void print () override
 
 Recorder (unsigned, uvec &&, OutputType, unsigned, bool, bool)
 ctor More...
 
 Recorder (const Recorder &)=delete
 
 Recorder (Recorder &&)=delete
 
- Public Member Functions inherited from Recorder
 Recorder (unsigned, uvec &&, OutputType, unsigned, bool, bool)
 ctor More...
 
 Recorder (const Recorder &)=delete
 
 Recorder (Recorder &&)=delete
 
Recorderoperator= (const Recorder &)=delete
 
Recorderoperator= (Recorder &&)=delete
 
 ~Recorder () override=default
 
virtual void initialize (const shared_ptr< DomainBase > &)
 
void set_object_tag (uvec &&)
 
const uvec & get_object_tag () const
 
void set_variable_type (OutputType)
 
const OutputTypeget_variable_type () const
 
bool if_hdf5 () const
 
bool if_record_time () const
 
void insert (double)
 
void insert (const std::vector< vec > &, unsigned)
 
const std::vector< std::vector< std::vector< vec > > > & get_data_pool () const
 
const std::vector< double > & get_time_pool () const
 
virtual void record (const shared_ptr< DomainBase > &)=0
 
void clear_status ()
 
virtual void save ()
 
void print () override
 
- Public Member Functions inherited from Tag
 Tag (unsigned=0)
 
 Tag (const Tag &)=default
 
 Tag (Tag &&)=default
 
Tagoperator= (const Tag &)=delete
 
Tagoperator= (Tag &&)=delete
 
virtual ~Tag ()=default
 
void set_tag (unsigned) const
 
unsigned get_tag () const
 
void enable ()
 
void disable ()
 
void guard ()
 
void unguard ()
 
bool is_active () const
 
bool is_guarded () const
 
virtual void print ()
 

Additional Inherited Members

- Protected Member Functions inherited from Recorder
bool if_perform_record ()
 
- Protected Attributes inherited from Recorder
const unsigned interval
 
unsigned counter = 0
 

Detailed Description

A ElementRecorder class.

Author
tlc
Date
19/10/2017
Version
0.1.0

Member Function Documentation

◆ initialize()

void ElementRecorder::initialize ( const shared_ptr< DomainBase > &  D)
overridevirtual

Reimplemented from Recorder.

Reimplemented in GroupElementRecorder.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ print()

void ElementRecorder::print ( )
overridevirtual

Reimplemented from Tag.

Reimplemented in GroupElementRecorder.

◆ record()

void ElementRecorder::record ( const shared_ptr< DomainBase > &  D)
overridevirtual

Implements Recorder.

Here is the call graph for this function:

◆ Recorder() [1/3]

Recorder::Recorder ( const Recorder )
delete

◆ Recorder() [2/3]

Recorder::Recorder ( Recorder &&  )
delete

◆ Recorder() [3/3]

Recorder::Recorder ( unsigned  T,
uvec &&  B,
OutputType  L,
unsigned  I,
bool  R,
bool  H 
)

ctor

Parameters
Tunique tag
Bobject tags
Lvariable type
Irecord interval
Rif to record time stamp
Hif to use hdf5 format

The documentation for this class was generated from the following files: