6 #ifndef ROUND_CELLS_HPP 7 #define ROUND_CELLS_HPP 1 9 #include "../point_motion.hpp" 10 #include "../../common/equation_of_state.hpp" 11 #include "../OuterBoundary.hpp" 12 #include "../geometric_outer_boundaries/PeriodicBox.hpp" 29 double chi = 0.15,
double eta = 0.02,
bool cold =
false,
double cold_speed = 0.15);
40 ,
double cold_speed = 0.15);
45 vector<Vector2D>
ApplyFix(
Tessellation const& tess, vector<ComputationalCell>
const& cells,
double time,
46 double dt, vector<Vector2D>
const& velocities,
TracerStickerNames const& tracerstickernames)
const;
52 Vector2D calc_dw(
size_t i,
const Tessellation& tess,
double dt,vector<ComputationalCell>
const& cells,
62 const double cold_speed_;
65 #endif // ROUND_CELLS_HPP Abstract class for tessellation.
Square box outer boundary conditions.
Abstract class for motion of mesh generating points.
vector< Vector2D > operator()(const Tessellation &tess, const vector< ComputationalCell > &cells, double time, TracerStickerNames const &tracerstickernames) const
Calculates the velocity of all mesh points.
Base class for equation of state.
Class for keeping the names of the tracers and stickers.
vector< Vector2D > ApplyFix(Tessellation const &tess, vector< ComputationalCell > const &cells, double time, double dt, vector< Vector2D > const &velocities, TracerStickerNames const &tracerstickernames) const
Applies a small fix to the velocity of all mesh points once the time step is known.
Abstract class for geometric boundary conditions for the tessellation.
Correction to point velocities that keeps cells round.
RoundCells(const PointMotion &pm, const EquationOfState &eos, OuterBoundary const &outer, double chi=0.15, double eta=0.02, bool cold=false, double cold_speed=0.15)
Class constructor.