peclet.voro 1.0.4
Device-native moving-particle Voronoi dynamics
Loading...
Searching...
No Matches
peclet::voro::pybind::Flow Class Reference
Inheritance diagram for peclet::voro::pybind::Flow:
Collaboration diagram for peclet::voro::pybind::Flow:

Public Member Functions

 Flow (Tess &t, real_t nu, const std::string &layout)
 
void release () noexcept override
 
int num_cells () const
 
int num_faces () const
 
int num_wall_faces () const
 
void set_body_force (std::array< real_t, 3 > g)
 
void set_stokes (bool on)
 
void set_pressure_tolerance (real_t tol)
 
void set_implicit_diffusion (bool on)
 
void set_skew_corrected (bool on)
 
void set_wall_gradient_quadratic (bool on)
 
void set_wall_velocity (nb::ndarray< real_t, nb::c_contig > Uw)
 
void set_velocity (nb::ndarray< real_t, nb::c_contig > U)
 
void set_dt (real_t dt)
 
real_t dt () const
 
void step (int n)
 
nb::ndarray< nb::numpy, real_t > get_velocities ()
 
nb::ndarray< nb::numpy, real_t > get_pressure ()
 
nb::ndarray< nb::numpy, real_t > get_volumes ()
 
real_t kinetic_energy ()
 
real_t max_divergence ()
 
int pressure_iterations () const
 
std::string layout () const
 

Constructor & Destructor Documentation

◆ Flow()

peclet::voro::pybind::Flow::Flow ( Tess &  t,
real_t  nu,
const std::string &  layout 
)
inline

Member Function Documentation

◆ dt()

real_t peclet::voro::pybind::Flow::dt ( ) const
inline

◆ get_pressure()

nb::ndarray< nb::numpy, real_t > peclet::voro::pybind::Flow::get_pressure ( )
inline

◆ get_velocities()

nb::ndarray< nb::numpy, real_t > peclet::voro::pybind::Flow::get_velocities ( )
inline

◆ get_volumes()

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

◆ kinetic_energy()

real_t peclet::voro::pybind::Flow::kinetic_energy ( )
inline

◆ layout()

std::string peclet::voro::pybind::Flow::layout ( ) const
inline

◆ max_divergence()

real_t peclet::voro::pybind::Flow::max_divergence ( )
inline

◆ num_cells()

int peclet::voro::pybind::Flow::num_cells ( ) const
inline

◆ num_faces()

int peclet::voro::pybind::Flow::num_faces ( ) const
inline

◆ num_wall_faces()

int peclet::voro::pybind::Flow::num_wall_faces ( ) const
inline

◆ pressure_iterations()

int peclet::voro::pybind::Flow::pressure_iterations ( ) const
inline

◆ release()

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

◆ set_body_force()

void peclet::voro::pybind::Flow::set_body_force ( std::array< real_t, 3 >  g)
inline

◆ set_dt()

void peclet::voro::pybind::Flow::set_dt ( real_t  dt)
inline

◆ set_implicit_diffusion()

void peclet::voro::pybind::Flow::set_implicit_diffusion ( bool  on)
inline

◆ set_pressure_tolerance()

void peclet::voro::pybind::Flow::set_pressure_tolerance ( real_t  tol)
inline

◆ set_skew_corrected()

void peclet::voro::pybind::Flow::set_skew_corrected ( bool  on)
inline

◆ set_stokes()

void peclet::voro::pybind::Flow::set_stokes ( bool  on)
inline

◆ set_velocity()

void peclet::voro::pybind::Flow::set_velocity ( nb::ndarray< real_t, nb::c_contig >  U)
inline

◆ set_wall_gradient_quadratic()

void peclet::voro::pybind::Flow::set_wall_gradient_quadratic ( bool  on)
inline

◆ set_wall_velocity()

void peclet::voro::pybind::Flow::set_wall_velocity ( nb::ndarray< real_t, nb::c_contig >  Uw)
inline

◆ step()

void peclet::voro::pybind::Flow::step ( int  n)
inline

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