Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Namespaces | Enumerations | Functions
enum_GravityMode.hpp File Reference

Gravity mode enum + json serialization/deserialization. More...

#include "shambase/exception.hpp"
#include "nlohmann/json.hpp"
#include "shamrock/io/json_utils.hpp"
+ Include dependency graph for enum_GravityMode.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::basegodunov
 namespace for the basegodunov model
 

Enumerations

enum  GravityMode {
  NoGravity = 0 , CG = 1 , PCG = 2 , BICGSTAB = 3 ,
  MULTIGRID = 4
}
 

Functions

 shammodels::basegodunov::SHAMROCK_JSON_SERIALIZE_ENUM (GravityMode, {{GravityMode::NoGravity, "no_gravity"}, {GravityMode::CG, "cg"}, {GravityMode::PCG, "pcg"}, {GravityMode::BICGSTAB, "bicgstab"}, {GravityMode::MULTIGRID, "multigrid"}})
 

Detailed Description

Gravity mode enum + json serialization/deserialization.

Author
Léodasce Sewanou (leoda.nosp@m.sce..nosp@m.sewan.nosp@m.ou@e.nosp@m.ns-ly.nosp@m.on.f.nosp@m.r) –no git blame–
Timothée David–Cléris (tim.s.nosp@m.hamr.nosp@m.ock@p.nosp@m.roto.nosp@m.n.me)

Definition in file enum_GravityMode.hpp.