IBAMR  IBAMR version 0.19.
Public Member Functions | Private Attributes | Friends | List of all members
SAMRAI::tbox::StatisticRestartDatabase Class Reference

#include <tbox/Statistician.h>

Inheritance diagram for SAMRAI::tbox::StatisticRestartDatabase:
Inheritance graph
[legend]

Public Member Functions

 StatisticRestartDatabase (const std::string &object_name, bool register_for_restart, bool read_from_restart)
 
virtual ~StatisticRestartDatabase ()
 
void putToDatabase (Pointer< Database > db)
 
void getFromRestart ()
 

Private Attributes

std::string d_object_name
 
bool d_registered_for_restart
 

Friends

class Statistician
 

Constructor & Destructor Documentation

◆ StatisticRestartDatabase()

SAMRAI::tbox::StatisticRestartDatabase::StatisticRestartDatabase ( const std::string &  object_name,
bool  register_for_restart,
bool  read_from_restart 
)

◆ ~StatisticRestartDatabase()

virtual SAMRAI::tbox::StatisticRestartDatabase::~StatisticRestartDatabase ( )
virtual

Member Function Documentation

◆ putToDatabase()

void SAMRAI::tbox::StatisticRestartDatabase::putToDatabase ( Pointer< Database db)
virtual

This method serializes the object by writing data to the specified database.

NOTE: The asymetry (not having a "getFromDatabase") is from the historical method for doing SAMRAI restart. The constructor for a Serializable class should get the database to restore state from by making a getRootDatabase call to the RestartManager.

Implements SAMRAI::tbox::Serializable.

◆ getFromRestart()

void SAMRAI::tbox::StatisticRestartDatabase::getFromRestart ( )

Friends And Related Function Documentation

◆ Statistician

friend class Statistician
friend

Member Data Documentation

◆ d_object_name

std::string SAMRAI::tbox::StatisticRestartDatabase::d_object_name
private

◆ d_registered_for_restart

bool SAMRAI::tbox::StatisticRestartDatabase::d_registered_for_restart
private

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