1#ifndef MADNESS_APPS_MOLDFT_FCWF_H_INCLUDED
2#define MADNESS_APPS_MOLDFT_FCWF_H_INCLUDED
13 std::vector<complex_function_3d>
m_psi;
31 explicit Fcwf(std::vector<complex_function_3d>& phi);
39 unsigned int size()
const ;
51 void scale(std::complex<double>
a);
97std::complex<double>
inner(std::vector<Fcwf>&
a, std::vector<Fcwf>&
b);
99std::vector<Fcwf>
operator*(
const std::vector<Fcwf>& psis, std::complex<double>
a);
101std::vector<Fcwf>
operator*(std::complex<double>
a,
const std::vector<Fcwf>& psis);
103void operator+=(std::vector<Fcwf>& phi,
const std::vector<Fcwf>&
psi);
105std::vector<Fcwf>
operator-(
const std::vector<Fcwf>& phi,
const std::vector<Fcwf>&
psi);
unsigned int m_size
Definition fcwf.h:114
void set_size(int size)
Definition fcwf.cc:426
Fcwf_vector_allocator operator=(const Fcwf_vector_allocator &other)
Definition fcwf.cc:421
std::vector< Fcwf > operator()()
Definition fcwf.cc:412
World & world
Definition fcwf.h:113
void scale(std::complex< double > a)
Definition fcwf.cc:144
Fcwf operator+=(const Fcwf &phi)
Definition fcwf.cc:152
Fcwf operator+(const Fcwf &phi)
Definition fcwf.cc:117
complex_function_3d & operator[](const int i)
Definition fcwf.cc:38
Fcwf KramersPair()
Definition fcwf.cc:266
Fcwf()
Definition fcwf.cc:11
bool m_initialized
Definition fcwf.h:14
void apply(World &world, real_convolution_3d &op)
Definition fcwf.cc:256
void normalize()
Definition fcwf.cc:203
void truncate()
Definition fcwf.cc:232
void reconstruct()
Definition fcwf.cc:517
Fcwf operator-=(const Fcwf &phi)
Definition fcwf.cc:169
std::vector< complex_function_3d > m_psi
Definition fcwf.h:13
Fcwf operator*(std::complex< double > a) const
Definition fcwf.cc:134
Fcwf operator-(const Fcwf &phi) const
Definition fcwf.cc:99
unsigned int size()
Definition fcwf.cc:70
std::complex< double > inner(World &world, const Fcwf &phi) const
Definition fcwf.cc:240
bool getinitialize()
Definition fcwf.cc:61
Fcwf operator=(const Fcwf &phi)
Definition fcwf.cc:92
double norm2()
Definition fcwf.cc:187
void compress()
Definition fcwf.cc:523
Implements derivatives operators with variety of boundary conditions on simulation domain.
Definition derivative.h:266
A multiresolution adaptive numerical function.
Definition mra.h:122
A tensor is a multidimension array.
Definition tensor.h:317
A parallel world class.
Definition world.h:132
real_function_3d squaremod(Fcwf &psi)
Definition fcwf.cc:295
void operator+=(std::vector< Fcwf > &phi, const std::vector< Fcwf > &psi)
Definition fcwf.cc:375
Tensor< std::complex< double > > matrix_inner(World &world, std::vector< Fcwf > &a, std::vector< Fcwf > &b)
Definition fcwf.cc:431
real_function_3d squaremod_large(Fcwf &psi)
Definition fcwf.cc:311
Fcwf apply(World &world, real_convolution_3d &op, const Fcwf &psi)
Definition fcwf.cc:281
std::vector< Fcwf > operator-(const std::vector< Fcwf > &phi, const std::vector< Fcwf > &psi)
Definition fcwf.cc:388
std::vector< Fcwf > operator*(const std::vector< Fcwf > &psis, std::complex< double > a)
Definition fcwf.cc:354
real_function_3d squaremod_small(Fcwf &psi)
Definition fcwf.cc:303
std::complex< double > inner(const Fcwf &psi, const Fcwf &phi)
Definition fcwf.cc:275
Fcwf copy(Fcwf psi)
Definition fcwf.cc:338
complex_function_3d inner_func(World &world, Fcwf &psi, Fcwf &phi)
Definition fcwf.cc:318
std::vector< Fcwf > transform(World &world, std::vector< Fcwf > &a, Tensor< std::complex< double > > U)
Definition fcwf.cc:477
double psi(const Vector< double, 3 > &r)
Definition hatom_energy.cc:78
Tensor< double > op(const Tensor< double > &x)
Definition kain.cc:508
Main include file for MADNESS and defines Function interface.
Namespace for all elements and tools of MADNESS.
Definition DFParameters.h:10
static const double b
Definition nonlinschro.cc:119
static const double a
Definition nonlinschro.cc:118
Implements most functionality of separated operators.
Definition test_ar.cc:204