COPASI API
4.40.278
|
The CILDMMethod class implements the ILDM method. More...
#include <CILDMMethod.h>
Public Member Functions | |
CILDMMethod (const CDataContainer *pParent, const CTaskEnum::Method &methodType=CTaskEnum::Method::tssILDM, const CTaskEnum::Task &taskType=CTaskEnum::Task::tssAnalysis) | |
CILDMMethod (const CILDMMethod &src, const CDataContainer *pParent) | |
virtual void | createAnnotationsM () |
void | emptyVectors () |
const CDataArray * | getReacSlowSpacePrintAnn () const |
const CDataArray * | getTMP1PrintAnn () const |
const CDataArray * | getTMP2PrintAnn () const |
const CDataArray * | getTMP3PrintAnn () const |
const CDataArray * | getVfastSpacePrintAnn () const |
const CDataArray * | getVslowMetabPrintAnn () const |
const CDataArray * | getVslowPrintAnn () const |
const CDataArray * | getVslowSpacePrintAnn () const |
virtual void | initializeOutput () |
virtual void | initializeParameter () |
virtual void | printResult (std::ostream *ostream) const |
virtual bool | setAnnotationM (size_t step) |
void | setVectors (int slowMode) |
virtual void | start () |
virtual void | step (const double &deltaT) |
virtual | ~CILDMMethod () |
Public Member Functions inherited from CTSSAMethod | |
CTSSAMethod (const CDataContainer *pParent, const CTaskEnum::Method &methodType, const CTaskEnum::Task &taskType=CTaskEnum::Task::tssAnalysis) | |
CTSSAMethod (const CTSSAMethod &src, const CDataContainer *pParent) | |
void | emptyVectors () |
const int & | getCurrentStep () const |
const CDataArray * | getTable (const std::string &name) |
const std::vector< std::string > & | getTableNames () const |
C_FLOAT64 | getTimeForStep (int step) const |
CVector< C_FLOAT64 > | getVec_TimeScale (int step) |
virtual bool | isValidProblem (const CCopasiProblem *pProblem) |
void | setProblem (CTSSAProblem *problem) |
void | setVectors (int slowMode) |
virtual | ~CTSSAMethod () |
Public Member Functions inherited from CCopasiMethod | |
CCopasiMethod (const CCopasiMethod &src, const CDataContainer *pParent) | |
virtual void | clearCallBack () |
const CProcessReportLevel & | getCallBack () const |
CMathContainer * | getMathContainer () const |
const CTaskEnum::Method & | getSubType () const |
const CTaskEnum::Task & | getType () const |
virtual void | load (CReadConfig &configBuffer, CReadConfig::Mode mode=CReadConfig::SEARCH) |
CCopasiMethod & | operator= (const CCopasiMethod &rhs) |
virtual void | print (std::ostream *ostream) const |
virtual bool | setCallBack (CProcessReportLevel callBack) |
void | setMathContainer (CMathContainer *pContainer) |
virtual | ~CCopasiMethod () |
Public Member Functions inherited from CCopasiParameterGroup | |
bool | addGroup (const std::string &name) |
void | addParameter (CCopasiParameter *pParameter) |
bool | addParameter (const CCopasiParameter ¶meter) |
bool | addParameter (const std::string &name, const CCopasiParameter::Type type, const CCopasiParameter::UserInterfaceFlag &flag=CCopasiParameter::UserInterfaceFlag::All) |
template<class CType > | |
bool | addParameter (const std::string &name, const CCopasiParameter::Type type, const CType &value, const CCopasiParameter::UserInterfaceFlag &flag=CCopasiParameter::UserInterfaceFlag::All) |
virtual bool | applyData (const CData &data, CUndoData::CChangeSet &changes) |
CCopasiParameterGroup * | assertGroup (const std::string &name, const CCopasiParameter::UserInterfaceFlag &flag=CCopasiParameter::UserInterfaceFlag::All) |
template<class CType > | |
CType * | assertParameter (const std::string &name, const CCopasiParameter::Type type, const CType &defaultValue, const CCopasiParameter::UserInterfaceFlag &flag=CCopasiParameter::UserInterfaceFlag::All) |
index_iterator | beginIndex () const |
const_name_iterator | beginName () const |
CCopasiParameterGroup (const CCopasiParameterGroup &src, const CDataContainer *pParent=NULL) | |
CCopasiParameterGroup (const std::string &name, const CDataContainer *pParent=NO_PARENT, const std::string &objectType="ParameterGroup") | |
void | clear () |
virtual void | createUndoData (CUndoData &undoData, const CUndoData::Type &type, const CData &oldData=CData(), const CCore::Framework &framework=CCore::Framework::ParticleNumbers) const |
index_iterator | endIndex () const |
const_name_iterator | endName () const |
CCopasiParameterGroup & | getElementTemplates () |
const CCopasiParameterGroup & | getElementTemplates () const |
CCopasiParameterGroup * | getGroup (const size_t &index) |
const CCopasiParameterGroup * | getGroup (const size_t &index) const |
CCopasiParameterGroup * | getGroup (const std::string &name) |
const CCopasiParameterGroup * | getGroup (const std::string &name) const |
virtual size_t | getIndex (const CDataObject *pObject) const |
size_t | getIndex (const std::string &name) const |
std::string | getKey (const size_t &index) const |
std::string | getKey (const std::string &name) const |
virtual const std::string & | getName (const size_t &index) const |
virtual const CObjectInterface * | getObject (const CCommonName &cn) const |
CCopasiParameter * | getParameter (const size_t &index) |
const CCopasiParameter * | getParameter (const size_t &index) const |
CCopasiParameter * | getParameter (std::string name) |
const CCopasiParameter * | getParameter (std::string name) const |
CCopasiParameter::Type | getType (const size_t &index) const |
CCopasiParameter::Type | getType (const std::string &name) const |
std::string | getUniqueParameterName (const CCopasiParameter *pParameter) const |
template<class CType > | |
CType & | getValue (const size_t &index) |
template<class CType > | |
const CType & | getValue (const size_t &index) const |
template<class CType > | |
CType & | getValue (const std::string &name) |
template<class CType > | |
const CType & | getValue (const std::string &name) const |
bool | haveTemplate () const |
virtual CUndoObjectInterface * | insert (const CData &data) |
CCopasiParameterGroup & | operator= (const CCopasiParameterGroup &rhs) |
virtual bool | remove (CDataObject *pObject) |
bool | removeParameter (CCopasiParameter *pParameter) |
bool | removeParameter (const size_t &index) |
bool | removeParameter (const std::string &name) |
virtual void | setUserInterfaceFlag (const UserInterfaceFlag &flag) |
template<class CType > | |
bool | setValue (const size_t &index, const CType &value) |
template<class CType > | |
bool | setValue (const std::string &name, const CType &value) |
size_t | size (const UserInterfaceFlag &require=UserInterfaceFlag::None, const UserInterfaceFlag &exclude=UserInterfaceFlag::None) const |
bool | swap (const size_t &iFrom, const size_t &iTo) |
bool | swap (index_iterator &from, index_iterator &to) |
virtual CData | toData () const |
virtual void | updateIndex (const size_t &index, const CUndoObjectInterface *pUndoObject) |
virtual | ~CCopasiParameterGroup () |
Public Member Functions inherited from CCopasiParameter | |
CCopasiParameter (const CCopasiParameter &src, const CDataContainer *pParent) | |
CCopasiParameter (const std::string &name, const Type &type, const void *pValue=NULL, const CDataContainer *pParent=NO_PARENT, const std::string &objectType="Parameter") | |
virtual CCommonName | getCN () const override |
template<class CType > | |
const CType & | getDefault () const |
virtual const std::string & | getKey () const override |
virtual std::string | getObjectDisplayName () const override |
const CCopasiParameter::Type & | getType () const |
const UserInterfaceFlag & | getUserInterfaceFlag () const |
template<class CType > | |
std::vector< std::pair< CType, CType > > & | getValidValues () |
template<class CType > | |
const std::vector< std::pair< CType, CType > > & | getValidValues () const |
void * | getValidValuesPointer () const |
template<class CType > | |
CType & | getValue () |
template<class CType > | |
const CType & | getValue () const |
virtual void * | getValuePointer () const override |
CDataObject * | getValueReference () const |
bool | hasValidValues () const |
bool | isBasic () const |
bool | isDefault () const |
bool | isEditable () const |
bool | isUnsupported () const |
bool | isValidValue (const bool &value) const |
bool | isValidValue (const C_FLOAT64 &value) const |
bool | isValidValue (const C_INT32 &value) const |
bool | isValidValue (const CCommonName &value) const |
template<class CType > | |
bool | isValidValue (const CType &) const |
bool | isValidValue (const std::string &value) const |
bool | isValidValue (const std::vector< CCopasiParameter * > &value) const |
bool | isValidValue (const unsigned C_INT32 &value) const |
CCopasiParameter & | operator= (const CCopasiParameter &rhs) |
template<class CType > | |
bool | setDefault (const CType &defaultValue) |
bool | setDefault (const std::vector< CCopasiParameter * > &defaultValue) |
virtual bool | setObjectParent (const CDataContainer *pParent) override |
template<class CType , class Enum > | |
bool | setValidValues (const CEnumAnnotation< CType, Enum > &validValues) |
template<class CType > | |
bool | setValidValues (const std::vector< std::pair< CType, CType > > &validValues) |
template<class CType > | |
bool | setValue (const CType &value) |
bool | setValue (const std::vector< CCopasiParameter * > &value) |
virtual | ~CCopasiParameter () |
Public Member Functions inherited from CDataContainer | |
virtual bool | add (CDataObject *pObject, const bool &adopt=true) |
virtual bool | appendDeletedDependentData (CUndoData &undoData) const |
CDataContainer (const CDataContainer &src, const CDataContainer *pParent) | |
CDataContainer (const std::string &name, const CDataContainer *pParent=NO_PARENT, const std::string &type="CN", const CFlags< Flag > &flag=CFlags< Flag >::None) | |
virtual std::string | getChildObjectUnits (const CDataObject *pObject) const |
void | getDescendants (CDataObject::DataObjectSet &descendants, const bool &recursive=false) const |
virtual objectMap & | getObjects () |
virtual const objectMap & | getObjects () const |
virtual const std::string | getUnits () const override |
virtual const CDataObject * | getValueObject () const override |
void | objectRenamed (CDataObject *pObject, const std::string &oldName) |
virtual | ~CDataContainer () |
Public Member Functions inherited from CDataObject | |
void | addIssue (const CIssue &issue) |
void | addReference (const CDataContainer *pReference) |
virtual void | calculateValue () override |
CDataObject (const CDataObject &src, const CDataContainer *pParent=NULL) | |
virtual void | destruct () override |
virtual const CDataObject * | getDataObject () const override |
CDataContainer * | getObjectAncestor (const std::string &type) const |
CDataModel * | getObjectDataModel () const |
const CObjectInterface * | getObjectFromCN (const CCommonName &cn) const |
const std::string & | getObjectName () const |
CDataContainer * | getObjectParent () const |
const std::string & | getObjectType () const |
virtual const CObjectInterface::ObjectSet & | getPrerequisites () const override |
virtual const CValidity & | getValidity () const override |
bool | hasFlag (const Flag &flag) const |
virtual bool | isPrerequisiteForContext (const CObjectInterface *pObject, const CCore::SimulationContextFlag &context, const CObjectInterface::ObjectSet &changedObjects) const override |
bool | prerequisitsContains (const DataObjectSet &objects) const |
void | removeIssue (const CIssue &issue) |
void | removeReference (const CDataContainer *pReference) |
bool | setObjectName (const std::string &name) |
void | validityChanged (const CValidity &changedValidity) override |
void | validityRemoved (const CValidity &changedValidity) |
virtual | ~CDataObject () |
Public Member Functions inherited from CObjectInterface | |
CObjectInterface () | |
CObjectInterface (const CObjectInterface &src) | |
virtual | ~CObjectInterface () |
Public Member Functions inherited from CUndoObjectInterface | |
CUndoObjectInterface () | |
CUndoObjectInterface (const CUndoObjectInterface &src) | |
bool | generateUuid () |
const xg::Guid & | getUuid () const |
bool | setUuid (const std::string &uuid) |
bool | setUuid (const xg::Guid &uuid) |
virtual | ~CUndoObjectInterface () |
Protected Member Functions | |
void | deuflhard (C_INT &slow, C_INT &info) |
void | newton (C_FLOAT64 *ys, C_INT &slow, C_INT &info) |
void | transformation_norm (C_INT &slow, C_INT &info) |
Protected Member Functions inherited from CTSSAMethod | |
void | calculateDerivatives (C_FLOAT64 *X1, C_FLOAT64 *Y1, bool useReducedModel) |
bool | elevateChildren () |
void | integrationMethodStart () |
void | integrationStep (const double &deltaT) |
void | map_index (C_FLOAT64 *eval_r, C_INT *index, const C_INT &dim) |
void | map_index_desc (C_FLOAT64 *eval_r, C_INT *index, const C_INT &dim) |
void | mat_anal_fast_space (C_INT &slow) |
void | mat_anal_fast_space_thomas (C_INT &slow) |
void | mat_anal_metab (C_INT &slow) |
void | mat_anal_mod (C_INT &slow) |
void | mat_anal_mod_space (C_INT &slow) |
double | orthog (C_INT &number1, C_INT &number2) |
void | schur (C_INT &info) |
void | schur_desc (C_INT &info) |
void | sylvester (C_INT slow, C_INT &info) |
void | update_nid (C_INT *index, C_INT *nid, const C_INT &dim) |
void | update_pid (C_INT *index, C_INT *pid, const C_INT &dim) |
virtual void | updateCurrentTime () |
Protected Member Functions inherited from CCopasiMethod | |
CCopasiMethod (const CCopasiMethod &src) | |
CCopasiMethod (const CDataContainer *pParent, const CTaskEnum::Method &methodType, const CTaskEnum::Task &taskType) | |
virtual void | signalMathContainerChanged () |
Protected Member Functions inherited from CCopasiParameterGroup | |
CCopasiParameterGroup () | |
Protected Member Functions inherited from CCopasiParameter | |
CCopasiParameter (const CCopasiParameter &src) | |
Protected Member Functions inherited from CDataContainer | |
template<class CType > | |
CDataMatrixReference< CType > * | addMatrixReference (const std::string &name, CType &reference, const CFlags< Flag > &flag=CFlags< Flag >::None) |
template<class CType > | |
CDataObjectReference< CType > * | addObjectReference (const std::string &name, CType &reference, const CFlags< Flag > &flag=CFlags< Flag >::None) |
template<class CType > | |
CDataVectorReference< CType > * | addVectorReference (const std::string &name, CType &reference, const CFlags< Flag > &flag=CFlags< Flag >::None) |
CDataContainer (const CDataContainer &src) | |
void | initObjects () |
Protected Member Functions inherited from CDataObject | |
CDataObject () | |
CDataObject (const std::string &name, const CDataContainer *pParent=static_cast< CDataContainer * >((void *) 0), const std::string &type="CN", const CFlags< Flag > &flag=CFlags< Flag >::None) | |
Private Member Functions | |
CILDMMethod () | |
Additional Inherited Members | |
Public Types inherited from CCopasiParameterGroup | |
typedef CDataObjectMap::const_type_iterator< CCopasiParameter > | const_name_iterator |
typedef std::vector< CCopasiParameter * > | elements |
typedef elements::iterator | index_iterator |
typedef CDataObjectMap::type_iterator< CCopasiParameter > | name_iterator |
Public Types inherited from CCopasiParameter | |
enum class | eUserInterfaceFlag { editable , basic , unsupported , __SIZE } |
enum class | Type { DOUBLE = 0 , UDOUBLE , INT , UINT , BOOL , GROUP , STRING , CN , KEY , FILE , EXPRESSION , INVALID , __SIZE } |
typedef CFlags< eUserInterfaceFlag > | UserInterfaceFlag |
Public Types inherited from CDataContainer | |
typedef CDataObjectMap | objectMap |
Public Types inherited from CDataObject | |
typedef std::set< const CDataObject * > | DataObjectSet |
enum | Flag { Container , Vector , Matrix , NameVector , Reference , ValueBool , ValueInt , ValueInt64 , ValueDbl , NonUniqueName , StaticString , ValueString , Separator , DisplayName , ModelEntity , Array , DataModel , Root , Gui , __SIZE } |
Public Types inherited from CObjectInterface | |
typedef std::vector< const CDataContainer * > | ContainerList |
typedef std::set< const CObjectInterface * > | ObjectSet |
Static Public Member Functions inherited from CCopasiParameter | |
static void | allocateValidValues (const Type &type, void *&pValidValues) |
static void | allocateValue (const Type &type, void *&pValue) |
static void | assignValue (const Type &type, void *&pValue, const void *pNewValue) |
static void | deleteValidValues (const Type &type, void *&pValidValues) |
static void | deleteValue (const Type &type, void *&pValue) |
static CCopasiParameter * | fromData (const CData &data, CUndoObjectInterface *pParent) |
Static Public Member Functions inherited from CDataContainer | |
static CDataContainer * | fromData (const CData &data, CUndoObjectInterface *pParent) |
Static Public Member Functions inherited from CDataObject | |
static CDataObject * | fromData (const CData &data, CUndoObjectInterface *pParent) |
static void | sanitizeObjectName (std::string &name) |
Static Public Member Functions inherited from CObjectInterface | |
static const CDataObject * | DataObject (const CObjectInterface *pInterface) |
static CObjectInterface * | GetObjectFromCN (const ContainerList &listOfContainer, const CCommonName &objName) |
Static Public Member Functions inherited from CUndoObjectInterface | |
template<class CType > | |
static CType * | fromData (const CData &, CUndoObjectInterface *) |
Static Public Attributes inherited from CCopasiParameter | |
static const CEnumAnnotation< std::string, Type > | TypeName |
static const CEnumAnnotation< std::string, Type > | XMLType |
Static Public Attributes inherited from CDataContainer | |
static const CObjectInterface::ContainerList | EmptyList |
The CILDMMethod class implements the ILDM method.
More information under: http://copasi.org/Support/User_Manual/Methods/Time_Scale_Separation_Methods/ILDM_Deuflhard/
|
private |
Default constructor.
CILDMMethod::CILDMMethod | ( | const CDataContainer * | pParent, |
const CTaskEnum::Method & | methodType = CTaskEnum::Method::tssILDM , |
||
const CTaskEnum::Task & | taskType = CTaskEnum::Task::tssAnalysis |
||
) |
Specific constructor
const | CDataContainer * pParent |
const | CTaskEnum::Method & methodType (default: tssILDM) |
const | CTaskEnum::Task & taskType (default: tssAnalysis) |
References createAnnotationsM(), and initializeParameter().
CILDMMethod::CILDMMethod | ( | const CILDMMethod & | src, |
const CDataContainer * | pParent | ||
) |
Copy constructor.
const CILDMMethod & | src |
const | CDataContainer * pParent (default: NULL) |
References createAnnotationsM(), and initializeParameter().
|
virtual |
Destructor.
|
virtual |
create the CArraAnnotations for every ILDM-tab in the CQTSSAResultSubWidget input for each CArraAnnotations is a seperate CMatrix
Create the CArraAnnotations for every ILDM-tab in the CQTSSAResultSubWidget. Input for each CArraAnnotations is a seperate CMatrix.
Reimplemented from CTSSAMethod.
References CTSSAMethod::mapTableToName, mReacSlowSpacePrint, mTMP1Print, mTMP2Print, mTMP3Print, mVfastSpacePrint, mVslowMetabPrint, mVslowPrint, mVslowSpacePrint, pReacSlowSpacePrintAnn, pTmp1, pTMP1, pTMP1PrintAnn, pTmp2, pTMP2, pTMP2PrintAnn, pTmp3, pTMP3, pTMP3PrintAnn, pTmp4, pTmp5, pVfastSpacePrintAnn, pVslowMetabPrintAnn, pVslowPrintAnn, pVslowSpacePrintAnn, CDataArray::setDescription(), CDataArray::setDimensionDescription(), CDataArray::setMode(), CDataArray::Strings, CTSSAMethod::tableNames, and CDataArray::Vector.
Referenced by CILDMMethod().
Deuflhard Iteration: Prove Deuflhard criteria, find consistent initial value for DAE output: info - if Deuflhard is satisfied for given slow; transformation matrices mTd and mTdinverse
NEWTON: Looking for consistent initial value for DAE system Output: mCfast, info
References CVectorCore< CType >::array(), C_FLOAT64, C_INT, CTSSAMethod::calculateDerivatives(), CMathContainer::getModel(), CModel::getNumber2QuantityFactor(), max, CTSSAMethod::mCfast, CTSSAMethod::mDim, CTSSAMethod::mDtol, CTSSAMethod::mEPS, CTSSAMethod::mNumber2Concentration, CCopasiMethod::mpContainer, CTSSAMethod::mTd, CTSSAMethod::mTdInverse, CTSSAMethod::mY_initial, newton(), CVector< CType >::resize(), and CMathContainer::updateSimulatedValues().
Referenced by step().
void CILDMMethod::emptyVectors | ( | ) |
empty every vector to be able to fill them with new values for a new calculation also nullify the step counter
Empty every vector to be able to fill them with new values for a new calculation. Also nullify the step counter.
References CTSSAMethod::mCurrentStep, mVec_mTMP1, mVec_mTMP2, mVec_mTMP3, mVec_mVslow, mVec_mVslowMetab, mVec_mVslowSpace, CTSSAMethod::mVec_SlowModes, and CTSSAMethod::mVec_TimeScale.
Referenced by start().
const CDataArray * CILDMMethod::getReacSlowSpacePrintAnn | ( | ) | const |
References pReacSlowSpacePrintAnn.
const CDataArray * CILDMMethod::getTMP1PrintAnn | ( | ) | const |
References pTMP1PrintAnn.
const CDataArray * CILDMMethod::getTMP2PrintAnn | ( | ) | const |
References pTMP2PrintAnn.
const CDataArray * CILDMMethod::getTMP3PrintAnn | ( | ) | const |
References pTMP3PrintAnn.
const CDataArray * CILDMMethod::getVfastSpacePrintAnn | ( | ) | const |
References pVfastSpacePrintAnn.
const CDataArray * CILDMMethod::getVslowMetabPrintAnn | ( | ) | const |
References pVslowMetabPrintAnn.
const CDataArray * CILDMMethod::getVslowPrintAnn | ( | ) | const |
References pVslowPrintAnn.
const CDataArray * CILDMMethod::getVslowSpacePrintAnn | ( | ) | const |
References pVslowSpacePrintAnn.
|
virtual |
initialize output for the result elements, this method initializes the output elements so that an output handler can be used afterwards
Reimplemented from CTSSAMethod.
|
virtual |
Initialize the method parameters
Reimplemented from CTSSAMethod.
References CDataContainer::addMatrixReference(), CDataContainer::addObjectReference(), CCopasiParameterGroup::assertParameter(), C_FLOAT64, CTSSAMethod::initializeParameter(), CTSSAMethod::mSlow, CTSSAMethod::mVslow, CCopasiParameter::UDOUBLE, CDataObject::ValueDbl, and CDataObject::ValueInt.
Referenced by CILDMMethod().
Newton: Looking for consistent initial value for DAE system Output: mCfast, info
References CVectorCore< CType >::array(), C_FLOAT64, C_INT, CTSSAMethod::calculateDerivatives(), dgesv_(), CMathContainer::getModel(), CModel::getNumber2QuantityFactor(), CTSSAMethod::mCfast, CTSSAMethod::mDim, CCopasiMethod::mpContainer, CTSSAMethod::mQz, CTSSAMethod::mTd, CTSSAMethod::mTdInverse, CMatrix< CType >::resize(), and CVector< CType >::resize().
Referenced by deuflhard().
|
virtual |
print of the standard report sequence for ILDM Method
std::ostream | * ostream |
Reimplemented from CCopasiMethod.
References C_INT, C_INT32, CModel::getMetabolitesX(), CModelEntity::getModel(), CDataObject::getObjectName(), CModel::getReactions(), CModel::getTimeUnitName(), and CDataVector< CType >::size().
|
virtual |
set the every CArrayAnnotation for the requested step set the description of CArayAnnotation for both dimensions
Set the every CArrayAnnotation for the requested step. Set also the description of CArayAnnotation for both dimensions:
step -= 1; // already done
Implements CTSSAMethod.
References C_INT, CModel::getMetabolitesX(), CMathContainer::getModel(), CMathContainer::getReactions(), CModel::getReactions(), CTSSAMethod::mDim, CCopasiMethod::mpContainer, mReacSlowSpace, mReacSlowSpacePrint, mTMP1Print, mTMP2Print, mTMP3Print, mVec_mReacSlowSpace, mVec_mTMP1, mVec_mTMP2, mVec_mTMP3, mVec_mVfastSpace, mVec_mVslow, mVec_mVslowMetab, mVec_mVslowSpace, CTSSAMethod::mVec_SlowModes, CTSSAMethod::mVec_TimeScale, mVfastSpacePrint, mVslowMetabPrint, mVslowPrint, mVslowSpacePrint, pReacSlowSpacePrintAnn, pTMP1PrintAnn, pTMP2PrintAnn, pTMP3PrintAnn, pVfastSpacePrintAnn, pVslowMetabPrintAnn, pVslowPrintAnn, pVslowSpacePrintAnn, CDataArray::resize(), CMatrix< CType >::resize(), CDataArray::setAnnotationString(), CDataArray::setCopasiVector(), CVectorCore< CType >::size(), and step().
void CILDMMethod::setVectors | ( | int | slowMode | ) |
upgrade all vectors with values from actually calculalion for current step
upgrade all vectors with values from actually calculation for current step
References CMathContainer::getReactions(), CTSSAMethod::mCurrentStep, CTSSAMethod::mDim, CCopasiMethod::mpContainer, CTSSAMethod::mR, mReacSlowSpace, mTMP1, mTMP2, mTMP3, mVec_mReacSlowSpace, mVec_mTMP1, mVec_mTMP2, mVec_mTMP3, mVec_mVfastSpace, mVec_mVslow, mVec_mVslowMetab, mVec_mVslowSpace, CTSSAMethod::mVec_SlowModes, CTSSAMethod::mVec_TimeScale, CTSSAMethod::mVfast_space, CTSSAMethod::mVslow, CTSSAMethod::mVslow_metab, CTSSAMethod::mVslow_space, and CVectorCore< CType >::size().
Referenced by step().
|
virtual |
This instructs the method to prepare for integration starting with the initialState given.
Reimplemented from CTSSAMethod.
References emptyVectors(), CTSSAMethod::integrationMethodStart(), CTSSAMethod::mDim, CTSSAMethod::mDtol, CTSSAMethod::mVfast_space, CTSSAMethod::mVslow, CTSSAMethod::mVslow_metab, CTSSAMethod::mVslow_space, CMatrix< CType >::resize(), CVector< CType >::resize(), and CTSSAMethod::start().
|
virtual |
This instructs the method to calculate a time step of deltaT starting with the current state, i.e., the result of the previous step. The new state (after deltaT) is expected in the current state. The return value is the actual timestep taken.
const double & | deltaT |
Schur Decomposition of Jacobian (reordered). Output: mQ - transformation matrix mR - block upper triangular matrix (with ordered eigenvalues)
Classical ILDM iterations. The number of slow variables is decreased until the Deuflhard criterion holds
Solution of Sylvester equation for given slow, mQ,mR Output: mTd, mTdinverse and mQz (mQz is used later for newton iterations)
Deuflhard Iteration: Prove Deuflhard criteria, find consistent initial value for DAE output: info - if Deuflhard is satisfied for this slow; transformation matrices mTd and mTdinverse
end of iterations to find the number of slow modes
Schur Decomposition of Jacobian (with another sorting: from fast to slow). Output: mQ_desc - transformation matrix mR_desc - block upper triangular matrix (with ordered eigenvalues)
This part corresponds to the investigation of fast and slow reactions. In development at the moment. To activate the calculations take flag_develop = 0;
Reimplemented from CTSSAMethod.
References CVectorCore< CType >::array(), C_FLOAT64, C_INT, CMathContainer::calculateJacobian(), deuflhard(), CMathContainer::getModel(), CMathContainer::getReactions(), CModel::getRedStoi(), CTSSAMethod::integrationStep(), CTSSAMethod::mat_anal_fast_space(), CTSSAMethod::mat_anal_metab(), CTSSAMethod::mat_anal_mod(), CTSSAMethod::mat_anal_mod_space(), CTSSAMethod::mCfast, MCTSSAMethod, CTSSAMethod::mCurrentStep, CTSSAMethod::mDim, CTSSAMethod::mEPS, CTSSAMethod::mJacobian, CTSSAMethod::mJacobian_initial, CTSSAMethod::mNumber2Concentration, CCopasiMethod::mpContainer, CTSSAMethod::mpContainerStateTime, CTSSAMethod::mpFirstSpecies, CTSSAMethod::mpFirstSpeciesRate, CTSSAMethod::mQ, CTSSAMethod::mQ_desc, CTSSAMethod::mQz, CTSSAMethod::mR, CTSSAMethod::mR_desc, mReacSlowSpace, CTSSAMethod::mSlow, CTSSAMethod::mTd, CTSSAMethod::mTd_save, CTSSAMethod::mTdInverse, CTSSAMethod::mTdInverse_save, mTMP1, mTMP2, mTMP3, CTSSAMethod::mVfast_space, CTSSAMethod::mVslow, CTSSAMethod::mVslow_space, CTSSAMethod::mY_initial, CTSSAMethod::orthog(), CMatrix< CType >::resize(), CVector< CType >::resize(), CTSSAMethod::schur(), CTSSAMethod::schur_desc(), setVectors(), CVectorCore< CType >::size(), CTSSAMethod::sylvester(), CTSSAMethod::updateCurrentTime(), CMathContainer::updateSimulatedValues(), and CCopasiMessage::WARNING.
Referenced by setAnnotationM().
vectors contain whole data for all calculation steps
Referenced by setAnnotationM(), setVectors(), and step().
Referenced by createAnnotationsM(), and setAnnotationM().
Referenced by setVectors(), and step().
Referenced by createAnnotationsM(), and setAnnotationM().
Referenced by setVectors(), and step().
Referenced by createAnnotationsM(), and setAnnotationM().
Referenced by setVectors(), and step().
Referenced by createAnnotationsM(), and setAnnotationM().
Referenced by setAnnotationM(), and setVectors().
Referenced by emptyVectors(), setAnnotationM(), and setVectors().
Referenced by emptyVectors(), setAnnotationM(), and setVectors().
Referenced by emptyVectors(), setAnnotationM(), and setVectors().
Referenced by setAnnotationM(), and setVectors().
Referenced by emptyVectors(), setAnnotationM(), and setVectors().
Referenced by emptyVectors(), setAnnotationM(), and setVectors().
Referenced by emptyVectors(), setAnnotationM(), and setVectors().
Referenced by createAnnotationsM(), and setAnnotationM().
Referenced by createAnnotationsM(), and setAnnotationM().
input for every CArraAnnotations contain data for single stepcalculation
Referenced by createAnnotationsM(), and setAnnotationM().
Referenced by createAnnotationsM(), and setAnnotationM().
|
protected |
Referenced by createAnnotationsM(), getReacSlowSpacePrintAnn(), and setAnnotationM().
|
protected |
required for creation of above listed CArrayAnnotation
Referenced by createAnnotationsM().
|
protected |
Referenced by createAnnotationsM().
|
protected |
Referenced by createAnnotationsM(), getTMP1PrintAnn(), and setAnnotationM().
|
protected |
Referenced by createAnnotationsM().
|
protected |
Referenced by createAnnotationsM().
|
protected |
Referenced by createAnnotationsM(), getTMP2PrintAnn(), and setAnnotationM().
|
protected |
Referenced by createAnnotationsM().
|
protected |
Referenced by createAnnotationsM().
|
protected |
Referenced by createAnnotationsM(), getTMP3PrintAnn(), and setAnnotationM().
|
protected |
Referenced by createAnnotationsM().
|
protected |
Referenced by createAnnotationsM().
|
protected |
Referenced by createAnnotationsM(), getVfastSpacePrintAnn(), and setAnnotationM().
|
protected |
Referenced by createAnnotationsM(), getVslowMetabPrintAnn(), and setAnnotationM().
|
protected |
CDataArray for every ILDM-tab in the CQTSSAResultSubWidget
Referenced by createAnnotationsM(), getVslowPrintAnn(), and setAnnotationM().
|
protected |
Referenced by createAnnotationsM(), getVslowSpacePrintAnn(), and setAnnotationM().