summaryrefslogtreecommitdiff
path: root/examples/cavity_2d.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/cavity_2d.cpp')
-rw-r--r--examples/cavity_2d.cpp19
1 files changed, 0 insertions, 19 deletions
diff --git a/examples/cavity_2d.cpp b/examples/cavity_2d.cpp
index 2860674..6ecdb23 100644
--- a/examples/cavity_2d.cpp
+++ b/examples/cavity_2d.cpp
@@ -105,25 +105,8 @@ public:
*/
namespace cmpt {
struct MovingWall {};
-struct BBTwo {};
}
-template<typename Desc>
-class component<sch::T, Desc,cmpt::BBTwo> {
-public:
-
- void apply(saw::data<sch::DfCell<Desc>>& dfs){
- using dfi = df_info<sch::T,Desc>;
-
- // Technically use .copy()
- auto df_cpy = dfs;
-
- for(uint64_t i = 1u; i < Desc::Q; ++i){
- dfs({i}) = df_cpy({dfi::opposite_index.at(i)});
- }
- }
-};
-
/**
* Full-Way moving wall Bounce back, something is not right here.
* Technically it should reflect properly.
@@ -244,8 +227,6 @@ void lbm_step(
component<sch::T, sch::D2Q9, cmpt::BGK> coll{0.5384};
component<sch::T, sch::D2Q9, cmpt::BounceBack> bb;
- component<sch::T, sch::D2Q9, cmpt::BBTwo> bb_two;
-
component<sch::T, sch::D2Q9, cmpt::MovingWall> bb_lid;
bb_lid.lid_vel = {0.1,0.0};