ivutils
|
Sequence corresponding to the grid located at some sides of the cube (maximal number of sides is 6). More...
#include <vector_set.h>
Public Member Functions | |
BoxSurfaceSet (const Vector_3 &v1, const Vector_3 &v2, const int *sz, const int used=0xff) | |
v1, v2 are opposite cube vertices sz is array of 3 numbers which define grid points number along directions x, y and z used is bit flag (see BOX_SIDES) which defines used sides (all sides are used by default) | |
int | get_dims (int *dims) const |
Fills dimensions. | |
Vector_3 | get_total_surface () const |
Returns sum of oriented surfaces for all used spatial directions (integral ds) f. | |
Sequence corresponding to the grid located at some sides of the cube (maximal number of sides is 6).
Vector_3 BoxSurfaceSet::get_total_surface | ( | ) | const |
Returns sum of oriented surfaces for all used spatial directions (integral ds) f.
e. if all surfaces are used, returns 0. can be used for calculation of a plane wave flux over total surface