suanPan
GlobalMassRecorder Class Referencefinal

A GlobalMassRecorder class. More...

#include <GlobalMassRecorder.h>

Inheritance diagram for GlobalMassRecorder:
Collaboration diagram for GlobalMassRecorder:

Public Member Functions

 GlobalMassRecorder (unsigned, unsigned, bool, bool)
 
void record (const shared_ptr< DomainBase > &) override
 
void print () override
 
- Public Member Functions inherited from GlobalRecorder
 GlobalRecorder (unsigned, OutputType, unsigned, bool, bool)
 
void record (const shared_ptr< DomainBase > &) override
 
void print () override
 
- 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 GlobalMassRecorder class.

Author
tlc
Date
01/08/2020
Version
0.1.0

Constructor & Destructor Documentation

◆ GlobalMassRecorder()

GlobalMassRecorder::GlobalMassRecorder ( unsigned  T,
unsigned  I,
bool  R,
bool  H 
)

Member Function Documentation

◆ print()

void GlobalMassRecorder::print ( )
overridevirtual

Reimplemented from Tag.

◆ record()

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

Implements Recorder.

Here is the call graph for this function:

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