Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added timeseries class * Added flux_diagnostic file * Nruof/runinfo minimal (#44) * Update memaster with new upstream/development (#42) * CI: Add Missing Python Analysis for EB Test (ECP-WarpX#2147) * CI: Add Missing Python Analysis for EB Test * Use 1 MPI Process for Azure * a few _rt (ECP-WarpX#2146) * PSATD: div Cleaning Implemented only with psatd.J_linear_in_time=1 (ECP-WarpX#2142) * BTD: Don't Flush If Written (ECP-WarpX#2148) Written BTD buffers for lab snapshot data are reset to zero size (count). When we do the final write of all partly filled buffers in `FilterComputePackFlushLastTimestep`, we should not write such already completed backtransformed lab snapshots again. * openPMD: `groupBased` Option Missing (ECP-WarpX#2149) The `groupBased` iteration encoding (input: `g`) was not parsed. * Remove predefined constants from example input files (ECP-WarpX#2153) * BTD_ReducedSliceDiag: BTD Plotfiles (ECP-WarpX#2152) By accident, the 2nd test did not use plotfile output. * Allow extra particle attributes (besides ux, uy, uz and w) to be set at particle creation in AddNParticles() (ECP-WarpX#2115) * exposes AddRealComp to Python to allow extra particle attributes to be added at runtime; also includes a new function to grab a particle data array from the name of the component rather than the index * added functionality to AddNParticles() to allow extra particle attributes to also be set during particle creation * added function to get index of a particle component given the PID name * changed new get component index and get_particle_arrays_from_comp_name functions to take species name as argument rather than species id * changed warpx_addRealComp to accept a species name as input and only add the new component for that species * added a test of the pywarpx bridge to get particle data and add new particle attributes at runtime * changed all particle interacting functions in libwarpx to use the species name rather than id, also changed the functions to get particle array data to use the component name rather than index * updated test according to PR ECP-WarpX#2119 changes * removed unneeded BL_ASSERT(nattr == 1) statement * fixed bug in add_particles to correctly determine the number of extra attributes * fixed bug in AddNParticles if fewer attribute values are passed than the number of extra arrays for the species * use isinstance(attr, ndarray) rather than type(attr) is np.ndarray * generalize_runtime_comps_io * fix OpenPMD * fix OpenPMD * fix plot flags in WritePlotFile * fix offset and comment * changed extra pid test to not use an underscore in the pid name * switched _libwarpx.py::add_particles to use kwargs to accept the weight and extra attribute arrays * License update in test file Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja> * fix typo * added a test with unique_particles=False * Apply suggestions from code review Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja> * updated docstring and comments Co-authored-by: atmyers <atmyers2@gmail.com> Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja> * updated mewarpx with recent changes to _libwarpx.add_particles * fix broken test - test_mepicmi.py Co-authored-by: Edoardo Zoni <59625522+EZoni@users.noreply.github.com> Co-authored-by: MaxThevenet <maxence.thevenet@desy.de> Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja> Co-authored-by: Neïl Zaim <49716072+NeilZaim@users.noreply.github.com> Co-authored-by: atmyers <atmyers2@gmail.com> * Add runinfo from warp to warpx * Doc string edit Co-authored-by: Roelof Groenewald <40245517+roelof-groenewald@users.noreply.github.com> Co-authored-by: Edoardo Zoni <59625522+EZoni@users.noreply.github.com> Co-authored-by: MaxThevenet <maxence.thevenet@desy.de> Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja> Co-authored-by: Neïl Zaim <49716072+NeilZaim@users.noreply.github.com> Co-authored-by: atmyers <atmyers2@gmail.com> * Ported more flux diags from warp * Renamed FluxDiag to FluxDiagnostic * Remove js, species conversion in runinfo * Add TimeSeriesPlot * Typo util -> mwxutil * Added test for Timeseries * Added test file for Timeseries * Added appendable array * Added parallel_util and added test for flux diag * Renamed columns and added current checks to test * Update runinfo.py and flux_diagnostic, up to FluxCalcDataFrame * Updated flux_diagnostic.py * Fixed indexing issues, flux diagnostics and plotting now works for injected particles * Added test for flux diag pickle and plot, refactored code * Change to use upper case variables to use with runinfo * Update runinfo for warpx * Add dill to requirements and remove mpi4py * Remove unused lines from warp * Removed functions that will not be used * doc string format Co-authored-by: Kevin Z. Zhu <86268612+KZhu-ME@users.noreply.github.com> * Spacing * Type in doc string * Doc string update * Update mewarpx/mewarpx/runinfo.py Co-authored-by: Kevin Z. Zhu <86268612+KZhu-ME@users.noreply.github.com> Co-authored-by: kzhu-ME <kevin.zhu@modernelectron.com> Co-authored-by: Roelof Groenewald <40245517+roelof-groenewald@users.noreply.github.com> Co-authored-by: Edoardo Zoni <59625522+EZoni@users.noreply.github.com> Co-authored-by: MaxThevenet <maxence.thevenet@desy.de> Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja> Co-authored-by: Neïl Zaim <49716072+NeilZaim@users.noreply.github.com> Co-authored-by: atmyers <atmyers2@gmail.com> Co-authored-by: Kevin Z. Zhu <86268612+KZhu-ME@users.noreply.github.com>
- Loading branch information