Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Namespaces | Functions
Phantom2Shamrock.hpp File Reference
#include "shammodels/common/EOSConfig.hpp"
#include "shammodels/sph/config/AVConfig.hpp"
#include "shammodels/sph/config/BCConfig.hpp"
#include "shammodels/sph/io/PhantomDump.hpp"
#include "shamunits/UnitSystem.hpp"
#include <cstdlib>
#include <optional>
+ Include dependency graph for Phantom2Shamrock.hpp:
+ This graph shows which files directly or indirectly include this file:

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<class Tvec >
AVConfig< Tvec > shammodels::sph::get_shamrock_avconfig (PhantomDump &phdump)
 Generate an Shamrock artificial viscosity configuration from a PhantomDump object.
 
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<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)
 

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.hpp.