forked from ECP-WarpX/WarpX
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Wrap WarpX instance and start multi particle container
* Fix test Python_pass_mpi_comm * Start wrapper for multiparticle container * Add return policy Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
- Loading branch information
Showing
4 changed files
with
24 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,6 +17,7 @@ foreach(D IN LISTS WarpX_DIMS) | |
PRIVATE | ||
# pybind11 | ||
WarpX.cpp | ||
MultiParticleContainer.cpp | ||
) | ||
endif() | ||
endforeach() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/* Copyright 2021-2022 The WarpX Community | ||
* | ||
* Authors: Axel Huebl, Remi Lehe | ||
* License: BSD-3-Clause-LBNL | ||
*/ | ||
#include "pyWarpX.H" | ||
|
||
#include <Particles/MultiParticleContainer.H> | ||
|
||
namespace py = pybind11; | ||
|
||
void init_MultiParticleContainer (py::module& m) | ||
{ | ||
py::class_<MultiParticleContainer> mpc(m, "MultiParticleContainer"); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters