Skip to content

Commit

Permalink
update to Operator::Type
Browse files Browse the repository at this point in the history
  • Loading branch information
HenningScheufler committed Feb 9, 2025
1 parent 53e7dc5 commit f31d356
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions test/test_implicitOperators.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ TEST_CASE("matrix multiplication")
matrix & ofT
); // we should get a uniform field with a value of 1
// ddt.write();
fvcc::DdtOperator ddtOp(dsl::SpatialOperator::Type::Implicit, nfT);
fvcc::DdtOperator ddtOp(dsl::Operator::Type::Implicit, nfT);

auto ls = ddtOp.createEmptyLinearSystem();
ddtOp.implicitOperation(ls, runTime.value(), runTime.deltaTValue());
Expand Down Expand Up @@ -117,7 +117,7 @@ TEST_CASE("matrix multiplication")
);
auto coefficients = nfT;
NeoFOAM::fill(coefficients.internalField(), coeff);
fvcc::SourceTerm sourceTerm(dsl::SpatialOperator::Type::Implicit, coefficients, nfT);
fvcc::SourceTerm sourceTerm(dsl::Operator::Type::Implicit, coefficients, nfT);
NeoFOAM::Field<NeoFOAM::scalar> source(nfT.exec(), nfT.internalField().size(), 0.0);
sourceTerm.explicitOperation(source);

Expand Down

0 comments on commit f31d356

Please sign in to comment.