Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
ExtForceConfig.hpp File Reference
#include "shambase/exception.hpp"
#include "shambackends/math.hpp"
#include "shambackends/type_convert.hpp"
#include "shambackends/vec.hpp"
#include "shamsys/legacy/log.hpp"
#include <nlohmann/json.hpp>
#include <type_traits>
#include <string>
#include <variant>
+ Include dependency graph for ExtForceConfig.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  shammodels::ExtForceVariant< Tvec >
 
struct  shammodels::ExtForceVariant< Tvec >::PointMass
 
struct  shammodels::ExtForceVariant< Tvec >::LenseThirring
 
struct  shammodels::ExtForceVariant< Tvec >::ShearingBoxForce
 Shearing box forces as in athena [3]. More...
 
struct  shammodels::ExtForceVariant< Tvec >::VerticalDiscPotential
 f = -GMy / sqrt(R0^2 + y^2) More...
 
struct  shammodels::ExtForceVariant< Tvec >::VelocityDissipation
 f = -eta v More...
 
struct  shammodels::ExtForceConfig< Tvec >
 

Namespaces

namespace  shammodels
 namespace for models
 

Functions

template<class Tvec >
void shammodels::to_json (nlohmann::json &j, const ExtForceVariant< Tvec > &p)
 
template<class Tvec >
void shammodels::from_json (const nlohmann::json &j, ExtForceVariant< Tvec > &p)
 
template<class Tvec >
void shammodels::to_json (nlohmann::json &j, const ExtForceConfig< Tvec > &p)
 
template<class Tvec >
void shammodels::from_json (const nlohmann::json &j, ExtForceConfig< Tvec > &p)
 

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