Canoe
Comprehensive Atmosphere N' Ocean Engine
|
manages all physics package data and functions More...
#include <physics.hpp>
Public Member Functions | |
Physics (MeshBlock *pmb, ParameterInput *pin) | |
~Physics () | |
void | Initialize (AthenaArray< Real > const &w) |
size_t | RestartDataSizeInBytes () |
size_t | DumpRestartData (char *pdst) |
size_t | LoadRestartData (char *psrc) |
void | ApplyPhysicsPackages (AthenaArray< Real > &du, AthenaArray< Real > const &w, Real time, Real dt) |
TaskStatus | RelaxBotTemperature (AthenaArray< Real > &du, AthenaArray< Real > const &w, Real time, Real dt) |
TaskStatus | RelaxBotVelocity (AthenaArray< Real > &du, AthenaArray< Real > const &w, Real time, Real dt) |
TaskStatus | RelaxBotComposition (AthenaArray< Real > &du, AthenaArray< Real > const &w, Real time, Real dt) |
TaskStatus | TopSpongeLayer (AthenaArray< Real > &du, AthenaArray< Real > const &w, Real time, Real dt) |
TaskStatus | BotSpongeLayer (AthenaArray< Real > &du, AthenaArray< Real > const &w, Real time, Real dt) |
TaskStatus | LeftSpongeLayer (AthenaArray< Real > &du, AthenaArray< Real > const &w, Real time, Real dt) |
TaskStatus | RightSpongeLayer (AthenaArray< Real > &du, AthenaArray< Real > const &w, Real time, Real dt) |
TaskStatus | TopCooling (AthenaArray< Real > &du, AthenaArray< Real > const &w, Real time, Real dt) |
TaskStatus | BotHeating (AthenaArray< Real > &du, AthenaArray< Real > const &w, Real time, Real dt) |
Public Attributes | |
MeshBlock * | pmy_block |
TaskManager< Physics > * | ptm |
Protected Attributes | |
std::vector< PhysicsPackage > | packages_ |
AthenaArray< Real > | hydro_bot_ |
AthenaArray< Real > | tem_bot_ |
AthenaArray< Real > | vel_bot_ |
AthenaArray< Real > | com_bot_ |
Real | Tbot_ |
Real | tau_Tbot_ |
Real | tau_Ubot_ |
Real | tau_Qbot_ |
Real | tau_top_ |
Real | width_top_ |
Real | tau_bot_ |
Real | width_bot_ |
Real | tau_left_ |
Real | width_left_ |
Real | tau_right_ |
Real | width_right_ |
Real | dTdt_ |
Real | flux_top_ |
Real | flux_bot_ |
Real | friction_bot_tau_ |
manages all physics package data and functions
Definition at line 21 of file physics.hpp.
Physics::Physics | ( | MeshBlock * | pmb, |
ParameterInput * | pin | ||
) |
Definition at line 12 of file register_package.cpp.
Physics::~Physics | ( | ) |
Definition at line 10 of file physics.cpp.
void Physics::Initialize | ( | AthenaArray< Real > const & | w | ) |
Definition at line 135 of file register_package.cpp.
size_t Physics::RestartDataSizeInBytes | ( | ) |
Definition at line 33 of file physics.cpp.
size_t Physics::DumpRestartData | ( | char * | pdst | ) |
Definition at line 40 of file physics.cpp.
size_t Physics::LoadRestartData | ( | char * | psrc | ) |
Definition at line 45 of file physics.cpp.
void Physics::ApplyPhysicsPackages | ( | AthenaArray< Real > & | du, |
AthenaArray< Real > const & | w, | ||
Real | time, | ||
Real | dt | ||
) |
Definition at line 13 of file physics.cpp.
TaskStatus Physics::RelaxBotTemperature | ( | AthenaArray< Real > & | du, |
AthenaArray< Real > const & | w, | ||
Real | time, | ||
Real | dt | ||
) |
Definition at line 10 of file relax_bot_temperature.cpp.
TaskStatus Physics::RelaxBotVelocity | ( | AthenaArray< Real > & | du, |
AthenaArray< Real > const & | w, | ||
Real | time, | ||
Real | dt | ||
) |
TaskStatus Physics::RelaxBotComposition | ( | AthenaArray< Real > & | du, |
AthenaArray< Real > const & | w, | ||
Real | time, | ||
Real | dt | ||
) |
TaskStatus Physics::TopSpongeLayer | ( | AthenaArray< Real > & | du, |
AthenaArray< Real > const & | w, | ||
Real | time, | ||
Real | dt | ||
) |
Definition at line 10 of file sponge_layer.cpp.
TaskStatus Physics::BotSpongeLayer | ( | AthenaArray< Real > & | du, |
AthenaArray< Real > const & | w, | ||
Real | time, | ||
Real | dt | ||
) |
Definition at line 44 of file sponge_layer.cpp.
TaskStatus Physics::LeftSpongeLayer | ( | AthenaArray< Real > & | du, |
AthenaArray< Real > const & | w, | ||
Real | time, | ||
Real | dt | ||
) |
Definition at line 78 of file sponge_layer.cpp.
TaskStatus Physics::RightSpongeLayer | ( | AthenaArray< Real > & | du, |
AthenaArray< Real > const & | w, | ||
Real | time, | ||
Real | dt | ||
) |
Definition at line 112 of file sponge_layer.cpp.
TaskStatus Physics::TopCooling | ( | AthenaArray< Real > & | du, |
AthenaArray< Real > const & | w, | ||
Real | time, | ||
Real | dt | ||
) |
Definition at line 10 of file heating_cooling.cpp.
TaskStatus Physics::BotHeating | ( | AthenaArray< Real > & | du, |
AthenaArray< Real > const & | w, | ||
Real | time, | ||
Real | dt | ||
) |
Definition at line 41 of file heating_cooling.cpp.
MeshBlock* Physics::pmy_block |
Definition at line 24 of file physics.hpp.
TaskManager<Physics>* Physics::ptm |
Definition at line 25 of file physics.hpp.
|
protected |
Definition at line 64 of file physics.hpp.
|
protected |
Definition at line 67 of file physics.hpp.
|
protected |
Definition at line 68 of file physics.hpp.
|
protected |
Definition at line 68 of file physics.hpp.
|
protected |
Definition at line 68 of file physics.hpp.
|
protected |
Definition at line 71 of file physics.hpp.
|
protected |
Definition at line 71 of file physics.hpp.
|
protected |
Definition at line 71 of file physics.hpp.
|
protected |
Definition at line 71 of file physics.hpp.
|
protected |
top sponge layer time scale [s]
Definition at line 74 of file physics.hpp.
|
protected |
top sponge layer width [m]
Definition at line 75 of file physics.hpp.
|
protected |
bottom sponge layer time scale [s]
Definition at line 77 of file physics.hpp.
|
protected |
bottom sponge layer width [m]
Definition at line 78 of file physics.hpp.
|
protected |
left sponge layer time scale [s]
Definition at line 80 of file physics.hpp.
|
protected |
left sponge layer width [m]
Definition at line 81 of file physics.hpp.
|
protected |
right sponge layer time scale [s]
Definition at line 83 of file physics.hpp.
|
protected |
right sponge layer width [m]
Definition at line 84 of file physics.hpp.
|
protected |
heating rate [K/s]
Definition at line 87 of file physics.hpp.
|
protected |
top heating flux [W/m^2]
Definition at line 88 of file physics.hpp.
|
protected |
bot heating flux [W/m^2]
Definition at line 89 of file physics.hpp.
|
protected |
Definition at line 92 of file physics.hpp.