MADNESS 0.10.1
madness::trajectory< NDIM > Struct Template Reference

#include <funcplot.h>

Collaboration diagram for madness::trajectory< NDIM >:

Public Types

typedef Vector< double, NDIM > coordT

Public Member Functions

 trajectory ()
 trajectory (double radius, coord_3d el2, long npt)
 trajectory (double radius, long npt)
Vector< double, NDIM > operator() (int ipt)

Static Public Member Functions

static coord_3d circle2 (double lo, double hi, double radius, coord_3d el2, long npt, long ipt)
static coord_6d circle_6d (const coord_6d &lo, const coord_6d &hi, double radius, coord_3d el2, long npt, long ipt)
static double hueCode (const int rank)
 some tools for plotting MRA ranks of low order tensors
static trajectory line2 (const coordT start, const coordT end, const long npt)
 constructor for a line
static Vector< double, NDIM > line_internal (const coordT &lo, const coordT &hi, double radius, coord_3d el2, long npt, long ipt)
static trajectory line_xyz (const int xyz, const long npt)
 EZ ctor for a line a direction xyz={0,1,2,..,NDIM-1} thru the origin.
static void print_psdot (FILE *f, double x, double y, double color)

Public Attributes

coordT(* curve )(const coordT &lo, const coordT &hi, double radius, coord_3d el2, long npt, long ipt)
coord_3d el2
coordT end
double hi
double lo
long npt
double radius
coordT start

Member Typedef Documentation

◆ coordT

template<size_t NDIM>
typedef Vector<double,NDIM> madness::trajectory< NDIM >::coordT

Constructor & Destructor Documentation

◆ trajectory() [1/3]

template<size_t NDIM>
madness::trajectory< NDIM >::trajectory ( )
inline

Referenced by line2(), and line_xyz().

◆ trajectory() [2/3]

template<size_t NDIM>
madness::trajectory< NDIM >::trajectory ( double radius,
long npt )
inline

References circle2(), curve, npt, and radius.

◆ trajectory() [3/3]

template<size_t NDIM>
madness::trajectory< NDIM >::trajectory ( double radius,
coord_3d el2,
long npt )
inline

References circle_6d(), curve, el2, npt, and radius.

Member Function Documentation

◆ circle2()

template<size_t NDIM>
coord_3d madness::trajectory< NDIM >::circle2 ( double lo,
double hi,
double radius,
coord_3d el2,
long npt,
long ipt )
inlinestatic

References el2, hi, lo, npt, madness::constants::pi, and radius.

Referenced by trajectory().

◆ circle_6d()

template<size_t NDIM>
coord_6d madness::trajectory< NDIM >::circle_6d ( const coord_6d & lo,
const coord_6d & hi,
double radius,
coord_3d el2,
long npt,
long ipt )
inlinestatic

References el2, hi, lo, npt, madness::constants::pi, and radius.

Referenced by trajectory().

◆ hueCode()

template<size_t NDIM>
double madness::trajectory< NDIM >::hueCode ( const int rank)
inlinestatic

some tools for plotting MRA ranks of low order tensors

Referenced by madness::plot_along(), and madness::plot_along().

◆ line2()

template<size_t NDIM>
trajectory madness::trajectory< NDIM >::line2 ( const coordT start,
const coordT end,
const long npt )
inlinestatic

constructor for a line

References trajectory(), curve, end, line_internal(), npt, and start.

Referenced by draw_line(), line_xyz(), solve(), test_modified(), and test_recursive_application().

◆ line_internal()

template<size_t NDIM>
Vector< double, NDIM > madness::trajectory< NDIM >::line_internal ( const coordT & lo,
const coordT & hi,
double radius,
coord_3d el2,
long npt,
long ipt )
inlinestatic

References el2, hi, lo, npt, and radius.

Referenced by line2().

◆ line_xyz()

template<size_t NDIM>
trajectory madness::trajectory< NDIM >::line_xyz ( const int xyz,
const long npt )
inlinestatic

EZ ctor for a line a direction xyz={0,1,2,..,NDIM-1} thru the origin.

References trajectory(), madness::FunctionDefaults< NDIM >::get_cell_width(), hi, L, line2(), lo, lo, and npt.

◆ operator()()

template<size_t NDIM>
Vector< double, NDIM > madness::trajectory< NDIM >::operator() ( int ipt)
inline

References curve, el2, end, npt, radius, and start.

◆ print_psdot()

template<size_t NDIM>
void madness::trajectory< NDIM >::print_psdot ( FILE * f,
double x,
double y,
double color )
inlinestatic

References madness::f.

Referenced by madness::plot_along(), and madness::plot_along().

Member Data Documentation

◆ curve

template<size_t NDIM>
coordT(* madness::trajectory< NDIM >::curve) (const coordT &lo, const coordT &hi, double radius, coord_3d el2, long npt, long ipt)

◆ el2

template<size_t NDIM>
coord_3d madness::trajectory< NDIM >::el2

◆ end

template<size_t NDIM>
coordT madness::trajectory< NDIM >::end

Referenced by line2(), and operator()().

◆ hi

template<size_t NDIM>
double madness::trajectory< NDIM >::hi

◆ lo

template<size_t NDIM>
double madness::trajectory< NDIM >::lo

◆ npt

◆ radius

template<size_t NDIM>
double madness::trajectory< NDIM >::radius

◆ start

template<size_t NDIM>
coordT madness::trajectory< NDIM >::start

Referenced by line2(), and operator()().


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