SPHinXsys  alpha version
Public Attributes | List of all members
SPH::BaseDataPackage Class Reference

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_
 

Detailed Description

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.

Member Data Documentation

◆ is_inner_pkg_

bool SPH::BaseDataPackage::is_inner_pkg_

If true, its data package is on the background mesh.

◆ pkg_index_

Vecu SPH::BaseDataPackage::pkg_index_

index of this data package on the background mesh, Vecu(0) if it is not on the mesh.


The documentation for this class was generated from the following file: