#include <domain.h>
Public Member Functions | |
Boundary () | |
Boundary constructor: sets defaults. | |
~Boundary () | |
Boundary destructor. | |
REAL | Area () |
void | Area (REAL a) |
REAL | Temperature () |
void | Temperature (REAL t) |
void | init (int i, int j, REAL ymin[], REAL ymax[], int nspecies) |
void | Inject (int specietype, REAL vavx, REAL temperature, Collection< Molecule > *molecules) |
Injecting a specie from accross the boundary with a specified velocity. | |
Public Attributes | |
int | idir |
boundary orientation in 3D space: 0,1,2 | |
int | iside |
side of the boundary: 0,1 | |
REAL * | xmin |
REAL * | xmax |
min/max bounds | |
BoundaryTypes | type |
defines boundary type | |
bool | adiabatic |
flag for adiabatic boundary | |
REAL | area |
boundary surface area | |
REAL | temperature |
boundary temperature | |
List< Gas > | gases |
list of gases across the boundary | |
Reaction * | reactions |
Definition at line 18 of file domain.h.
Boundary::Boundary | ( | ) | [inline] |
void Boundary::init | ( | int | i, | |
int | j, | |||
REAL | ymin[], | |||
REAL | ymax[], | |||
int | nspecies | |||
) |
void Boundary::Inject | ( | int | specietype, | |
REAL | vavx, | |||
REAL | temperature, | |||
Collection< Molecule > * | molecules | |||
) |
Injecting a specie from accross the boundary with a specified velocity.
specietype | injected specie type |
vavx | average velocity in on direction |
temperature | temperature |
molecules | collection of molecules |
Definition at line 32 of file domain.cc.
References Collection< Element >::append(), Molecule::Coordinate(), DIM, Gui::dx, GAUSS, idir, iside, GridContainer::put(), REAL, RND, Species::Specie::Size(), SMALL, Species::species, Molecule::Temperature(), Run::time, Molecule::Type(), Molecule::Velocity(), xmax, and xmin.
Referenced by Domain::injection().
void Boundary::Temperature | ( | REAL | t | ) | [inline] |
REAL Boundary::Temperature | ( | ) | [inline] |
bool Boundary::adiabatic |
flag for adiabatic boundary
Definition at line 23 of file domain.h.
Referenced by Boundary(), and Domain::Domain().
REAL Boundary::area |
boundary surface area
Definition at line 25 of file domain.h.
Referenced by Area(), Boundary(), Domain::Domain(), and Domain::injection().
List<Gas> Boundary::gases |
list of gases across the boundary
Definition at line 27 of file domain.h.
Referenced by Domain::Domain(), and Domain::injection().
int Boundary::idir |
boundary orientation in 3D space: 0,1,2
Definition at line 19 of file domain.h.
Referenced by Boundary(), init(), and Inject().
int Boundary::iside |
side of the boundary: 0,1
Definition at line 19 of file domain.h.
Referenced by Boundary(), init(), and Inject().
Reaction* Boundary::reactions |
boundary reactions with all species
Definition at line 28 of file domain.h.
Referenced by Boundary(), Domain::boundary(), Domain::Domain(), and init().
boundary temperature
Definition at line 25 of file domain.h.
Referenced by Boundary(), Domain::Domain(), Domain::injection(), and Temperature().
defines boundary type
Definition at line 22 of file domain.h.
Referenced by Boundary(), Domain::boundary(), Domain::BoundaryType(), and Domain::Domain().
REAL * Boundary::xmax |
min/max bounds
Definition at line 21 of file domain.h.
Referenced by Boundary(), init(), and Inject().
REAL* Boundary::xmin |