Chaste Release::3.1
TimeModifier Class Reference

#include <Modifiers.hpp>

Inheritance diagram for TimeModifier:
Collaboration diagram for TimeModifier:

List of all members.

Public Member Functions

 TimeModifier ()
virtual double Calc (double param, double time)

Detailed Description

This is just an example class to show how you might specify a custom modifier to change a parameter through time. In this case it implements a sin(time)*default_parameter factor modifier.

Definition at line 78 of file Modifiers.hpp.


Constructor & Destructor Documentation

TimeModifier::TimeModifier ( ) [inline]

Constructor

Definition at line 84 of file Modifiers.hpp.


Member Function Documentation

virtual double TimeModifier::Calc ( double  param,
double  time 
) [inline, virtual]

Perform the modification.

Parameters:
paramthe current value of the quantity which is being modified
timethe current simulation time

Implements AbstractModifier.

Definition at line 94 of file Modifiers.hpp.


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