![]() |
OpenLB 1.8.1
|
#include <superGeometryStatistics2D.h>
Collaboration diagram for olb::SuperGeometryStatistics2D< T >:Public Member Functions | |
| SuperGeometryStatistics2D (SuperGeometry< T, 2 > *superGeometry) | |
| Constructor. | |
| SuperGeometryStatistics2D (SuperGeometryStatistics2D const &rhs) | |
| Copy constructor. | |
| SuperGeometryStatistics2D< T > & | operator= (SuperGeometryStatistics2D const &rhs) |
| Copy assignment. | |
| bool & | getStatisticsStatus () |
| Read and write access to a flag, which indicates if an uptate is needed (=true) | |
| bool const & | getStatisticsStatus () const |
| Read only access to a flag, which indicates if an uptate is needed (=true) | |
| void | update (bool verbose=false) |
| Updates the statistics if it is really needed. | |
| int | getNmaterials () |
| Returns the number of different materials. | |
| int | getNmaterials () const |
| int | getNvoxel (int material) |
| Returns the number of voxels for a given material number. | |
| int | getNvoxel (int material) const |
| int | getNvoxel () |
| Returns the number of voxels with material!=0. | |
| int | getNvoxel () const |
| std::vector< T > | getMinPhysR (int material) |
| Returns the min. phys position in each direction. | |
| std::vector< T > | getMinPhysR (int material) const |
| std::vector< T > | getMaxPhysR (int material) |
| Returns the max. phys position in each direction. | |
| std::vector< T > | getMaxPhysR (int material) const |
| std::vector< T > | getPhysExtend (int material) |
| Returns the phys extend as length in each direction. | |
| std::vector< T > | getPhysExtend (int material) const |
| std::vector< T > | getPhysRadius (int material) |
| Returns the phys radius as length in each direction. | |
| std::vector< T > | getPhysRadius (int material) const |
| std::vector< T > | getCenterPhysR (int material) |
| Returns the center position. | |
| std::vector< T > | getCenterPhysR (int material) const |
| std::vector< int > | getType (int iC, int iX, int iY) |
| Returns the boundary type which is characterized by a discrte normal (c.f. Zimny) | |
| std::vector< int > | getType (int iC, int iX, int iY) const |
| std::vector< T > | computeNormal (int material) |
| Returns normal that points into the fluid for paraxial surfaces. | |
| std::vector< T > | computeNormal (int material) const |
| std::vector< int > | computeDiscreteNormal (int material, T maxNorm=1.1) |
| Returns discrete normal with norm maxNorm that points into the fluid for paraxial surfaces maxNorm=1.1 implies only normals parallel to the axises. | |
| std::vector< int > | computeDiscreteNormal (int material, T maxNorm=1.1) const |
| void | print () |
| Prints some statistic information, i.e. the number of voxels and min. max. physical position for each different material. | |
| void | print () const |
| olb::SuperGeometryStatistics2D< T >::SuperGeometryStatistics2D | ( | SuperGeometry< T, 2 > * | superGeometry | ) |
Constructor.
Definition at line 40 of file superGeometryStatistics2D.hh.
| olb::SuperGeometryStatistics2D< T >::SuperGeometryStatistics2D | ( | SuperGeometryStatistics2D< T > const & | rhs | ) |
Copy constructor.
Definition at line 46 of file superGeometryStatistics2D.hh.
| std::vector< int > olb::SuperGeometryStatistics2D< T >::computeDiscreteNormal | ( | int | material, |
| T | maxNorm = 1.1 ) |
Returns discrete normal with norm maxNorm that points into the fluid for paraxial surfaces maxNorm=1.1 implies only normals parallel to the axises.
Definition at line 439 of file superGeometryStatistics2D.hh.
| std::vector< int > olb::SuperGeometryStatistics2D< T >::computeDiscreteNormal | ( | int | material, |
| T | maxNorm = 1.1 ) const |
Definition at line 446 of file superGeometryStatistics2D.hh.
References olb::norm(), and olb::util::sqrt().
Here is the call graph for this function:| std::vector< T > olb::SuperGeometryStatistics2D< T >::computeNormal | ( | int | material | ) |
Returns normal that points into the fluid for paraxial surfaces.
Definition at line 398 of file superGeometryStatistics2D.hh.
| std::vector< T > olb::SuperGeometryStatistics2D< T >::computeNormal | ( | int | material | ) | const |
Definition at line 405 of file superGeometryStatistics2D.hh.
References olb::singleton::mpi(), olb::norm(), OLB_ASSERT, olb::singleton::MpiManager::reduceAndBcast(), and olb::util::sqrt().
Here is the call graph for this function:| std::vector< T > olb::SuperGeometryStatistics2D< T >::getCenterPhysR | ( | int | material | ) |
Returns the center position.
Definition at line 367 of file superGeometryStatistics2D.hh.
| std::vector< T > olb::SuperGeometryStatistics2D< T >::getCenterPhysR | ( | int | material | ) | const |
Definition at line 374 of file superGeometryStatistics2D.hh.
| std::vector< T > olb::SuperGeometryStatistics2D< T >::getMaxPhysR | ( | int | material | ) |
Returns the max. phys position in each direction.
Definition at line 310 of file superGeometryStatistics2D.hh.
| std::vector< T > olb::SuperGeometryStatistics2D< T >::getMaxPhysR | ( | int | material | ) | const |
Definition at line 317 of file superGeometryStatistics2D.hh.
| std::vector< T > olb::SuperGeometryStatistics2D< T >::getMinPhysR | ( | int | material | ) |
Returns the min. phys position in each direction.
Definition at line 292 of file superGeometryStatistics2D.hh.
| std::vector< T > olb::SuperGeometryStatistics2D< T >::getMinPhysR | ( | int | material | ) | const |
Definition at line 299 of file superGeometryStatistics2D.hh.
| int olb::SuperGeometryStatistics2D< T >::getNmaterials | ( | ) |
Returns the number of different materials.
Definition at line 242 of file superGeometryStatistics2D.hh.
| int olb::SuperGeometryStatistics2D< T >::getNmaterials | ( | ) | const |
Definition at line 249 of file superGeometryStatistics2D.hh.
| int olb::SuperGeometryStatistics2D< T >::getNvoxel | ( | ) |
Returns the number of voxels with material!=0.
Definition at line 273 of file superGeometryStatistics2D.hh.
| int olb::SuperGeometryStatistics2D< T >::getNvoxel | ( | ) | const |
Definition at line 280 of file superGeometryStatistics2D.hh.
| int olb::SuperGeometryStatistics2D< T >::getNvoxel | ( | int | material | ) |
Returns the number of voxels for a given material number.
Definition at line 255 of file superGeometryStatistics2D.hh.
| int olb::SuperGeometryStatistics2D< T >::getNvoxel | ( | int | material | ) | const |
Definition at line 262 of file superGeometryStatistics2D.hh.
| std::vector< T > olb::SuperGeometryStatistics2D< T >::getPhysExtend | ( | int | material | ) |
Returns the phys extend as length in each direction.
Definition at line 328 of file superGeometryStatistics2D.hh.
| std::vector< T > olb::SuperGeometryStatistics2D< T >::getPhysExtend | ( | int | material | ) | const |
Definition at line 335 of file superGeometryStatistics2D.hh.
| std::vector< T > olb::SuperGeometryStatistics2D< T >::getPhysRadius | ( | int | material | ) |
Returns the phys radius as length in each direction.
Definition at line 350 of file superGeometryStatistics2D.hh.
| std::vector< T > olb::SuperGeometryStatistics2D< T >::getPhysRadius | ( | int | material | ) | const |
Definition at line 357 of file superGeometryStatistics2D.hh.
| bool & olb::SuperGeometryStatistics2D< T >::getStatisticsStatus | ( | ) |
Read and write access to a flag, which indicates if an uptate is needed (=true)
Definition at line 62 of file superGeometryStatistics2D.hh.
| bool const & olb::SuperGeometryStatistics2D< T >::getStatisticsStatus | ( | ) | const |
Read only access to a flag, which indicates if an uptate is needed (=true)
Definition at line 68 of file superGeometryStatistics2D.hh.
| std::vector< int > olb::SuperGeometryStatistics2D< T >::getType | ( | int | iC, |
| int | iX, | ||
| int | iY ) |
Returns the boundary type which is characterized by a discrte normal (c.f. Zimny)
Definition at line 384 of file superGeometryStatistics2D.hh.
| std::vector< int > olb::SuperGeometryStatistics2D< T >::getType | ( | int | iC, |
| int | iX, | ||
| int | iY ) const |
Definition at line 390 of file superGeometryStatistics2D.hh.
| SuperGeometryStatistics2D< T > & olb::SuperGeometryStatistics2D< T >::operator= | ( | SuperGeometryStatistics2D< T > const & | rhs | ) |
Copy assignment.
Definition at line 53 of file superGeometryStatistics2D.hh.
| void olb::SuperGeometryStatistics2D< T >::print | ( | ) |
Prints some statistic information, i.e. the number of voxels and min. max. physical position for each different material.
Definition at line 469 of file superGeometryStatistics2D.hh.
| void olb::SuperGeometryStatistics2D< T >::print | ( | ) | const |
Definition at line 476 of file superGeometryStatistics2D.hh.
| void olb::SuperGeometryStatistics2D< T >::update | ( | bool | verbose = false | ) |
Updates the statistics if it is really needed.
Definition at line 75 of file superGeometryStatistics2D.hh.
References olb::singleton::MpiManager::getRank(), olb::singleton::MpiManager::getSize(), olb::singleton::mpi(), olb::singleton::MpiManager::reduceAndBcast(), and olb::singleton::MpiManager::sendRecv().
Here is the call graph for this function: