Skip to content
Snippets Groups Projects
Commit 08241d63 authored by jonathan.froehlich's avatar jonathan.froehlich
Browse files

Fixed plotting triggers in config

parent 2f257fa6
No related branches found
No related tags found
1 merge request!218Resolve "Create Coarse Biventricle"
......@@ -74,6 +74,7 @@ PrestressSteps=20
######################
# Meshes #
######################
Mesh = KovachevaBiventricle
Mesh=BiVentricleDirichlet
#Mesh=ContractionVentricle
#Mesh = UnitBlock3DTet
......
......@@ -18,9 +18,12 @@ CellModelVerbose = 10
# = Main Verbose =
ElphyVerbose = 1
MechVerbose = 0
MechVerbose = 1
# = Plot Verbose =
ElphyVTK = 1 # 0 Disables all plots from Electrophysiology
MechVTK = 1 # 0 Disables all plots from Elasticity
PressureSolverVTK = 1
DynamicSolverVTK = 1
ElphySolverVTK = 1
......
#loadconf = electrophysiology/m++.conf;
#loadconf = elasticity/m++.conf;
loadconf = coupled/m++.conf;
loadconf = elasticity/m++.conf;
#loadconf = coupled/m++.conf;
......@@ -7,7 +7,7 @@
#include "EGElasticity.hpp"
IElasticity::IElasticity(ElasticityProblem &eP) :
INonLinearTimeAssemble(), ICardiacAssemble("MechPlot"), eProblem(eP), check_p(false) {
INonLinearTimeAssemble(), ICardiacAssemble("MechVTK"), eProblem(eP), check_p(false) {
if (!eProblem.IsStatic()) {
......@@ -104,7 +104,7 @@ void IElasticity::PlotIteration(const Vector &u) const {
}
void IElasticity::PlotPressureIteration(const Vector &u, int step) const {
if (step) PlotBoundary(u, u);
if (step == 0) PlotBoundary(u, u);
PlotDisplacement(u, step, "U");
}
......
......@@ -9,7 +9,7 @@
#include "MCellModel.hpp"
IElphyAssemble::IElphyAssemble(const ElphyProblem &elphyProblem, int degree)
: INonLinearTimeAssemble(), ICardiacAssemble(), problem(elphyProblem), degree(degree),
: INonLinearTimeAssemble(), ICardiacAssemble("ElphyVTK"), problem(elphyProblem), degree(degree),
disc(elphyProblem.GetMeshes(), degree, DomainPart, 1),
dataDisc(elphyProblem.GetMeshes(), degree, DomainPart, 3),
excData(std::move(InterpolateMeshData(dataDisc))) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment