|
OOFEM 3.0
|
A struct to represent a single voxel. More...
#include <VoxelGrid.h>
Public Member Functions | |
| double | time_activated () |
| Get the time the voxel was activated. | |
| double | vof () |
| Get the volume of fluid (infill percentage) of the voxel. | |
| double | getVofAt (double time) |
Public Attributes | |
| int | id = -1 |
| std::array< int, 8 > | nodes |
| double | timeActivated = 0.0 |
| std::vector< std::tuple< double, double > > | vofHistory |
A struct to represent a single voxel.
Definition at line 23 of file VoxelGrid.h.
|
inline |
Definition at line 49 of file VoxelGrid.h.
References vofHistory.
|
inline |
Get the time the voxel was activated.
Definition at line 33 of file VoxelGrid.h.
Referenced by oofem::AdditiveManufacturingProblem::add_element_if_not_exists2(), and oofem::AdditiveManufacturingProblem::add_sm_element_if_not_exists2().
|
inline |
Get the volume of fluid (infill percentage) of the voxel.
Definition at line 42 of file VoxelGrid.h.
References vofHistory.
| int Voxel::id = -1 |
The OOFEM id of the voxel.
Definition at line 24 of file VoxelGrid.h.
Referenced by oofem::AdditiveManufacturingProblem::add_element_if_not_exists2(), and oofem::AdditiveManufacturingProblem::add_sm_element_if_not_exists2().
| std::array<int, 8> Voxel::nodes |
The OOFEM ids of the nodes of the voxel.
Definition at line 25 of file VoxelGrid.h.
Referenced by oofem::AdditiveManufacturingProblem::add_element_if_not_exists2(), and oofem::AdditiveManufacturingProblem::add_sm_element_if_not_exists2().
| double Voxel::timeActivated = 0.0 |
The time the voxel was activated.
Definition at line 26 of file VoxelGrid.h.
| std::vector<std::tuple<double, double> > Voxel::vofHistory |
The time of each vof increment and a corresponding vof value.
Definition at line 27 of file VoxelGrid.h.
Referenced by oofem::AdditiveManufacturingProblem::add_element_if_not_exists2(), getVofAt(), and vof().