OPAL (Object Oriented Parallel Accelerator Library)
2.2.0
OPAL
|
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include "Algorithms/bet/BetError.h"
#include "Algorithms/bet/math/integrate.h"
Go to the source code of this file.
Macros | |
#define | FUNC(x) ((*func)(x)) |
#define | JMAX 30 |
#define | JMAXP (JMAX+1) |
#define | K 5 |
Functions | |
double | qromb (double(*func)(double), double a, double b, double eps) |
#define FUNC | ( | x | ) | ((*func)(x)) |
Definition at line 35 of file integrate.cpp.
#define JMAX 30 |
Definition at line 116 of file integrate.cpp.
Referenced by qromb().
#define JMAXP (JMAX+1) |
Definition at line 117 of file integrate.cpp.
Referenced by qromb().
#define K 5 |
Definition at line 118 of file integrate.cpp.
Referenced by GreenWakeFunction::apply(), IPPL::Average(), CollimatorPhysics::computeEnergyLoss(), FFTBoxPoissonSolver::computePotential(), FFTPoissonSolver::computePotential(), AmrLagrangeInterpolater< Level >::crseLinear_m(), AmrLagrangeInterpolater< Level >::crseQuadratic_m(), Div(), Grad(), Grad1Ord(), SigmaGenerator< Value_type, Size_type >::initialize(), FFTBoxPoissonSolver::integratedGreensFunction(), FFTPoissonSolver::integratedGreensFunction(), FFTPoissonSolver::integratedGreensFunctionDKS(), MapAnalyser::linTAnalyze(), FFTPoissonSolver::mirrorRhoField(), qromb(), FFTBoxPoissonSolver::shiftedIntGreensFunction(), FFTPoissonSolver::shiftedIntGreensFunction(), GreenWakeFunction::testApply(), MSplit::visitMultipole(), Aperture::visitMultipole(), MSplit::visitRBend(), Aperture::visitRBend(), MSplit::visitSBend(), and Aperture::visitSBend().
double qromb | ( | double(*)(double) | func, |
double | a, | ||
double | b, | ||
double | eps | ||
) |
Definition at line 126 of file integrate.cpp.
References fabs(), JMAX, JMAXP, K, and writeBetError().
Referenced by Profile::Labs(), Profile::Leff(), and Profile::Leff2().