rsvs3D  0.0.0
Codes for the c++ implementation of the 3D RSVS
volu Class Reference

Class for volume cell objects in a mesh. More...

#include <mesh.hpp>

Inheritance diagram for volu:
meshpart ArrayStructpart

Public Member Functions

std::vector< int > vertind (const mesh &meshin) const
 Get all the vertices a volume is connected to. More...
 
void ChangeIndices (int nVert, int nEdge, int nSurf, int nVolu)
 
void disp () const
 
void disptree (const mesh &meshin, int n) const
 
double value (const mesh &meshin) const
 
void PrepareForUse ()
 
bool isready (bool isInMesh) const
 
void read (FILE *fid)
 
void write (FILE *fid) const
 
void TightenConnectivity ()
 
coordvec PseudoCentroid (const mesh &meshin) const
 Calculates the length weighted pseudo-centroid of a volume. More...
 
void operator= (const volu *other)
 
int Key () const
 

Public Attributes

double fill
 
double target
 
double error
 
double volume
 
std::vector< int > surfind
 
- Public Attributes inherited from ArrayStructpart
int index = 0
 
bool isBorder = false
 

Detailed Description

Class for volume cell objects in a mesh.

Definition at line 196 of file mesh.hpp.

Member Function Documentation

◆ PseudoCentroid()

coordvec volu::PseudoCentroid ( const mesh meshin) const

Calculates the length weighted pseudo-centroid of a volume.

Parameters
[in]meshinThe mesh the volume is part of
Returns
The coordinate of the pseudo centroid of the volume.

Definition at line 610 of file mesh.cpp.

◆ vertind()

std::vector< int > volu::vertind ( const mesh meshin) const

Get all the vertices a volume is connected to.

Parameters
[in]meshinThe mesh containing the volume object
Returns
List of vertex indices which make corners of the polyhedron.

Definition at line 1919 of file mesh.cpp.


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