peclet.voro 1.0.4
Device-native moving-particle Voronoi dynamics
Loading...
Searching...
No Matches
peclet::voro::pybind::Tess Class Reference

#include <voro_bindings_tess.hpp>

Inheritance diagram for peclet::voro::pybind::Tess:
Collaboration diagram for peclet::voro::pybind::Tess:

Public Member Functions

 Tess ()=default
 
void set_domain (std::array< real_t, 3 > extent, std::array< real_t, 3 > origin, std::array< bool, 3 > periodic)
 
std::array< real_t, 3 > extent () const
 
void set_tolerance (real_t frac)
 
void set_geometry (nb::ndarray< int, nb::c_contig > node_ints, nb::ndarray< real_t, nb::c_contig > node_reals, int root, real_t grad_h)
 
void clear_geometry ()
 
void set_wall_mode (const std::string &mode, real_t skin_frac)
 
void set_weights (nb::ndarray< real_t, nb::c_contig > w)
 
void clear_weights ()
 
void set_local_certificate (bool on)
 
void set_gate (bool on)
 
void set_profile (bool on)
 
nb::dict build_report ()
 
void build (nb::ndarray< real_t, nb::c_contig > a, bool strict)
 
nb::dict step (nb::ndarray< real_t, nb::c_contig > a)
 
nb::ndarray< nb::numpy, real_t > get_volumes ()
 
nb::ndarray< nb::numpy, int > get_neighbor_counts ()
 
nb::dict energy_forces (nb::ndarray< int, nb::c_contig > types, nb::ndarray< real_t, nb::c_contig > tension, std::optional< nb::ndarray< real_t, nb::c_contig > > sigma_wall, std::optional< nb::ndarray< real_t, nb::c_contig > > dEdV, real_t lloyd, real_t facet_tension)
 
peclet::voro::fv::FaceMesh< real_t > face_mesh ()
 
nb::ndarray< nb::numpy, int > get_wall_counts ()
 
int num_particles () const
 
void release () noexcept override
 

Constructor & Destructor Documentation

◆ Tess()

peclet::voro::pybind::Tess::Tess ( )
default

Member Function Documentation

◆ build()

void peclet::voro::pybind::Tess::build ( nb::ndarray< real_t, nb::c_contig >  a,
bool  strict 
)
inline

◆ build_report()

nb::dict peclet::voro::pybind::Tess::build_report ( )
inline

◆ clear_geometry()

void peclet::voro::pybind::Tess::clear_geometry ( )
inline

◆ clear_weights()

void peclet::voro::pybind::Tess::clear_weights ( )
inline

◆ energy_forces()

nb::dict peclet::voro::pybind::Tess::energy_forces ( nb::ndarray< int, nb::c_contig >  types,
nb::ndarray< real_t, nb::c_contig >  tension,
std::optional< nb::ndarray< real_t, nb::c_contig > >  sigma_wall,
std::optional< nb::ndarray< real_t, nb::c_contig > >  dEdV,
real_t  lloyd,
real_t  facet_tension 
)
inline

◆ extent()

std::array< real_t, 3 > peclet::voro::pybind::Tess::extent ( ) const
inline

◆ face_mesh()

peclet::voro::fv::FaceMesh< real_t > peclet::voro::pybind::Tess::face_mesh ( )

◆ get_neighbor_counts()

nb::ndarray< nb::numpy, int > peclet::voro::pybind::Tess::get_neighbor_counts ( )
inline

◆ get_volumes()

nb::ndarray< nb::numpy, real_t > peclet::voro::pybind::Tess::get_volumes ( )
inline

◆ get_wall_counts()

nb::ndarray< nb::numpy, int > peclet::voro::pybind::Tess::get_wall_counts ( )
inline

◆ num_particles()

int peclet::voro::pybind::Tess::num_particles ( ) const
inline

◆ release()

void peclet::voro::pybind::Tess::release ( )
inlineoverridenoexcept

◆ set_domain()

void peclet::voro::pybind::Tess::set_domain ( std::array< real_t, 3 >  extent,
std::array< real_t, 3 >  origin,
std::array< bool, 3 >  periodic 
)
inline

◆ set_gate()

void peclet::voro::pybind::Tess::set_gate ( bool  on)
inline

◆ set_geometry()

void peclet::voro::pybind::Tess::set_geometry ( nb::ndarray< int, nb::c_contig >  node_ints,
nb::ndarray< real_t, nb::c_contig >  node_reals,
int  root,
real_t  grad_h 
)
inline

◆ set_local_certificate()

void peclet::voro::pybind::Tess::set_local_certificate ( bool  on)
inline

◆ set_profile()

void peclet::voro::pybind::Tess::set_profile ( bool  on)
inline

◆ set_tolerance()

void peclet::voro::pybind::Tess::set_tolerance ( real_t  frac)
inline

◆ set_wall_mode()

void peclet::voro::pybind::Tess::set_wall_mode ( const std::string &  mode,
real_t  skin_frac 
)
inline

◆ set_weights()

void peclet::voro::pybind::Tess::set_weights ( nb::ndarray< real_t, nb::c_contig >  w)
inline

◆ step()

nb::dict peclet::voro::pybind::Tess::step ( nb::ndarray< real_t, nb::c_contig >  a)
inline

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