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

Fixed VentricleProblem meshname

parent 615457cc
No related branches found
No related tags found
1 merge request!221Resolve "Run ActiveStrain"
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
class ContractingVentricleProblem : public CoupledProblem { class ContractingVentricleProblem : public CoupledProblem {
using ElasticityProblem::verbose; using ElasticityProblem::verbose;
using ElasticityProblem::meshesName;
// Robin Boundary // Robin Boundary
//std::array<double, 8> robinParams{10.0, 0.0, 5.0, 0.0, 1500.0, 1e-4, 1.0, 0.0}; //std::array<double, 8> robinParams{10.0, 0.0, 5.0, 0.0, 1500.0, 1e-4, 1.0, 0.0};
std::array<double, 8> robinParams{0.2, 0.0, 5.0e-3, 0.0, 1500.0, 1e-4, 1.0, 0.0}; std::array<double, 8> robinParams{0.2, 0.0, 5.0e-3, 0.0, 1500.0, 1e-4, 1.0, 0.0};
...@@ -19,17 +20,21 @@ class ContractingVentricleProblem : public CoupledProblem { ...@@ -19,17 +20,21 @@ class ContractingVentricleProblem : public CoupledProblem {
VentricleProblem ventricleProblem; VentricleProblem ventricleProblem;
public: public:
explicit ContractingVentricleProblem() : explicit ContractingVentricleProblem(std::string const &defaultMesh = "") :
ventricleProblem() { ventricleProblem(defaultMesh) {
Config::Get("TractionK", k); Config::Get("TractionK", k);
Config::Get("TractionC", c); Config::Get("TractionC", c);
ElasticityProblem::meshesName = ventricleProblem.GetMeshName();
ElphyProblem::meshesName = ventricleProblem.GetMeshName();
} }
ContractingVentricleProblem(const string &matName, const vector<double> &matPar) : ContractingVentricleProblem(const string &matName, const vector<double> &matPar) :
ventricleProblem(matName, matPar) { ventricleProblem(matName, matPar) {
Config::Get("TractionK", k); Config::Get("TractionK", k);
Config::Get("TractionC", c); Config::Get("TractionC", c);
ElasticityProblem::meshesName = ventricleProblem.GetMeshName();
ElphyProblem::meshesName = ventricleProblem.GetMeshName();
} }
string Name() const override { string Name() const override {
......
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