aboutsummaryrefslogtreecommitdiff
path: root/Source/Python/WarpXWrappers.h
diff options
context:
space:
mode:
authorGravatar Tools <warpx@lbl.gov> 2019-09-11 10:06:14 -0700
committerGravatar Axel Huebl <axel.huebl@plasma.ninja> 2019-09-11 10:12:00 -0700
commitfd848331f2fd6af8c56a0027cc5f088286e347c4 (patch)
tree9f81ea5e8475ab5bd1e769d7865fc7fd492d06eb /Source/Python/WarpXWrappers.h
parentf182366aaf66a770715b144ac0a760a998f59ed4 (diff)
downloadWarpX-fd848331f2fd6af8c56a0027cc5f088286e347c4.tar.gz
WarpX-fd848331f2fd6af8c56a0027cc5f088286e347c4.tar.zst
WarpX-fd848331f2fd6af8c56a0027cc5f088286e347c4.zip
Source & Tools: No EOL Whitespaces
End-of-line (EOL) whitespaces are verbose and increase diffs and merge conflicts over time. Cleaned them up for the `Source/`, `Examples/` and `Tools/` directory with the following bash one-liner: ```bash find . -type f -not -path './.git*' \ -exec sed -i 's/[[:blank:]]*$//' {} \; ``` Committed as generic user so git does not credit the many lines to me: ```bash GIT_AUTHOR_NAME="Tools" GIT_AUTHOR_EMAIL="warpx@lbl.gov" \ git commit ```
Diffstat (limited to 'Source/Python/WarpXWrappers.h')
-rw-r--r--Source/Python/WarpXWrappers.h40
1 files changed, 20 insertions, 20 deletions
diff --git a/Source/Python/WarpXWrappers.h b/Source/Python/WarpXWrappers.h
index 0a476b5fc..233a0b930 100644
--- a/Source/Python/WarpXWrappers.h
+++ b/Source/Python/WarpXWrappers.h
@@ -26,9 +26,9 @@ extern "C" {
#endif
void amrex_finalize (int finalize_mpi);
-
+
void warpx_init ();
-
+
void warpx_finalize ();
typedef void(*WARPX_CALLBACK_PY_FUNC_0)();
@@ -47,41 +47,41 @@ extern "C" {
void warpx_set_callback_py_appliedfields (WARPX_CALLBACK_PY_FUNC_0);
void warpx_evolve (int numsteps); // -1 means the inputs parameter will be used.
-
+
void warpx_addNParticles(int speciesnumber, int lenx,
double* x, double* y, double* z,
double* vx, double* vy, double* vz,
int nattr, double* attr, int uniqueparticles);
void warpx_ConvertLabParamsToBoost();
-
+
double warpx_getProbLo(int dir);
-
+
double warpx_getProbHi(int dir);
-
+
long warpx_getNumParticles(int speciesnumber);
-
- double** warpx_getEfield(int lev, int direction,
+
+ double** warpx_getEfield(int lev, int direction,
int *return_size, int* ncomps, int* ngrow, int **shapes);
-
- int* warpx_getEfieldLoVects(int lev, int direction,
+
+ int* warpx_getEfieldLoVects(int lev, int direction,
int *return_size, int* ngrow);
-
- double** warpx_getBfield(int lev, int direction,
+
+ double** warpx_getBfield(int lev, int direction,
int *return_size, int* ncomps, int* ngrow, int **shapes);
-
- int* warpx_getBfieldLoVects(int lev, int direction,
+
+ int* warpx_getBfieldLoVects(int lev, int direction,
int *return_size, int* ngrow);
-
- double** warpx_getCurrentDensity(int lev, int direction,
+
+ double** warpx_getCurrentDensity(int lev, int direction,
int *return_size, int* ncomps, int* ngrow, int **shapes);
-
- int* warpx_getCurrentDensityLoVects(int lev, int direction,
+
+ int* warpx_getCurrentDensityLoVects(int lev, int direction,
int *return_size, int* ngrow);
-
+
double** warpx_getParticleStructs(int speciesnumber, int lev,
int* num_tiles, int** particles_per_tile);
-
+
double** warpx_getParticleArrays(int speciesnumber, int comp, int lev,
int* num_tiles, int** particles_per_tile);