Antonio S. Torralba
Universidad Complutense  

Chemistry

BBM1

Biophysics

 

FUNDER - Documentation


Feria Only in Spanish. Sorry!

Funder

Main

Theory

Documents

Example

Download

Contact


 

System - Public methods

Prev

C++ classes

Up

System - Protected data members

Next



System - PROTECTED METHODS


void IntegrateOneStep();

System provides this elementary integration engine that implements Euler's algorithm. It uses the values of the protected data members numc, c, dc and dtint. The user can override this method, which is needed by Functional and InitSS.


void InitSS();

This method calculates and stores in ss the steady state concentrations of the system. It also sets the input and output reference fluxes, inR and outR, respectively. The input fluxes and other parameters must be specified in the user-defined constructor of the derived class. This method should always be called by the user's constructor. The steady state is defined as the set of concentrations that produce concentration time derivatives below the constant CONV for all species. This constant is set to 1e-6 in funder.h. The user can override it by defining it before including funder.h (or at the beginning of funder.cpp, if the single-file version of the source code is used).


virtual void EvaluateSystem()=0;

This is an abstract method, for which no definition is given in System. Hence, the class System is an abstract one and cannot be instantiated (=0 prevents the user from doing so). The user must provide this method in any derived class. It is supposed to calculate the velocities, v, and the derivatives of the concentrations, dc, from the current values of the concentrations, c. The differential equations of the system must be implemented in this method, or in any other method this one calls.



Prev

Up

Next

System
- Public methods

C++ classes

System
- Protected data members

 

Valid HTML 4.01!

Copyright © 2003-2013 Antonio Sánchez Torralba
Last modified:
Monday, 04-Mar-2013 11:58:25 CET

© 2013 Antonio Sánchez Torralba