MADNESS 0.10.1
Public Member Functions | Public Attributes | List of all members
Plotter Class Reference
Collaboration diagram for Plotter:
Collaboration graph
[legend]

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
 
Worldworld
 

Constructor & Destructor Documentation

◆ Plotter()

Plotter::Plotter ( World world)
inline

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 MADNESS_EXCEPTION, and ndim.

◆ doplot1()

template<typename T , std::size_t NDIM>
void Plotter::doplot1 ( )
inline

◆ 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, and MADNESS_EXCEPTION.

Referenced by main().

◆ read()

void Plotter::read ( std::istream &  input)
inline

◆ 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

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

◆ data_type

std::string Plotter::data_type

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

◆ finished

bool Plotter::finished

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

◆ formula

std::string Plotter::formula

Referenced by doplot1(), and read().

◆ function_name

std::string Plotter::function_name

◆ input_filename

std::string Plotter::input_filename

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

◆ ndim

int Plotter::ndim

Referenced by doplot(), read(), read_cell(), and serialize().

◆ 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 doplot1(), read(), and serialize().

◆ world

World& Plotter::world

Referenced by doplot1(), dovolumeplot(), and dovolumeplot().


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