MADNESS  version 0.9
Classes | Namespaces | Typedefs | Functions

Defines/implements plotting interface for functions. More...

#include <madness/constants.h>
Include dependency graph for funcplot.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  madness::trajectory< NDIM >
 

Namespaces

 madness
 Holds machinery to set up Functions/FuncImpls using various Factories and Interfaces.
 
 madness::detail
 

Typedefs

typedef Vector< double, 3 > madness::coord_3d
 
typedef Vector< double, 6 > madness::coord_6d
 

Functions

template<typename T , std::size_t NDIM>
void madness::plotdx (const Function< T, NDIM > &f, const char *filename, const Tensor< double > &cell=FunctionDefaults< NDIM >::get_cell(), const std::vector< long > &npt=std::vector< long >(NDIM, 201L), bool binary=true)
 Writes an OpenDX format file with a cube/slice of points on a uniform grid. More...
 
template<std::size_t NDIM>
void madness::plotvtk_begin (World &world, const char *filename, const Vector< double, NDIM > &plotlo, const Vector< double, NDIM > &plothi, const Vector< long, NDIM > &npt, bool binary=false)
 
template<typename T , std::size_t NDIM>
void madness::plotvtk_data (const T &function, const char *fieldname, World &world, const char *filename, const Vector< double, NDIM > &plotlo, const Vector< double, NDIM > &plothi, const Vector< long, NDIM > &npt, bool binary=false)
 
template<typename T , std::size_t NDIM>
void madness::plotvtk_data (const Function< T, NDIM > &function, const char *fieldname, World &world, const char *filename, const Vector< double, NDIM > &plotlo, const Vector< double, NDIM > &plothi, const Vector< long, NDIM > &npt, bool binary=false, bool plot_refine=false)
 VTK data writer for real-valued (not complex) madness::functions. More...
 
template<typename T , std::size_t NDIM>
void madness::plotvtk_data (const Function< std::complex< T >, NDIM > &function, const char *fieldname, World &world, const char *filename, const Vector< double, NDIM > &plotlo, const Vector< double, NDIM > &plothi, const Vector< long, NDIM > &npt, bool binary=false, bool plot_refine=false)
 VTK data writer for complex-valued madness::functions. More...
 
template<std::size_t NDIM>
void madness::plotvtk_end (World &world, const char *filename, bool binary=false)
 
unsigned short madness::detail::htons_x (unsigned short a)
 
template<typename T , std::size_t NDIM>
void madness::plot_line (const char *filename, int npt, const Vector< double, NDIM > &lo, const Vector< double, NDIM > &hi, const Function< T, NDIM > &f)
 Generates ASCII file tabulating f(r) at npoints along line r=lo,...,hi. More...
 
template<typename T , typename U , std::size_t NDIM>
void madness::plot_line (const char *filename, int npt, const Vector< double, NDIM > &lo, const Vector< double, NDIM > &hi, const Function< T, NDIM > &f, const Function< U, NDIM > &g)
 Generates ASCII file tabulating f(r) and g(r) at npoints along line r=lo,...,hi. More...
 
template<typename T , typename U , typename V , std::size_t NDIM>
void madness::plot_line (const char *filename, int npt, const Vector< double, NDIM > &lo, const Vector< double, NDIM > &hi, const Function< T, NDIM > &f, const Function< U, NDIM > &g, const Function< V, NDIM > &a)
 Generates ASCII file tabulating f(r), g(r), and a(r) at npoints along line r=lo,...,hi. More...
 
template<typename T , typename U , typename V , typename W , std::size_t NDIM>
void madness::plot_line (const char *filename, int npt, const Vector< double, NDIM > &lo, const Vector< double, NDIM > &hi, const Function< T, NDIM > &f, const Function< U, NDIM > &g, const Function< V, NDIM > &a, const Function< W, NDIM > &b)
 Generates ASCII file tabulating f(r), g(r), a(r), b(r) at npoints along line r=lo,...,hi. More...
 
template<size_t NDIM>
void madness::plot_plane (World &world, const Function< double, NDIM > &function, const std::string name)
 
template<size_t NDIM>
void madness::plot_along (World &world, trajectory< NDIM > traj, const Function< double, NDIM > &function, std::string filename)
 
template<size_t NDIM>
void madness::plot_along (World &world, trajectory< NDIM > traj, double(*ff)(const Vector< double, NDIM > &), std::string filename)
 

Detailed Description

Defines/implements plotting interface for functions.