Microflow 3D
v1.0
|
A class of methods that automatically classify nodes of any geometry. More...
#include <AutoSettingNode.h>
Public Member Functions | |
AutoSettingNode (const std::shared_ptr< MF::Database::ConfigData > &ConfigData_Ptr, const openvdb::Int64Grid::Ptr &GeometryGrid_Ptr, const std::shared_ptr< MF::GU::LatticeParametersD3Q19 > &LatticeParameters_Ptr, const openvdb::Int32Grid::Ptr &PropagationGrid_Ptr) | |
~AutoSettingNode ()=default | |
void | DefaultTypeSet () |
Sets default node types on walls, edges and corners of geometry that are automatically detected and were set to type 3. The default node types are defined in case_parameters.cfg, section: "DefaultBoundaryCondition". More... | |
void | NodeTypeClass () |
Classifies primary node types (e.g 20,30,40) into subtypes 21,22,23... for North/South/Est/West/Top/Bottom walls. More... | |
void | BoundaryFind () |
Finds geometry boundary nodes and set its value to 3. More... | |
Static Public Member Functions | |
static std::shared_ptr< MF::GB::AutoSettingNode > | New (const std::shared_ptr< MF::Database::ConfigData > &ConfigData_Ptr, const openvdb::Int64Grid::Ptr &GeometryGrid_Ptr, const std::shared_ptr< MF::GU::LatticeParametersD3Q19 > &LatticeParameters_Ptr, const openvdb::Int32Grid::Ptr &PropagationGrid_Ptr) |
A class of methods that automatically classify nodes of any geometry.
Definition at line 27 of file AutoSettingNode.h.
|
inline |
Definition at line 30 of file AutoSettingNode.h.
References ~AutoSettingNode().
|
default |
Referenced by AutoSettingNode().
void MF::GB::AutoSettingNode::BoundaryFind | ( | ) |
Finds geometry boundary nodes and set its value to 3.
Definition at line 324 of file AutoSettingNode.cpp.
References MF::GU::DirectionsD3Q19::FF, MF::GB::NodeID::Node, MF::GB::NodeID::node_id, MF::GU::DirectionsD3Q19::node_t, and MF::GB::NodeID::NodeID.
Referenced by New().
void MF::GB::AutoSettingNode::DefaultTypeSet | ( | ) |
Sets default node types on walls, edges and corners of geometry that are automatically detected and were set to type 3. The default node types are defined in case_parameters.cfg, section: "DefaultBoundaryCondition".
Definition at line 13 of file AutoSettingNode.cpp.
References MF::GB::NodeID::Node, MF::GB::NodeID::node_id, and MF::GB::NodeID::NodeID.
Referenced by New().
|
inlinestatic |
Definition at line 40 of file AutoSettingNode.h.
References BoundaryFind(), DefaultTypeSet(), and NodeTypeClass().
Referenced by MF::GB::GeometryBuildFromSTL::AutomaticBoundaryFind().
void MF::GB::AutoSettingNode::NodeTypeClass | ( | ) |
Classifies primary node types (e.g 20,30,40) into subtypes 21,22,23... for North/South/Est/West/Top/Bottom walls.
Definition at line 70 of file AutoSettingNode.cpp.
References MF::GB::NodeID::Node, MF::GB::NodeID::node_id, and MF::GB::NodeID::NodeID.
Referenced by New().