diff options
Diffstat (limited to 'examples/schaefer_turek_durst_krause_rannbacher/init.hpp')
| -rw-r--r-- | examples/schaefer_turek_durst_krause_rannbacher/init.hpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/examples/schaefer_turek_durst_krause_rannbacher/init.hpp b/examples/schaefer_turek_durst_krause_rannbacher/init.hpp index 45cbaa2..c8e2cc9 100644 --- a/examples/schaefer_turek_durst_krause_rannbacher/init.hpp +++ b/examples/schaefer_turek_durst_krause_rannbacher/init.hpp @@ -6,11 +6,11 @@ namespace kel { namespace lbm { template<typename T, typename Desc, typename Coll, uint64_t N> -saw::error_or<void> init( +kel::lbm::error_or<void> init( const converter<T>& conv, - saw::data<sch::ChunkStruct<T,Desc,N>>& fields, - saw::data<sch::MacroStruct<T,Desc,N>>& macros, - saw::data<sch::ParticleSpheroidGroup<T,Desc>>& particles + kel::lbm::data<sch::ChunkStruct<T,Desc,N>>& fields, + kel::lbm::data<sch::MacroStruct<T,Desc,N>>& macros, + kel::lbm::data<sch::ParticleSpheroidGroup<T,Desc>>& particles ){ (void) conv; @@ -94,10 +94,10 @@ saw::error_or<void> init( ); { - saw::data<sch::Scalar<T>> radius_p; + kel::lbm::data<sch::Scalar<T>> radius_p; radius_p.at({}).set(conv.meter_si_to_lbm({{0.05}}).handle().get()); std::cout<<"RADIUS: "<<radius_p.at({}).get()<<std::endl; - saw::data<sch::Scalar<T>> dense_p; + kel::lbm::data<sch::Scalar<T>> dense_p; dense_p.at({}).set(1); particles = create_spheroid_particle_group<T,Desc::D,1u>(radius_p, dense_p, {{64u}}); auto& parts = particles.template get<"particles">(); @@ -114,7 +114,7 @@ saw::error_or<void> init( } } - return saw::make_void(); + return kel::lbm::make_void(); } } |
