diff options
Diffstat (limited to 'examples/one_particle_sedimentation_2d/init.hpp')
| -rw-r--r-- | examples/one_particle_sedimentation_2d/init.hpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/examples/one_particle_sedimentation_2d/init.hpp b/examples/one_particle_sedimentation_2d/init.hpp index 8bcc236..989ec4f 100644 --- a/examples/one_particle_sedimentation_2d/init.hpp +++ b/examples/one_particle_sedimentation_2d/init.hpp @@ -6,11 +6,11 @@ namespace kel { namespace lbm { template<typename T, typename Desc, typename Coll> -saw::error_or<void> init( +kel::lbm::error_or<void> init( const converter<T>& conv, - saw::data<sch::ChunkStruct<T,Desc>>& fields, - saw::data<sch::MacroStruct<T,Desc>>& macros, - saw::data<sch::ParticleSpheroidGroup<T,Desc>>& particles + kel::lbm::data<sch::ChunkStruct<T,Desc>>& fields, + kel::lbm::data<sch::MacroStruct<T,Desc>>& macros, + kel::lbm::data<sch::ParticleSpheroidGroup<T,Desc>>& particles ){ auto& info_f = fields.template get<"info">(); auto& porous_f = macros.template get<"porosity">(); @@ -74,10 +74,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.00125}}).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">(); @@ -94,7 +94,7 @@ saw::error_or<void> init( } } - return saw::make_void(); + return kel::lbm::make_void(); } } |
