#include <domain.h>
Public Member Functions | |
REAL | Temperature () |
void | Temperature (REAL temp) |
REAL | Volume () |
void | Volume (REAL vol) |
void | init (REAL xmin[], REAL xmax[]) |
Initializing bulk: setting volume. | |
Molecule * | inject (int specie, REAL velocity, Collection< Molecule > *molecules) |
Adding a molecule to the pool with not registering on the grid. | |
Public Attributes | |
List< Gas > | gases |
list of gases initially present in the bulk | |
Private Attributes | |
REAL | temperature |
REAL | volume |
REAL | xmin [DIM] |
REAL | xmax [DIM] |
box-dimensions |
Holds thermodynamics properties and the list of species in the bulk of the domain. Initialized only when the new run. If Run::option.restart=1, it is ingored and the bulk properties and species are retrieved from the input file.
Definition at line 63 of file domain.h.
void Bulk::init | ( | REAL | xmin[], | |
REAL | xmax[] | |||
) |
Molecule * Bulk::inject | ( | int | specie, | |
REAL | velocity, | |||
Collection< Molecule > * | molecules | |||
) |
Adding a molecule to the pool with not registering on the grid.
Injecting a specie into the bulk with a specified velocity (no registering in the grid).
Definition at line 665 of file domain.cc.
References Collection< Element >::append(), Molecule::Coordinate(), DIM, GAUSS, REAL, RND, Species::Specie::Size(), SMALL, Species::species, Run::time, Molecule::Type(), Molecule::Velocity(), xmax, and xmin.
Referenced by Domain::init().
void Bulk::Temperature | ( | REAL | temp | ) | [inline] |
REAL Bulk::Temperature | ( | ) | [inline] |
Definition at line 68 of file domain.h.
References temperature.
Referenced by Domain::Domain(), and Domain::init().
REAL Bulk::Volume | ( | ) | [inline] |
List<Gas> Bulk::gases |
list of gases initially present in the bulk
Definition at line 67 of file domain.h.
Referenced by Domain::Domain(), and Domain::init().
REAL Bulk::temperature [private] |
REAL Bulk::volume [private] |
REAL Bulk::xmax[DIM] [private] |
REAL Bulk::xmin[DIM] [private] |