occ
Loading...
Searching...
No Matches
occ::isosurface::StockholderWeightFunctor Class Reference

#include <stockholder_weight.h>

Public Member Functions

 StockholderWeightFunctor (const occ::core::Molecule &in, occ::core::Molecule &ext, float sep, const occ::slater::InterpolatorParams &={})
 
void remap_vertices (const std::vector< float > &v, std::vector< float > &dest) const
 
OCC_ALWAYS_INLINE float operator() (const FVec3 &pos) const
 
void batch (Eigen::Ref< const FMat3N > pos, Eigen::Ref< FVec > layer) const
 
OCC_ALWAYS_INLINE FVec3 gradient (const FVec3 &pos) const
 
const auto & side_length () const
 
Eigen::Vector3i cubes_per_side () const
 
const auto & origin () const
 
int num_calls () const
 
void set_background_density (float rho)
 
float background_density () const
 
const auto & bounding_box () const
 
const auto & weight_function () const
 
void update_num_calls (int n) const
 

Constructor & Destructor Documentation

◆ StockholderWeightFunctor()

occ::isosurface::StockholderWeightFunctor::StockholderWeightFunctor ( const occ::core::Molecule in,
occ::core::Molecule ext,
float  sep,
const occ::slater::InterpolatorParams = {} 
)

Member Function Documentation

◆ background_density()

float occ::isosurface::StockholderWeightFunctor::background_density ( ) const
inline

◆ batch()

void occ::isosurface::StockholderWeightFunctor::batch ( Eigen::Ref< const FMat3N pos,
Eigen::Ref< FVec layer 
) const
inline

◆ bounding_box()

const auto & occ::isosurface::StockholderWeightFunctor::bounding_box ( ) const
inline

◆ cubes_per_side()

Eigen::Vector3i occ::isosurface::StockholderWeightFunctor::cubes_per_side ( ) const
inline

◆ gradient()

OCC_ALWAYS_INLINE FVec3 occ::isosurface::StockholderWeightFunctor::gradient ( const FVec3 pos) const
inline

◆ num_calls()

int occ::isosurface::StockholderWeightFunctor::num_calls ( ) const
inline

◆ operator()()

OCC_ALWAYS_INLINE float occ::isosurface::StockholderWeightFunctor::operator() ( const FVec3 pos) const
inline

◆ origin()

const auto & occ::isosurface::StockholderWeightFunctor::origin ( ) const
inline

◆ remap_vertices()

void occ::isosurface::StockholderWeightFunctor::remap_vertices ( const std::vector< float > &  v,
std::vector< float > &  dest 
) const
inline

◆ set_background_density()

void occ::isosurface::StockholderWeightFunctor::set_background_density ( float  rho)
inline

◆ side_length()

const auto & occ::isosurface::StockholderWeightFunctor::side_length ( ) const
inline

◆ update_num_calls()

void occ::isosurface::StockholderWeightFunctor::update_num_calls ( int  n) const
inline

◆ weight_function()

const auto & occ::isosurface::StockholderWeightFunctor::weight_function ( ) const
inline

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