diff options
| author | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-11-08 22:04:06 +0100 |
|---|---|---|
| committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-11-08 22:04:06 +0100 |
| commit | c59aeef2e0c86ec3f0f34ce77c205f3ef0b034cc (patch) | |
| tree | 7e29aea25537b31040c5bb3649749706e54e5706 /modules/core/tests/math.cpp | |
| parent | fa6bc96b28f6654040992b282525b88d5d46aca9 (diff) | |
| download | libs-lbm-c59aeef2e0c86ec3f0f34ce77c205f3ef0b034cc.tar.gz | |
Abstract move. Forstio independence
Diffstat (limited to 'modules/core/tests/math.cpp')
| -rw-r--r-- | modules/core/tests/math.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/core/tests/math.cpp b/modules/core/tests/math.cpp index d456ce8..3224e40 100644 --- a/modules/core/tests/math.cpp +++ b/modules/core/tests/math.cpp @@ -5,25 +5,25 @@ namespace { namespace sch { -using namespace saw::schema; +using namespace kel::lbm::sch; } SAW_TEST("Math 1-Linear"){ using namespace kel; - saw::data<sch::FixedArray<sch::Vector<sch::Float64,1u>,2u>> field; + kel::lbm::data<sch::FixedArray<sch::Vector<sch::Float64,1u>,2u>> field; { field.at({{0u}}).at({{0u}}).set(-1.0); field.at({{1u}}).at({{0u}}).set(2.0); } - saw::data<sch::Vector<sch::Float64,1u>> pos; + kel::lbm::data<sch::Vector<sch::Float64,1u>> pos; pos.at({{0u}}).set(0.3); } SAW_TEST("Math/Floor Index and Fraction from Position"){ using namespace kel; - saw::data<sch::Vector<sch::Float64,2u>> pos; + kel::lbm::data<sch::Vector<sch::Float64,2u>> pos; { pos.at({{0u}}) = 43.999; @@ -48,14 +48,14 @@ SAW_TEST("Math/Floor Index and Fraction from Position"){ SAW_TEST("Math/Floor Index and Fraction from Position and Bounded"){ using namespace kel; - saw::data<sch::Vector<sch::Float64,2u>> pos; + kel::lbm::data<sch::Vector<sch::Float64,2u>> pos; { pos.at({{0u}}) = 43.999; pos.at({{1u}}) = -50.0; } - saw::data<sch::Vector<sch::UInt64,2U>> bound; + kel::lbm::data<sch::Vector<sch::UInt64,2U>> bound; { bound.at({{0u}}) = 32u; bound.at({{1u}}) = 16u; |
