SPHinXsys
alpha version
|
Abstract base class for a data package, by which the data in a derived class can be on- or off-grid. The data package can be defined in a cell of a background mesh so the pkg_index is the cell location on the mesh. TODO: The class will be enriched with general methods for all data packages. More...
#include <mesh_with_data_packages.h>
Inherited by SPH::GridDataPackage< 4, 6 >, and SPH::GridDataPackage< PKG_SIZE, ADDRS_SIZE >.
Public Attributes | |
Vecu | pkg_index_ |
bool | is_inner_pkg_ |
Abstract base class for a data package, by which the data in a derived class can be on- or off-grid. The data package can be defined in a cell of a background mesh so the pkg_index is the cell location on the mesh. TODO: The class will be enriched with general methods for all data packages.
bool SPH::BaseDataPackage::is_inner_pkg_ |
If true, its data package is on the background mesh.
Vecu SPH::BaseDataPackage::pkg_index_ |
index of this data package on the background mesh, Vecu(0) if it is not on the mesh.