Hex  2.2
Hydrogen-electron collision solver
dwba.h
Go to the documentation of this file.
1 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
2 // //
3 // / / / / __ \ \ / / //
4 // / /__ / / / _ \ \ \/ / //
5 // / ___ / | |/_/ / /\ \ //
6 // / / / / \_\ / / \ \ //
7 // //
8 // //
9 // Copyright (c) 2016, Jakub Benda, Charles University in Prague //
10 // //
11 // MIT License: //
12 // //
13 // Permission is hereby granted, free of charge, to any person obtaining a //
14 // copy of this software and associated documentation files (the "Software"), //
15 // to deal in the Software without restriction, including without limitation //
16 // the rights to use, copy, modify, merge, publish, distribute, sublicense, //
17 // and/or sell copies of the Software, and to permit persons to whom the //
18 // Software is furnished to do so, subject to the following conditions: //
19 // //
20 // The above copyright notice and this permission notice shall be included //
21 // in all copies or substantial portions of the Software. //
22 // //
23 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS //
24 // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, //
25 // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE //
26 // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, //
27 // WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF //
28 // OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. //
29 // //
30 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
31 
32 #ifndef HEX_DWBA_DWBA1
33 #define HEX_DWBA_DWBA1
34 
35 #include "hex-arrays.h"
36 
37 #include "potential.h"
38 
65 void dwba
66 (
67  int Ni, int Li, double ki,
68  int Nf, int Lf, double kf,
69  int L,
70  cArrays & Tdir, cArrays & Texc,
71  double rmax,
72  bool direct = true, bool exchange = true
73 );
74 
79 namespace DWBA1
80 {
81 
93 Complex computeDirect1e
94 (
95  DistortingPotential const& U,
96  int l, double k
97 );
98 
123 Complex computeDirect2e
124 (
125  const DistortingPotential& U, int lambda,
126  int Nf, int Lf, double kf, int lf,
127  int Ni, int Li, double ki, int li
128 );
129 
146 Complex computeExchange1e
147 (
148  DistortingPotential const& U,
149  int Ni, int Li, double ki,
150  int Nf, int Lf, double kf
151 );
152 
177 Complex computeExchange2e
178 (
179  const DistortingPotential& U, int lambda,
180  int Nf, int Lf, double kf, int lf,
181  int Ni, int Li, double ki, int li
182 );
183 
184 } // end of namespace DWBA1
185 
186 #endif
Complex computeExchange2e(const DistortingPotential &U, int lambda, int Nf, int Lf, double kf, int lf, int Ni, int Li, double ki, int li)
Definition: dwba.cpp:174
Distorting potential information.
Definition: potential.h:86
void dwba(int Ni, int Li, double ki, int Nf, int Lf, double kf, int L, cArrays &Tdir, cArrays &Texc, double rmax, bool direct=true, bool exchange=true)
Distorted-wave Born approximation.
Definition: dwba.cpp:239
Complex computeDirect2e(const DistortingPotential &U, int lambda, int Nf, int Lf, double kf, int lf, int Ni, int Li, double ki, int li)
Definition: dwba.cpp:109
Complex computeExchange1e(DistortingPotential const &U, int Ni, int Li, double ki, int Nf, int Lf, double kf)
Definition: dwba.cpp:73
Definition: dwba.cpp:43
Complex computeDirect1e(DistortingPotential const &U, int l, double k)
Definition: dwba.cpp:46