I would like to change the the conductance for one current, e.g. the membrane_L_type_calcium_current_conductance, after loading a previously saved simulation.
The Chaste Guide concerning CodeGenerationFromCellML says the following:
"The variable can then be altered at run-time, via calls to the SetParameter method."
I also found that this method is a member of AbstractCardiacCell and some other classes. However, it is unfortunately unclear to me how this method can be used in this situation.
Edit: Sorry, my question is not very precise.
I want to run a mono-/bidomain simulation. That's why I declared a function similar to the PointStimulus2dCellFactory from the TestRunningBidomainSimulationsTutorial.hpp, which inherits from the AbstractCardiacCellFactory. This class contains the function CreateCardiacCellForTissueNode of type AbstractCardiacCell* defining the cell model for each node. At this level it is clear to me, how I can use the SetParameter method.
However, I would like to change these parameters at run-time, meaning I want to change them in the Test class, e.g. TestRunningBidomainSimulationsTutorial. It is unclear to me, how I can call the SetParameter function at this level. Furthermore I would like to know how to call the SetParameter function after loading a previously saved simulation.
Thanks in advance for any answers!