@@ -19,10 +19,7 @@ FOUR_C_NAMESPACE_OPEN
1919
2020
2121FLD::XFluidResultTest::XFluidResultTest (const FLD::XFluid& xfluid)
22- : Core::Utils::ResultTest(" XFLUID" ),
23- discret_(xfluid.discret_),
24- velnp_(xfluid.state_->velnp_),
25- node_from_zero_(true )
22+ : Core::Utils::ResultTest(" XFLUID" ), discret_(xfluid.discret_), velnp_(xfluid.state_->velnp_)
2623{
2724}
2825
@@ -31,11 +28,8 @@ FLD::XFluidResultTest::XFluidResultTest(const FLD::XFluidFluid& xfluid)
3128 discret_(xfluid.discret_),
3229 velnp_(xfluid.state_->velnp_),
3330 coupl_discret_(xfluid.embedded_fluid_->discretization ()),
34- coupl_velnp_(xfluid.embedded_fluid_->velnp ()),
35- node_from_zero_(false )
31+ coupl_velnp_(xfluid.embedded_fluid_->velnp ())
3632{
37- // Todo: remove the "node_from_zero" flag for fluidfluid:
38- // adapt the test cases!
3933}
4034
4135void FLD::XFluidResultTest::test_node (
@@ -46,9 +40,6 @@ void FLD::XFluidResultTest::test_node(
4640
4741 int node = container.get <int >(" NODE" );
4842
49- // Todo: remove!
50- if (node_from_zero_) node -= 1 ;
51-
5243 if (dis == discret_->name ())
5344 {
5445 test_node (container, nerr, test_count, node, *discret_, *velnp_);
@@ -71,7 +62,7 @@ void FLD::XFluidResultTest::test_node(const Core::IO::InputParameterContainer& c
7162
7263 if (isnodeofanybody == 0 )
7364 {
74- FOUR_C_THROW (" Node {} does not belong to discretization {}" , node + 1 , discret.name ());
65+ FOUR_C_THROW (" Node {} does not belong to discretization {}" , node, discret.name ());
7566 }
7667 else
7768 {
0 commit comments