SPH
Classes | Public Types | Public Attributes | List of all members
HandoffParams Struct Reference

#include <Handoff.h>

Classes

struct  LargestRemnant
 

Public Types

enum class  Radius { EQUAL_VOLUME , SMOOTHING_LENGTH }
 Determines how to compute the radii of the spheres. More...
 

Public Attributes

Radius radius = Radius::EQUAL_VOLUME
 
Float radiusMultiplier = 0.333_f
 Conversion factor between smoothing length and particle radius. More...
 
Float sublimationEnergy = LARGE
 Threshold energy for removal of SPH particles. More...
 
bool centerOfMassSystem = false
 If true, the particles are moved to a system where the center of mass is at the origin. More...
 
Optional< LargestRemnantlargestRemnant
 

Detailed Description

Todo:
partially duplicates the PkdgravOutput

Definition at line 14 of file Handoff.h.

Member Enumeration Documentation

◆ Radius

enum HandoffParams::Radius
strong

Determines how to compute the radii of the spheres.

Enumerator
EQUAL_VOLUME 

The created sphere has the same volume as the SPH particles (=mass/density)

SMOOTHING_LENGTH 

The radius is proportional to the smoothing length of the particles.

Definition at line 17 of file Handoff.h.

Member Data Documentation

◆ centerOfMassSystem

bool HandoffParams::centerOfMassSystem = false

If true, the particles are moved to a system where the center of mass is at the origin.

Definition at line 37 of file Handoff.h.

◆ largestRemnant

Optional<LargestRemnant> HandoffParams::largestRemnant
Todo:
Separates the largest remnant. Other SPH particles are converted into N-body particles using 1-1 correspondence, regenerated inside remnant with optionally lower particles density.

Definition at line 57 of file Handoff.h.

◆ radius

Radius HandoffParams::radius = Radius::EQUAL_VOLUME

Definition at line 26 of file Handoff.h.

◆ radiusMultiplier

Float HandoffParams::radiusMultiplier = 0.333_f

Conversion factor between smoothing length and particle radius.

Used only for Radius::SMOOTHING_LENGTH.

Definition at line 31 of file Handoff.h.

◆ sublimationEnergy

Float HandoffParams::sublimationEnergy = LARGE

Threshold energy for removal of SPH particles.

Definition at line 34 of file Handoff.h.


The documentation for this struct was generated from the following file: