Chaste  Release::2017.1
AbstractUpdateRule< DIM > Class Template Referenceabstract

#include <AbstractUpdateRule.hpp>

+ Inheritance diagram for AbstractUpdateRule< DIM >:
+ Collaboration diagram for AbstractUpdateRule< DIM >:

Public Member Functions

 AbstractUpdateRule ()
 
virtual ~AbstractUpdateRule ()
 
void OutputUpdateRuleInfo (out_stream &rParamsFile)
 
virtual void OutputUpdateRuleParameters (out_stream &rParamsFile)=0
 
- Public Member Functions inherited from Identifiable
virtual ~Identifiable ()
 
std::string GetIdentifier () const
 

Private Member Functions

template<class Archive >
void serialize (Archive &archive, const unsigned int version)
 

Friends

class boost::serialization::access
 

Detailed Description

template<unsigned DIM>
class AbstractUpdateRule< DIM >

An abstract update rule class, for use in on-lattice cell-based simulations.

Definition at line 48 of file AbstractUpdateRule.hpp.

Constructor & Destructor Documentation

template<unsigned DIM>
AbstractUpdateRule< DIM >::AbstractUpdateRule ( )

Default constructor.

Definition at line 39 of file AbstractUpdateRule.cpp.

Referenced by AbstractUpdateRule< DIM >::serialize().

template<unsigned DIM>
AbstractUpdateRule< DIM >::~AbstractUpdateRule ( )
virtual

Destructor.

Definition at line 44 of file AbstractUpdateRule.cpp.

Referenced by AbstractUpdateRule< DIM >::serialize().

Member Function Documentation

template<unsigned DIM>
void AbstractUpdateRule< DIM >::OutputUpdateRuleInfo ( out_stream &  rParamsFile)

Output update rule to file. Call OutputUpdateRuleParameters() to output all member variables to file.

Parameters
rParamsFilea file stream

Definition at line 49 of file AbstractUpdateRule.cpp.

Referenced by AbstractUpdateRule< DIM >::serialize().

template<unsigned DIM>
template<class Archive >
void AbstractUpdateRule< DIM >::serialize ( Archive &  archive,
const unsigned int  version 
)
inlineprivate

Boost Serialization method for archiving/checkpointing. Archives the object and its member variables.

Parameters
archiveThe boost archive.
versionThe current version of this class.

Definition at line 60 of file AbstractUpdateRule.hpp.

References AbstractUpdateRule< DIM >::AbstractUpdateRule(), AbstractUpdateRule< DIM >::OutputUpdateRuleInfo(), AbstractUpdateRule< DIM >::OutputUpdateRuleParameters(), TEMPLATED_CLASS_IS_ABSTRACT_1_UNSIGNED, and AbstractUpdateRule< DIM >::~AbstractUpdateRule().

Friends And Related Function Documentation

template<unsigned DIM>
friend class boost::serialization::access
friend

Needed for serialization.

Definition at line 51 of file AbstractUpdateRule.hpp.


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