30 #ifndef PropRecorder_h    31 #define PropRecorder_h    33 #include <utility/recorder/DomainRecorderBase.h>    34 #include "utility/kernel/python_utils.h"    50     double nextTimeStampToRecord; 
    53     template <
class Container>
    55     template <
class Container>
    62     inline int getLastCommitTag(
void)
 const    64     inline double getLastTimeStamp(
void)
 const    66     double getCurrentTime(
void) 
const;
    67     double getCommittedTime(
void) 
const;
    68     int getCommitTag(
void) 
const;
    70     void setCallbackSetup(
const std::string &);
    71     std::string getCallbackSetup(
void) 
const;
    72     void setCallbackRecord(
const std::string &);
    73     std::string getCallbackRecord(
void) 
const;
    74     void setCallbackRestart(
const std::string &);
    75     std::string getCallbackRestart(
void) 
const;
    76     void setDeltaT(
const double &);
    77     double getDeltaT(
void) 
const;
    82 template <
class Container>
    86     for(
typename Container::iterator i= c.begin();i!=c.end();i++)
    88     typename Container::value_type tmp= *i;
    91             boost::python::object pyObj(boost::ref(*tmp));
    96                 << 
"; pointer is null." << std::endl;
   101 template <
class Container>
   104     for(
typename Container::iterator i= c.begin();i!=c.end();i++)
   106     typename Container::value_type tmp= *i;
   109             boost::python::object pyObj(boost::ref(*tmp));
   114                 << 
"; pointer is null." << std::endl;
 Base class for the recorders that store a link with the domain. 
Definition: DomainRecorderBase.h:42
Definition: PropRecorder.h:40
void callRestartCallback(Container &c)
Calls restart callback on each container element. 
Definition: PropRecorder.h:102
std::string CallbackRestart
Python script to execute on each restart call. 
Definition: PropRecorder.h:45
double lastTimeStamp
TimeStamp of the last record call. 
Definition: PropRecorder.h:47
void callRecordCallback(Container &c, const int &, const double &)
Calls record callback on each container element. 
Definition: PropRecorder.h:83
std::string getCurrentCombinationName(void) const
Returns the name of the current combination. 
Definition: PropRecorder.cc:48
virtual std::string getClassName(void) const
Returns demangled class name. 
Definition: EntityWithOwner.cc:90
std::string CallbackRecord
Python script to execute on each record call. 
Definition: PropRecorder.h:44
double deltaT
increment between records. 
Definition: PropRecorder.h:49
std::string CallbackSetup
Python script to execute before any record calls. 
Definition: PropRecorder.h:43
Open source finite element program for structural analysis. 
Definition: ContinuaReprComponent.h:35
void callSetupCallback(const int &, const double &)
next time to trigger the record process. 
Definition: PropRecorder.cc:57
Domain (mesh and boundary conditions) of the finite element model. 
Definition: Domain.h:117
PropRecorder(int classTag, Domain *ptr_dom=nullptr)
Constructor. 
Definition: PropRecorder.cc:36
int lastCommitTag
CommitTag of the last record call. 
Definition: PropRecorder.h:46