Commit 1fe2fe4b authored by Kristof Sarosi's avatar Kristof Sarosi
Browse files

commented out activation

parent 971d757a
......@@ -674,21 +674,21 @@ int main (int argc, char** argv)
// Solve electrophysiology and activation
//============================================
auto maxI4fValue ( solver.activationModelPtr()->I4f().maxValue() );
auto minI4fValue ( solver.activationModelPtr()->I4f().minValue() );
//auto maxI4fValue ( solver.activationModelPtr()->I4f().maxValue() );
//auto minI4fValue ( solver.activationModelPtr()->I4f().minValue() );
solver.solveElectrophysiology (stim, t);
solver.solveActivation (dt_activation);
//solver.solveElectrophysiology (stim, t);
//solver.solveActivation (dt_activation);
//============================================
// Load steps mechanics (activation & b.c.)
//============================================
auto minActivationValue ( solver.activationModelPtr() -> fiberActivationPtr() -> minValue() );
//auto minActivationValue ( solver.activationModelPtr() -> fiberActivationPtr() -> minValue() );
const bool activationBelowLoadstepThreshold (minActivationValue < activationLimit_loadstep);
const bool makeLoadstep (k % mechanicsLoadstepIter == 0 && activationBelowLoadstepThreshold);
//const bool activationBelowLoadstepThreshold (minActivationValue < activationLimit_loadstep);
const bool makeLoadstep (k % mechanicsLoadstepIter == 0);
const bool makeMechanicsCirculationCoupling (k % mechanicsCouplingIter == 0);
if ( makeLoadstep && !makeMechanicsCirculationCoupling )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment