PhysicsBasedAnimationToolkit 0.0.10
Cross-platform C++20 library of algorithms and data structures commonly used in computer graphics research on physically-based simulation.
Loading...
Searching...
No Matches
pbat Namespace Reference

The main namespace of the library. More...

Namespaces

namespace  common
 Common functionality.
 
namespace  fem
 Finite Element Method (FEM)
 
namespace  geometry
 Geometric queries, quantities and data structures.
 
namespace  gpu
 GPU related public functionality.
 
namespace  graph
 
namespace  io
 Namespace for I/O.
 
namespace  math
 Math related functionality.
 
namespace  sim
 PBAT simulation algorithms.
 

Typedefs

using Index = std::ptrdiff_t
 Index type.
 
using Scalar = double
 Scalar type.
 
template<Index N>
using Vector = Eigen::Vector<Scalar, N>
 Fixed-size vector type.
 
template<Index Rows, Index Cols>
using Matrix = Eigen::Matrix<Scalar, Rows, Cols>
 Fixed-size matrix type.
 
using VectorX = Eigen::Vector<Scalar, Eigen::Dynamic>
 Dynamic-size vector type.
 
using MatrixX = Eigen::Matrix<Scalar, Eigen::Dynamic, Eigen::Dynamic>
 Dynamic-size matrix type.
 
template<Index N>
using IndexVector = Eigen::Vector<Index, N>
 Fixed-size index vector type.
 
template<Index Rows, Index Cols>
using IndexMatrix = Eigen::Matrix<Index, Rows, Cols>
 Fixed-size index matrix type.
 
using IndexVectorX = Eigen::Vector<Index, Eigen::Dynamic>
 Dynamic-size index vector type.
 
using IndexMatrixX = Eigen::Matrix<Index, Eigen::Dynamic, Eigen::Dynamic>
 Dynamic-size index matrix type.
 
using CSCMatrix = Eigen::SparseMatrix<Scalar, Eigen::ColMajor>
 Column-major sparse matrix type.
 
using CSRMatrix = Eigen::SparseMatrix<Scalar, Eigen::RowMajor>
 Row-major sparse matrix type.
 
using GpuScalar = float
 Scalar type for GPU code.
 
using GpuIndex = std::int32_t
 Index type for GPU code.
 
using GpuMatrixX
 Matrix type for GPU code.
 
using GpuIndexMatrixX
 Index matrix type for GPU code.
 
using GpuVectorX = Eigen::Vector<GpuScalar, Eigen::Dynamic>
 Vector type for GPU code.
 
using GpuIndexVectorX = Eigen::Vector<GpuIndex, Eigen::Dynamic>
 Index vector type for GPU code.
 

Functions

void ForceLoadDLL ()
 No-op function to force load PhysicsBasedAnimationToolkit DLL.
 

Detailed Description

The main namespace of the library.

Typedef Documentation

◆ GpuIndexMatrixX

Initial value:
Eigen::Matrix<GpuIndex, Eigen::Dynamic, Eigen::Dynamic>

Index matrix type for GPU code.

◆ GpuMatrixX

Initial value:
Eigen::Matrix<GpuScalar, Eigen::Dynamic, Eigen::Dynamic>

Matrix type for GPU code.

◆ IndexMatrix

template<Index Rows, Index Cols>
using pbat::IndexMatrix = Eigen::Matrix<Index, Rows, Cols>

Fixed-size index matrix type.

Template Parameters
Rows
Cols

◆ IndexVector

template<Index N>
using pbat::IndexVector = Eigen::Vector<Index, N>

Fixed-size index vector type.

Template Parameters
N

◆ Matrix

template<Index Rows, Index Cols>
using pbat::Matrix = Eigen::Matrix<Scalar, Rows, Cols>

Fixed-size matrix type.

Template Parameters
Rows
Cols

◆ Vector

template<Index N>
using pbat::Vector = Eigen::Vector<Scalar, N>

Fixed-size vector type.

Template Parameters
N