Public Member Functions | List of all members
SimulationState1D Class Reference

Package for computational domain and hydro cells. More...

#include <simulation_state_1d.hpp>

Public Member Functions

 SimulationState1D (const vector< double > &vertices, const SpatialDistribution1D &density, const SpatialDistribution1D &pressure, const SpatialDistribution1D &para_velocity, const SpatialDistribution1D &perp_velocity, const vector< pair< string, const SpatialDistribution1D *> > &tracers, const vector< pair< string, const BoolSpatialDistribution *> > &stickers)
 Class constructor. More...
 
const vector< double > & getVertices (void) const
 Access to vertices. More...
 
const vector< ComputationalCell > & getCells (void) const
 Access to hydro cells. More...
 
const TracerStickerNamesgetTracerStickerNames (void) const
 Access to tracer and sticker names. More...
 
void updateVertices (const vector< double > &vertices)
 Updates positions of vertices. More...
 
void updateCells (const vector< ComputationalCell > &cells)
 Updates hydro cellls. More...
 

Detailed Description

Package for computational domain and hydro cells.

Definition at line 34 of file simulation_state_1d.hpp.

Constructor & Destructor Documentation

◆ SimulationState1D()

SimulationState1D::SimulationState1D ( const vector< double > &  vertices,
const SpatialDistribution1D density,
const SpatialDistribution1D pressure,
const SpatialDistribution1D para_velocity,
const SpatialDistribution1D perp_velocity,
const vector< pair< string, const SpatialDistribution1D *> > &  tracers,
const vector< pair< string, const BoolSpatialDistribution *> > &  stickers 
)

Class constructor.

Parameters
verticesPositions of the vertices
densityDensity profile
pressurePressure profile
para_velocityVelocity in the parallel direction
perp_velocityVelocity in the perpendicular direction
tracersList of tracer names and profiles
stickersList of sticker names and profiles

Definition at line 4 of file simulation_state_1d.cpp.

Member Function Documentation

◆ getCells()

const vector< ComputationalCell > & SimulationState1D::getCells ( void  ) const

Access to hydro cells.

Returns
Hydro cells

Definition at line 38 of file simulation_state_1d.cpp.

Here is the caller graph for this function:

◆ getTracerStickerNames()

const TracerStickerNames & SimulationState1D::getTracerStickerNames ( void  ) const

Access to tracer and sticker names.

Returns
Tracer and sticker names

Definition at line 43 of file simulation_state_1d.cpp.

Here is the caller graph for this function:

◆ getVertices()

const vector< double > & SimulationState1D::getVertices ( void  ) const

Access to vertices.

Returns
Positions of vertices

Definition at line 33 of file simulation_state_1d.cpp.

Here is the caller graph for this function:

◆ updateCells()

void SimulationState1D::updateCells ( const vector< ComputationalCell > &  cells)

Updates hydro cellls.

Parameters
cellsNew cells

Definition at line 54 of file simulation_state_1d.cpp.

Here is the caller graph for this function:

◆ updateVertices()

void SimulationState1D::updateVertices ( const vector< double > &  vertices)

Updates positions of vertices.

Parameters
verticesNew vertices

Definition at line 48 of file simulation_state_1d.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following files: