Skip to content
Snippets Groups Projects
Commit 9a7f17c7 authored by gt2651's avatar gt2651
Browse files

fixed error

parent 5543dd3f
No related branches found
No related tags found
1 merge request!184added TestLinearBeamProblem and EnergyErrors for Discretizations and fixed...
Pipeline #125075 passed
Subproject commit 81460ecc3efc4af97a8c05935f02f9abc14d4ed0
Subproject commit 7d3a3a710f7cae9f738accca6da7a6f5fb7cb2b1
......@@ -141,7 +141,7 @@ public:
Tensor DeformationGradient(double time, const Point &x) const override;
VectorField Load(double time, const Point &z, const cell &c) const {
VectorField Load(double time, const Point &z, const Cell &c) const override {
return VectorField(-16.0, -16.0, -16.0);
}
};
......@@ -173,7 +173,7 @@ public:
Tensor DeformationGradient(double time, const Point &x) const override;
VectorField Load(double time, const Point &z, const cell &c) const {
VectorField Load(double time, const Point &z, const Cell &c) const override{
return VectorField(-(24 * z[0] + 24 * z[0]),-(24 * z[1] + 24 * z[1]),-(24 * z[2] + 24 * z[2]));
}
};
......
......@@ -8,7 +8,7 @@
#include "TestConfigurations.hpp"
constexpr double DIRICHLET_TEST_TOLERANCE = 1e-6;
constexpr double TOLERANCE = 1e-11;
constexpr double TOLERANCE = 1e-10;
struct TestDirichletParameter {
std::string discretization;
......
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