39 #define WST_PI madness::constants::pi
76 template<
typename Q,
int NDIM>
83 bsh_fit(0.0,
lo, 100.0*
L[0], eps/(4.0 *
WST_PI), &coeff, &expnt,
false);
86 std::vector< std::shared_ptr< Convolution1D<Q> > > ops;
87 for (
int i=0; i < coeff.
dim(0); ++i)
101 template<
typename Q,
int NDIM>
108 bsh_fit(0.0,
lo, 100.0*
L[0], eps/(4.0 *
WST_PI), &coeff, &expnt,
false);
111 std::vector< std::shared_ptr< Convolution1D<Q> > > ops;
112 for (
int i=0; i < coeff.
dim(0); ++i)
126 template<
typename Q,
int NDIM>
133 bsh_fit(
mu,
lo, 10.0*
L[0], eps, &coeff, &expnt,
false);
136 std::vector< std::shared_ptr< Convolution1D<Q> > > ops;
137 for (
int i=0; (i < coeff.
dim(0)); ++i)
139 double c =
pow(coeff[i], 1.0/
double(
NDIM));
148 template<
typename Q,
int NDIM>
155 bsh_fit(
mu,
lo, 10.0*
L[0], eps, &coeff, &expnt,
false);
158 std::vector< std::shared_ptr< Convolution1D<Q> > > ops;
159 for (
int i=0; (i < coeff.
dim(0)); ++i)
161 double c =
pow(coeff[i], 1.0/
double(
NDIM));
long dim(int i) const
Returns the size of dimension i.
Definition: basetensor.h:147
Provides the common functionality/interface of all 1D convolutions.
Definition: convolution1d.h:257
1D convolution with (derivative) Gaussian; coeff and expnt given in simulation coordinates [0,...
Definition: convolution1d.h:683
Convolutions in separated form (including Gaussian)
Definition: operator.h:136
A parallel world class.
Definition: world.h:132
Defines common mathematical and physical constants.
static double lo
Definition: dirac-hatom.cc:23
static double pow(const double *a, const double *b)
Definition: lda.h:74
File holds all helper structures necessary for the CC_Operator and CC2 class.
Definition: DFParameters.h:10
SeparatedConvolution< Q, NDIM > PeriodicCoulombOp(World &world, long k, double lo, double eps, Tensor< double > L)
Definition: poperator.h:77
SeparatedConvolution< Q, NDIM > PeriodicBSHOp(World &world, double mu, long k, double lo, double eps, Tensor< double > L)
Definition: poperator.h:127
SeparatedConvolution< Q, NDIM > * PeriodicBSHOpPtr(World &world, double mu, long k, double lo, double eps, Tensor< double > L)
Definition: poperator.h:149
const double acut1e_6
Definition: poperator.h:45
SeparatedConvolution< Q, NDIM > * PeriodicCoulombOpPtr(World &world, long k, double lo, double eps, Tensor< double > L)
Definition: poperator.h:102
const double mu
Definition: navstokes_cosines.cc:95
Implements most functionality of separated operators.
#define WST_PI
Definition: poperator.h:39
static const double c
Definition: relops.cc:10
static const double L
Definition: rk.cc:46
static const long k
Definition: rk.cc:44
static const std::size_t NDIM
Definition: testpdiff.cc:42