MADNESS  0.10.1
Plot_VTK.h
Go to the documentation of this file.
1 /* My function to save a vtk file that visit can use
2  *
3  * Input params:
4  *
5  * npt_plot - number of points in each direction for plot
6  * L - box size
7  * plotlo - lowest orbital number to plot
8  * plothi - highest orbital number to plot
9  * molecule - molecule object, for creating the .xyz file
10  * densities - vector of densities to be ploted
11  * name - name you would like for orbital plots
12  */
13 
14 #ifndef SRC_APPS_molresponse_PLOT_VTK_H_
15 #define SRC_APPS_molresponse_PLOT_VTK_H_
16 
17 #include <madness/mra/mra.h>
18 
19 #include <cstdint>
20 #include <string>
21 #include <vector>
22 
23 #include "../chem/molecule.h"
24 #include "x_space.h"
25 namespace madness {
26 
27  void write_molecules_to_file(const Molecule &molecule, const std::string &geo_file);
28  void do_response_orbital_vtk_plots(World &world, int npt_plot, double L, const Molecule &molecule, const vector_real_function_3d &ground_orbs, const response_matrix &responseMatrix);
29  void do_response_density_vtk_plots(World &world, int npt_plot, double L, const Molecule &molecule, const real_function_3d &ground_density, const vector_real_function_3d &response_density);
30 
31  void do_vtk_plots(World &world,
32  int npt_plot,
33  double L,
34  int lowest_orbital,
35  int highest_orbital,
36  const Molecule &molecule,
37  std::vector<real_function_3d> densities,
38  const std::string &name);
39 
40  void do_vtk_plots(World &world,
41  int npt_plot,
42  double L,
43  Molecule molecule,
45  std::vector<real_function_3d> &rho_omega,
46  std::vector<real_function_3d> &ground_orbitals,
47  X_space &Chi);
48 
49 }// namespace madness
50 #endif// SRC_APPS_molresponse_PLOT_VTK_H_
51 
52 // Dueces
const double rho_0
Definition: gygi_soltion.cc:63
Main include file for MADNESS and defines Function interface.
File holds all helper structures necessary for the CC_Operator and CC2 class.
Definition: DFParameters.h:10
void write_molecules_to_file(const Molecule &molecule, const std::string &geo_file)
Definition: Plot_VTK.cc:25
std::vector< vector_real_function_3d > response_matrix
Definition: response_functions.h:19
void do_vtk_plots(World &world, int npt_plot, double L, int lowest_orbital, int highest_orbital, const Molecule &molecule, std::vector< real_function_3d > densities, const std::string &name)
Definition: Plot_VTK.cc:190
std::vector< real_function_3d > vector_real_function_3d
Definition: functypedefs.h:79
Function< double, 3 > real_function_3d
Definition: functypedefs.h:65
void do_response_orbital_vtk_plots(World &world, int npt_plot, double L, const Molecule &molecule, const vector_real_function_3d &ground_orbs, const response_matrix &responseMatrix)
Definition: Plot_VTK.cc:51
void do_response_density_vtk_plots(World &world, int npt_plot, double L, const Molecule &molecule, const real_function_3d &ground_density, const vector_real_function_3d &response_density)
Definition: Plot_VTK.cc:139
std::string name(const FuncType &type, const int ex=-1)
Definition: ccpairfunction.h:28
static const double L
Definition: rk.cc:46
static Molecule molecule
Definition: testperiodicdft.cc:38