Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Namespaces | Functions
Phantom2Shamrock.cpp File Reference
#include "shambase/constants.hpp"
#include "shammodels/sph/config/BCConfig.hpp"
#include "shammodels/sph/io/Phantom2Shamrock.hpp"
#include "shammodels/sph/io/PhantomDump.hpp"
#include "shammodels/sph/io/PhantomDumpEOSUtils.hpp"
+ Include dependency graph for Phantom2Shamrock.cpp:

Go to the source code of this file.

Namespaces

namespace  shammodels
 namespace for models
 
namespace  shammodels::sph
 namespace for the sph model
 

Functions

template<class Tvec >
EOSConfig< Tvec > shammodels::sph::get_shamrock_eosconfig (PhantomDump &phdump, bool bypass_error)
 Generate a Shamrock EOS configuration from a PhantomDump object.
 
template<class Tvec >
void shammodels::sph::write_shamrock_eos_in_phantom_dump (EOSConfig< Tvec > &cfg, PhantomDump &dump, bool bypass_error)
 Write the eos config to th phantom dump header.
 
template EOSConfig< f32_3 > shammodels::sph::get_shamrock_eosconfig< f32_3 > (PhantomDump &phdump, bool bypass_error)
 explicit instanciation for f32_3
 
template EOSConfig< f64_3 > shammodels::sph::get_shamrock_eosconfig< f64_3 > (PhantomDump &phdump, bool bypass_error)
 explicit instanciation for f64_3
 
template void shammodels::sph::write_shamrock_eos_in_phantom_dump< f32_3 > (EOSConfig< f32_3 > &cfg, PhantomDump &dump, bool bypass_error)
 explicit instanciation for f32_3
 
template void shammodels::sph::write_shamrock_eos_in_phantom_dump< f64_3 > (EOSConfig< f64_3 > &cfg, PhantomDump &dump, bool bypass_error)
 explicit instanciation for f64_3
 
template<class Tvec >
AVConfig< Tvec > shammodels::sph::get_shamrock_avconfig (PhantomDump &phdump)
 Generate an Shamrock artificial viscosity configuration from a PhantomDump object.
 
template AVConfig< f32_3 > shammodels::sph::get_shamrock_avconfig< f32_3 > (PhantomDump &phdump)
 explicit instanciation for f32_3
 
template AVConfig< f64_3 > shammodels::sph::get_shamrock_avconfig< f64_3 > (PhantomDump &phdump)
 explicit instanciation for f64_3
 
template<class Tscal >
shamunits::UnitSystem< Tscal > shammodels::sph::get_shamrock_units (PhantomDump &phdump)
 Get the shamrock units object.
 
template<class Tscal >
void shammodels::sph::write_shamrock_units_in_phantom_dump (std::optional< shamunits::UnitSystem< Tscal > > &units, PhantomDump &dump, bool bypass_error)
 Write shamrock units config into the phantom dump.
 
template shamunits::UnitSystem< f32shammodels::sph::get_shamrock_units< f32 > (PhantomDump &phdump)
 explicit instanciation for f32_3
 
template shamunits::UnitSystem< f64shammodels::sph::get_shamrock_units< f64 > (PhantomDump &phdump)
 explicit instanciation for f64_3
 
template void shammodels::sph::write_shamrock_units_in_phantom_dump< f64 > (std::optional< shamunits::UnitSystem< f64 > > &units, PhantomDump &dump, bool bypass_error)
 
template<class Tvec >
BCConfig< Tvec > shammodels::sph::get_shamrock_boundary_config (PhantomDump &phdump)
 Generate an Shamrock boundary configuration from a PhantomDump object.
 
template<class Tvec >
void shammodels::sph::write_shamrock_boundaries_in_phantom_dump (BCConfig< Tvec > &cfg, std::tuple< Tvec, Tvec > box_size, PhantomDump &dump, bool bypass_error)
 
template BCConfig< f32_3 > shammodels::sph::get_shamrock_boundary_config< f32_3 > (PhantomDump &phdump)
 explicit instanciation for f32_3
 
template BCConfig< f64_3 > shammodels::sph::get_shamrock_boundary_config< f64_3 > (PhantomDump &phdump)
 explicit instanciation for f64_3
 
template void shammodels::sph::write_shamrock_boundaries_in_phantom_dump< f32_3 > (BCConfig< f32_3 > &cfg, std::tuple< f32_3, f32_3 > box_size, PhantomDump &dump, bool bypass_error)
 explicit instanciation for f32_3
 
template void shammodels::sph::write_shamrock_boundaries_in_phantom_dump< f64_3 > (BCConfig< f64_3 > &cfg, std::tuple< f64_3, f64_3 > box_size, PhantomDump &dump, bool bypass_error)
 explicit instanciation for f64_3
 

Detailed Description

Author
Timothée David–Cléris (tim.s.nosp@m.hamr.nosp@m.ock@p.nosp@m.roto.nosp@m.n.me)

Definition in file Phantom2Shamrock.cpp.