Psi4
Public Member Functions | List of all members
psi::NaiveGridBlocker Class Reference

#include <gridblocker.h>

Inheritance diagram for psi::NaiveGridBlocker:
psi::GridBlocker

Public Member Functions

 NaiveGridBlocker (const int npoints_ref, double const *x_ref, double const *y_ref, double const *z_ref, double const *w_ref, int const *index_ref, const int max_points, const int min_points, const double max_radius, std::shared_ptr< BasisExtents > extents)
 
virtual ~NaiveGridBlocker ()
 
virtual void block ()
 
- Public Member Functions inherited from psi::GridBlocker
 GridBlocker (const int npoints_ref, double const *x_ref, double const *y_ref, double const *z_ref, double const *w_ref, int const *index_ref, const int max_points, const int min_points, const double max_radius, std::shared_ptr< BasisExtents > extents)
 
virtual ~GridBlocker ()
 
int npoints () const
 
int max_points () const
 
int max_functions () const
 
double * x () const
 
double * y () const
 
double * z () const
 
double * w () const
 
int * index () const
 
const std::vector
< std::shared_ptr
< BlockOPoints > > & 
blocks () const
 
void set_print (int print)
 
void set_debug (int debug)
 
void set_bench (int bench)
 

Additional Inherited Members

- Protected Attributes inherited from psi::GridBlocker
int debug_
 
int print_
 
int bench_
 
const int npoints_ref_
 
double const * x_ref_
 
double const * y_ref_
 
double const * z_ref_
 
double const * w_ref_
 
int const * index_ref_
 
const size_t tol_max_points_
 
const size_t tol_min_points_
 
const double tol_max_radius_
 
std::shared_ptr< BasisExtentsextents_
 
int npoints_
 
int max_points_
 
int max_functions_
 
double * x_
 
double * y_
 
double * z_
 
double * w_
 
int * index_
 
std::vector< std::shared_ptr
< BlockOPoints > > 
blocks_
 

Detailed Description

Naive stride-based blocking

Constructor & Destructor Documentation

psi::NaiveGridBlocker::NaiveGridBlocker ( const int  npoints_ref,
double const *  x_ref,
double const *  y_ref,
double const *  z_ref,
double const *  w_ref,
int const *  index_ref,
const int  max_points,
const int  min_points,
const double  max_radius,
std::shared_ptr< BasisExtents extents 
)
psi::NaiveGridBlocker::~NaiveGridBlocker ( )
virtual

Member Function Documentation

void psi::NaiveGridBlocker::block ( )
virtual

Implements psi::GridBlocker.


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