SPHinXsys
alpha version
|
level set which has double resolution of a coarse level set. More...
#include <level_set.h>
Inherits SPH::RefinedMesh< LevelSet >.
Public Member Functions | |
RefinedLevelSet (BoundingBox tentative_bounds, LevelSet &coarse_level_set, Shape &shape, SPHAdaptation &sph_adaptation) | |
Public Member Functions inherited from SPH::RefinedMesh< LevelSet > | |
RefinedMesh (BoundingBox tentative_bounds, LevelSet &coarse_mesh, Args &&...args) | |
Public Member Functions inherited from SPH::LevelSet | |
LevelSet (BoundingBox tentative_bounds, Real data_spacing, size_t buffer_size, Shape &shape, SPHAdaptation &sph_adaptation) | |
LevelSet (BoundingBox tentative_bounds, Real data_spacing, Shape &shape, SPHAdaptation &sph_adaptation) | |
virtual void | cleanInterface (Real small_shift_factor) override |
virtual bool | probeIsWithinMeshBound (const Vecd &position) override |
virtual Real | probeSignedDistance (const Vecd &position) override |
virtual Vecd | probeNormalDirection (const Vecd &position) override |
virtual Vecd | probeLevelSetGradient (const Vecd &position) override |
virtual Real | probeKernelIntegral (const Vecd &position, Real h_ratio=1.0) override |
virtual Vecd | probeKernelGradientIntegral (const Vecd &position, Real h_ratio=1.0) override |
virtual void | writeMeshFieldToPlt (std::ofstream &output_file) override |
bool | isWithinCorePackage (Vecd position) |
Real | computeKernelIntegral (const Vecd &position) |
Vecd | computeKernelGradientIntegral (const Vecd &position) |
Public Member Functions inherited from SPH::MeshWithGridDataPackages< BaseLevelSet, LevelSetDataPackage > | |
MeshWithGridDataPackages (BoundingBox tentative_bounds, Real data_spacing, size_t buffer_size, Args &&...args) | |
void | allocateMeshDataMatrix () |
void | deleteMeshDataMatrix () |
DataType | probeMesh (const Vecd &position) |
virtual Real | DataSpacing () override |
Public Member Functions inherited from SPH::BaseLevelSet | |
BaseLevelSet (Shape &shape, SPHAdaptation &sph_adaptation) | |
Public Member Functions inherited from SPH::BaseMeshField | |
BaseMeshField (const std::string &name) | |
std::string | Name () |
Public Member Functions inherited from SPH::Mesh | |
Mesh (BoundingBox tentative_bounds, Real grid_spacing, size_t buffer_width) | |
Mesh (Vecd mesh_lower_bound, Vecu number_of_cells, Real grid_spacing) | |
Vecu | NumberOfCells () |
size_t | MeshBufferSize () |
Public Member Functions inherited from SPH::BaseMesh | |
BaseMesh (Vecu number_of_grid_points) | |
BaseMesh (Vecd mesh_lower_bound, Real grid_spacing, Vecu number_of_grid_points) | |
BaseMesh (BoundingBox tentative_bounds, Real grid_spacing, size_t buffer_width) | |
Vecd | MeshLowerBound () |
Real | GridSpacing () |
Vecu | NumberOfGridPoints () |
Vecu | NumberOfGridPointsFromNumberOfCells (const Vecu &number_of_cells) |
Vecu | NumberOfCellsFromNumberOfGridPoints (const Vecu &number_of_grid_points) |
Vecd | GridPositionFromCellPosition (const Vecd &cell_position) |
Vecu | CellIndexFromPosition (const Vecd &position) |
Vecd | CellPositionFromIndex (const Vecu &cell_index) |
Vecd | GridPositionFromIndex (const Vecu &grid_index) |
Vecu | transfer1DtoMeshIndex (const Vecu &number_of_mesh_indexes, size_t i) |
size_t | transferMeshIndexTo1D (const Vecu &number_of_mesh_indexes, const Vecu &mesh_index) |
size_t | MortonCode (const size_t &i) |
size_t | transferMeshIndexToMortonOrder (const Vecu &mesh_index) |
Protected Member Functions | |
void | initializeDataInACellFromCoarse (const Vecu &cell_index, Real dt) |
Protected Member Functions inherited from SPH::LevelSet | |
void | finishDataPackages () |
void | reinitializeLevelSet () |
void | markNearInterface (Real small_shift_factor) |
void | redistanceInterface () |
void | updateLevelSetGradient () |
void | updateLevelSetGradientForAPackage (LevelSetDataPackage *inner_data_pkg, Real dt=0.0) |
void | updateKernelIntegrals () |
void | updateKernelIntegralsForAPackage (LevelSetDataPackage *inner_data_pkg, Real dt=0.0) |
void | stepReinitializationForAPackage (LevelSetDataPackage *inner_data_pkg, Real dt=0.0) |
void | markNearInterfaceForAPackage (LevelSetDataPackage *core_data_pkg, Real dt=0.0) |
void | redistanceInterfaceForAPackage (LevelSetDataPackage *core_data_pkg, Real dt=0.0) |
bool | isInnerPackage (const Vecu &cell_index) |
LevelSetDataPackage * | createDataPackage (const Vecu &cell_index, const Vecd &cell_position) |
void | initializeDataInACell (const Vecu &cell_index, Real dt) |
void | initializeAddressesInACell (const Vecu &cell_index, Real dt) |
void | tagACellIsInnerPackage (const Vecu &cell_index, Real dt) |
Protected Member Functions inherited from SPH::MeshWithGridDataPackages< BaseLevelSet, LevelSetDataPackage > | |
void | initializeASingularDataPackage (ConstructorArgs &&...args) |
void | assignDataPackageAddress (const Vecu &cell_index, LevelSetDataPackage *data_pkg) |
LevelSetDataPackage * | DataPackageFromCellIndex (const Vecu &cell_index) |
DataType | DataValueFromGlobalIndex (const Vecu &global_grid_index) |
void | initializePackageAddressesInACell (const Vecu &cell_index) |
std::pair< int, int > | CellShiftAndDataIndex (int data_addrs_index_component) |
Protected Member Functions inherited from SPH::BaseLevelSet | |
Real | computeHeaviside (Real phi, Real half_width) |
Protected Member Functions inherited from SPH::Mesh | |
void | copyMeshProperties (Mesh *another_mesh) |
level set which has double resolution of a coarse level set.