... | @@ -58,9 +58,9 @@ double complex delta_ext(int ix, int iy, int iz, int it, double complex delta, d |
... | @@ -58,9 +58,9 @@ double complex delta_ext(int ix, int iy, int iz, int it, double complex delta, d |
|
return D_ext;
|
|
return D_ext;
|
|
}
|
|
}
|
|
```
|
|
```
|
|
*Note*: Due to technical reasons this function differs with respect to return type between `st-wslda` and `td-wslda` codes. Namly:
|
|
*Note*: Due to technical reasons this function differs with respect to return type between `st-wslda` and `td-wslda` codes. Namely:
|
|
* `st-wslda`: return type must be C99 [double complex](https://en.cppreference.com/w/c/numeric/complex)
|
|
* `st-wslda`: return type must be C99 [double complex](https://en.cppreference.com/w/c/numeric/complex)
|
|
* `st-wslda`: return type must be compatible with [CUDA Complex](https://thrust.github.io/doc/group__complex__numbers.html)
|
|
* `td-wslda`: return type must be compatible with [CUDA Complex](https://thrust.github.io/doc/group__complex__numbers.html)
|
|
|
|
|
|
# Definition of the external velocity field ![\vec{v}_{\sigma}^{\textrm{(ext)}}(r)](https://render.githubusercontent.com/render/math?math=%5Cvec%7Bv%7D_%7B%5Csigma%7D%5E%7B%5Ctextrm%7B(ext)%7D%7D(r))
|
|
# Definition of the external velocity field ![\vec{v}_{\sigma}^{\textrm{(ext)}}(r)](https://render.githubusercontent.com/render/math?math=%5Cvec%7Bv%7D_%7B%5Csigma%7D%5E%7B%5Ctextrm%7B(ext)%7D%7D(r))
|
|
```c
|
|
```c
|
... | | ... | |