SPH
Enumerations | Functions
Presets Namespace Reference

Enumerations

enum class  Id {
  COLLISION , FRAGMENTATION_REACCUMULATION , CRATERING , PLANETESIMAL_MERGING ,
  GALAXY_COLLISION , ACCRETION_DISK , SOLAR_SYSTEM
}
 

Functions

SharedPtr< JobNodemake (const Id id, UniqueNameManager &nameMgr, const Size particleCnt=10000)
 Creates a node tree for the preset with given ID. More...
 
SharedPtr< JobNodemakeAsteroidCollision (UniqueNameManager &nameMgr, const Size particleCnt=10000)
 Creates a node tree for basic collision simulation. More...
 
SharedPtr< JobNodemakeFragmentationAndReaccumulation (UniqueNameManager &nameMgr, const Size particleCnt=10000)
 Creates a node tree for collision simulation, consisting of stabilization of the target, fragmentation phase and finally reaccumulation phase. More...
 
SharedPtr< JobNodemakeCratering (UniqueNameManager &nameMgr, const Size particleCnt=10000)
 Creates a node tree for simulation of cratering. More...
 
SharedPtr< JobNodemakePlanetesimalMerging (UniqueNameManager &nameMgr, const Size particleCnt=10000)
 Creates a node tree for simulation of planetesimal collision. More...
 
SharedPtr< JobNodemakeGalaxyCollision (UniqueNameManager &nameMgr, const Size particleCnt=10000)
 Creates a node tree for galaxy collision. More...
 
SharedPtr< JobNodemakeAccretionDisk (UniqueNameManager &nameMgr, const Size particleCnt=10000)
 Creates a node tree for accretion simulation. More...
 
SharedPtr< JobNodemakeSolarSystem (UniqueNameManager &nameMgr)
 Creates a node tree for the Solar System. More...
 

Enumeration Type Documentation

◆ Id

enum Presets::Id
strong
Enumerator
COLLISION 
FRAGMENTATION_REACCUMULATION 
CRATERING 
PLANETESIMAL_MERGING 
GALAXY_COLLISION 
ACCRETION_DISK 
SOLAR_SYSTEM 

Definition at line 9 of file Presets.h.

Function Documentation

◆ make()

SharedPtr< JobNode > Presets::make ( const Id  id,
UniqueNameManager nameMgr,
const Size  particleCnt = 10000 
)

Creates a node tree for the preset with given ID.

Definition at line 39 of file Presets.cpp.

◆ makeAccretionDisk()

SharedPtr< JobNode > Presets::makeAccretionDisk ( UniqueNameManager nameMgr,
const Size  particleCnt = 10000 
)

Creates a node tree for accretion simulation.

Definition at line 297 of file Presets.cpp.

◆ makeAsteroidCollision()

SharedPtr< JobNode > Presets::makeAsteroidCollision ( UniqueNameManager nameMgr,
const Size  particleCnt = 10000 
)

Creates a node tree for basic collision simulation.

Definition at line 60 of file Presets.cpp.

◆ makeCratering()

SharedPtr< JobNode > Presets::makeCratering ( UniqueNameManager nameMgr,
const Size  particleCnt = 10000 
)

Creates a node tree for simulation of cratering.

Definition at line 134 of file Presets.cpp.

◆ makeFragmentationAndReaccumulation()

SharedPtr< JobNode > Presets::makeFragmentationAndReaccumulation ( UniqueNameManager nameMgr,
const Size  particleCnt = 10000 
)

Creates a node tree for collision simulation, consisting of stabilization of the target, fragmentation phase and finally reaccumulation phase.

Todo:
needed to include geometry in the list, how??

Definition at line 91 of file Presets.cpp.

◆ makeGalaxyCollision()

SharedPtr< JobNode > Presets::makeGalaxyCollision ( UniqueNameManager nameMgr,
const Size  particleCnt = 10000 
)

Creates a node tree for galaxy collision.

Definition at line 260 of file Presets.cpp.

◆ makePlanetesimalMerging()

SharedPtr< JobNode > Presets::makePlanetesimalMerging ( UniqueNameManager nameMgr,
const Size  particleCnt = 10000 
)

Creates a node tree for simulation of planetesimal collision.

Definition at line 207 of file Presets.cpp.

◆ makeSolarSystem()

SharedPtr< JobNode > Presets::makeSolarSystem ( UniqueNameManager nameMgr)

Creates a node tree for the Solar System.

Definition at line 370 of file Presets.cpp.