MADNESS 0.10.1
Plotter Class Reference
Collaboration diagram for Plotter:

Public Member Functions

 Plotter (World &world)
template<typename T, std::size_t NDIM>
void dolineplot (const Function< T, NDIM > &f)
template<typename T, std::size_t NDIM>
void dolineplot (const Function< T, NDIM > &f, const Function< T, NDIM > &g)
template<typename T>
void doplot ()
template<typename T, std::size_t NDIM>
void doplot1 ()
template<typename T, std::size_t NDIM>
void dovolumeplot (const Function< T, NDIM > &f)
template<typename T, std::size_t NDIM>
void dovolumeplot (const Function< T, NDIM > &f, const Function< T, NDIM > &g)
void plot ()
void read (std::istream &input)
Tensor< double > read_cell (std::istream &input)
std::vector< long > read_npt (std::istream &input)
std::string read_to_end_of_line (std::istream &input)
template<typename Archive>
void serialize (Archive &ar)

Public Attributes

bool binary
Tensor< double > cell
std::string data_type
bool finished
std::string formula
std::string function_name
std::string input_filename
int ndim
std::vector< long > npt
std::string output_filename
std::string output_format
Tensor< double > plot_cell
std::string plot_type
World & world

Constructor & Destructor Documentation

◆ Plotter()

Member Function Documentation

◆ dolineplot() [1/2]

template<typename T, std::size_t NDIM>
void Plotter::dolineplot ( const Function< T, NDIM > & f)
inline

◆ dolineplot() [2/2]

template<typename T, std::size_t NDIM>
void Plotter::dolineplot ( const Function< T, NDIM > & f,
const Function< T, NDIM > & g )
inline

◆ doplot()

template<typename T>
void Plotter::doplot ( )
inline

References doplot1(), MADNESS_EXCEPTION, and ndim.

Referenced by plot().

◆ doplot1()

◆ dovolumeplot() [1/2]

template<typename T, std::size_t NDIM>
void Plotter::dovolumeplot ( const Function< T, NDIM > & f)
inline

◆ dovolumeplot() [2/2]

template<typename T, std::size_t NDIM>
void Plotter::dovolumeplot ( const Function< T, NDIM > & f,
const Function< T, NDIM > & g )
inline

◆ plot()

void Plotter::plot ( )
inline

References data_type, doplot(), and MADNESS_EXCEPTION.

Referenced by main().

◆ read()

◆ read_cell()

Tensor< double > Plotter::read_cell ( std::istream & input)
inline

References cell, MADNESS_ASSERT, ndim, read_to_end_of_line(), and v.

Referenced by read().

◆ read_npt()

std::vector< long > Plotter::read_npt ( std::istream & input)
inline

References npt, and read_to_end_of_line().

Referenced by read().

◆ read_to_end_of_line()

std::string Plotter::read_to_end_of_line ( std::istream & input)
inline

References c.

Referenced by read_cell(), and read_npt().

◆ serialize()

template<typename Archive>
void Plotter::serialize ( Archive & ar)
inline

Member Data Documentation

◆ binary

bool Plotter::binary

◆ cell

Tensor<double> Plotter::cell

◆ data_type

std::string Plotter::data_type

Referenced by Plotter(), plot(), read(), and serialize().

◆ finished

bool Plotter::finished

Referenced by Plotter(), main(), read(), and serialize().

◆ formula

std::string Plotter::formula

Referenced by Plotter(), doplot1(), and read().

◆ function_name

std::string Plotter::function_name

◆ input_filename

std::string Plotter::input_filename

Referenced by Plotter(), doplot1(), read(), and serialize().

◆ ndim

int Plotter::ndim

◆ npt

std::vector<long> Plotter::npt

◆ output_filename

std::string Plotter::output_filename

◆ output_format

std::string Plotter::output_format

◆ plot_cell

Tensor<double> Plotter::plot_cell

◆ plot_type

std::string Plotter::plot_type

Referenced by Plotter(), doplot1(), read(), and serialize().

◆ world

World& Plotter::world

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