SOFA API  1c8b807d
Open source framework for multi-physics simuation
sofa::topology Namespace Reference

Classes

struct  Element
 
struct  CleanupCheck
 

Typedefs

using Edge = sofa::topology::Element< sofa::geometry::Edge >
 
using Hexahedron = sofa::topology::Element< sofa::geometry::Hexahedron >
 
using Pentahedron = sofa::topology::Element< sofa::geometry::Pentahedron >
 
typedef sofa::type::vector< sofa::Index > SetIndex
 
typedef sofa::type::vector< sofa::Index > SetIndices
 
using Pyramid = sofa::topology::Element< sofa::geometry::Pyramid >
 
using Quad = sofa::topology::Element< sofa::geometry::Quad >
 
using Tetrahedron = sofa::topology::Element< sofa::geometry::Tetrahedron >
 
using Triangle = sofa::topology::Element< sofa::geometry::Triangle >
 

Functions

SOFA_TOPOLOGY_API void init ()
 Initialize the Sofa.Topology library. More...
 
SOFA_TOPOLOGY_API bool isInitialized ()
 Return true if and only if the Sofa.Topology library has been initialized. More...
 
SOFA_TOPOLOGY_API void cleanup ()
 Clean up the resources used by the Sofa.Topology library. More...
 
SOFA_TOPOLOGY_API bool isCleanedUp ()
 Return true if and only if the Sofa.Topology library has been cleaned up. More...
 
SOFA_TOPOLOGY_API void printUninitializedLibraryWarning (const std::string &library, const std::string &initFunction)
 Print a warning about a library not being initialized (meant for internal use). More...
 
SOFA_TOPOLOGY_API void printLibraryNotCleanedUpWarning (const std::string &library, const std::string &cleanupFunction)
 Print a warning about a library not being cleaned up (meant for internal use). More...
 

Typedef Documentation

◆ Edge

◆ Hexahedron

◆ Pentahedron

◆ Pyramid

◆ Quad

◆ SetIndex

◆ SetIndices

◆ Tetrahedron

◆ Triangle

Function Documentation

◆ cleanup()

SOFA_TOPOLOGY_API void sofa::topology::cleanup ( )

Clean up the resources used by the Sofa.Topology library.

◆ init()

SOFA_TOPOLOGY_API void sofa::topology::init ( )

Initialize the Sofa.Topology library.

◆ isCleanedUp()

SOFA_TOPOLOGY_API bool sofa::topology::isCleanedUp ( )

Return true if and only if the Sofa.Topology library has been cleaned up.

◆ isInitialized()

SOFA_TOPOLOGY_API bool sofa::topology::isInitialized ( )

Return true if and only if the Sofa.Topology library has been initialized.

◆ printLibraryNotCleanedUpWarning()

SOFA_TOPOLOGY_API void sofa::topology::printLibraryNotCleanedUpWarning ( const std::string &  library,
const std::string &  cleanupFunction 
)

Print a warning about a library not being cleaned up (meant for internal use).

◆ printUninitializedLibraryWarning()

SOFA_TOPOLOGY_API void sofa::topology::printUninitializedLibraryWarning ( const std::string &  library,
const std::string &  initFunction 
)

Print a warning about a library not being initialized (meant for internal use).