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 @@
class ContractingVentricleProblem : public CoupledProblem {
using ElasticityProblem::verbose;
using ElasticityProblem::meshesName;
// 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{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 {
VentricleProblem ventricleProblem;
public:
explicit ContractingVentricleProblem() :
ventricleProblem() {
explicit ContractingVentricleProblem(std::string const &defaultMesh = "") :
ventricleProblem(defaultMesh) {
Config::Get("TractionK", k);
Config::Get("TractionC", c);
ElasticityProblem::meshesName = ventricleProblem.GetMeshName();
ElphyProblem::meshesName = ventricleProblem.GetMeshName();
}
ContractingVentricleProblem(const string &matName, const vector<double> &matPar) :
ventricleProblem(matName, matPar) {
Config::Get("TractionK", k);
Config::Get("TractionC", c);
ElasticityProblem::meshesName = ventricleProblem.GetMeshName();
ElphyProblem::meshesName = ventricleProblem.GetMeshName();
}
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