Commit 44e08540 authored by uheqb's avatar uheqb
Browse files

renamed size in CreateDisc()

parent 37df1e96
Pipeline #218910 failed with stages
in 104 minutes and 8 seconds
......@@ -20,7 +20,7 @@ class DGElasticity : public FiniteElasticity {
public:
DGElasticity(const ElasticityProblem &eP, const PressureProblem &pP, const Meshes &mesh, int degree, bool isStatic = false);
std::unique_ptr<IDiscretization> CreateDisc(int size) const override {return std::make_unique<DGDiscretization>(disc.GetMeshes(), degree,size);}
std::unique_ptr<IDiscretization> CreateDisc(int sizes) const override {return std::make_unique<DGDiscretization>(disc.GetMeshes(), degree,sizes);}
const IDiscretization &GetDisc() const override { return disc; }
......
......@@ -18,7 +18,7 @@ class EGElasticity : public FiniteElasticity {
public:
EGElasticity(const ElasticityProblem &eP, const PressureProblem &pP , const Meshes &mesh, int degree, bool isStatic = false);
std::unique_ptr<IDiscretization> CreateDisc(int size) const override {return std::make_unique<EGDiscretization>(disc, degree,size);}
std::unique_ptr<IDiscretization> CreateDisc(int sizes) const override {return std::make_unique<EGDiscretization>(disc, degree,sizes);}
const IDiscretization &GetDisc() const override { return disc; }
......
......@@ -12,7 +12,7 @@ public:
const IDiscretization &GetDisc() const override { return disc; }
std::unique_ptr<IDiscretization> CreateDisc(int size) const override {return std::make_unique<LagrangeDiscretization>(disc, degree,size);}
std::unique_ptr<IDiscretization> CreateDisc(int sizes) const override {return std::make_unique<LagrangeDiscretization>(disc, degree,sizes);}
void InitializePrestress(const Vector &u) override;
......
Supports Markdown
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