aboutsummaryrefslogtreecommitdiff
path: root/Source/Parallelization/WarpXComm.cpp (follow)
AgeCommit message (Collapse)AuthorFilesLines
2020-07-08Averaged Galilean PSATD (#869)Gravatar Olga Shapoval 1-0/+125
* Read Galilean velocity * Prepare structures for Galilean solver * Started implementing Galilean equations * Analytical limits for X1, X2, X3, X4 coefficients added * Slight changes added * Added Galilean position pusher * Scale galilean velocity * Remove unneeded Abort * Fix Galilean pusher * Allocate Theta2 array * Fix definition of coefficients * Increase guard cells for Galilean * Add guard cell in particle exchange * Added modifications for PICSAR galilean branch * Averaged coefficients added * Type corrected * v_gal added to warpx_current_deposition * v_gal added to WarpXParticleContainer.H * Bug fixed - update particle x-position over one time step * Fix issues with merge from dev * Averaged fileds allocated on fine patch (Ex) * Preparation for merging dev into galilean. * remove TABs by hand * Removed a tab. * Redeclared v_galilean as a vector & related changed * Added an automated test * Moved v_galilean inside WarpX constructor * Added analysis script for the automated test * Changed name of the automated test to galilean_psatd * Added InitializeSpectralCoefficients method * Removed temporary comments * Averaged fields added to FiledGather * Added infinite order k[i] * Setting kx_mod( kz_mod) = 0 for index = nx/2(-nz/2) * Adding galilean shift * Implemented galilean shift * Changed method's name from GalileanShift to ShiftGalileanBoundary * Added doxygen string for ShiftGalileanBoundary * Removed never used method LowerCornerWithCentering * Removed temporary comments * Removed dt as a variable from DepositCharge method and its dependencies * Changing type of v_galilean from amrex::Vector to amrex::Array * Changed back ng_fft to be equal nox_fft * Changed v_galilean's type from amrex::vector to amrex::array * Removed type * Removed temporary comments * Added flag 'do_time_averaging' to swith from unaveraged to averaged Galilean PSATD * Updated doxygen * Small fix on using 'do_time_averaging' flag * Remove some commented Print statements * [skip ci] Further cleanup * Fix compilation * Guard cells update of the averaged E,B fields * Corrected included header file accordingly * Removed EOL * Removed EOL * Corrected path of the included header file * Updated choice of the spectral solver. * Cleanup. * use amrex::exp instead of std::exp * no backward FFT for avg fields if avg is off * Need to shift avg fields in MoveWindow * Further cleaning * Added 2D automated test for averaged PSATD * Added automated 2D and 3D tests for averaged PSATD * Removed comments * Added specifications for averaged Galilean PSATD tests. * Bug fixed - do FillBoundary of the averaged fields only if averaged is activated * Do shiftMF of the averaged fields only if fft_do_time_averaging=true * Add checksum json benchmarks for averaged Galilean PSATD * Add missing indentation * Add missing indentation * Updated automated analysis script * Updated diags period * Fixed bug: no backtransform of the averaged fields when WARPX_DIM_RZ is set * Fixed an uninitialized variable * Clean-up * Changed permissions for analysis_avg_*d.py * Compactified variables initialization via conditional assignment * Initialized averaged E_avg, B_avg fields * Updated automated test for 2D averaged galilean PSATD * Updated benchmark for 2D averaged galilean PSATD * Updated automated 2D averaged PSATD test & benchmark * Updated automated 3D averaged PSATD test & benchmark * Fixed typo * Updated benchmark averaged_galilean_3d_psatd * Initialize the averaged fields only if the averaged Galilean PSATD algorithm is enabled * Encreased time step for automated 3D averaged Galilean PSATD (to be equal c*dt=dz while dz/dx=3) * Updated 3D automated test: specified standard deviations `.ux_th, .uy_th, .uz_th` along each direction * Typo from the previous commit: enabled the averaged algorithm * Trying out another input parameters for 3D averaged automated test with v_gal = v_plasma * Update benchmark for previously added 3D averaged automated test * Update 2D averaged automated test and corresponding benchmark * Revert "Updated diags period" This reverts commit 7334729b05e96589e020c981efdb430ca095991d. * Cleanup: removed unwanted comment. * Added descriptions of the 2D and 3D automated tests for the averaged Galilean PSATD. * Updated value calculated via standard Galilean PSATD. * Encreased relative error tolerance for 3D automated test for the averaged Galilean PSATD. * Removed to avoid duplication since it already specified in the corresponding 2D/3D input scripts. * Removed unwanted empty lines * Added spaces after function's names * Removed unwanted empty line * Removed * Fixed indentation * Cleanup: removed #include <math.h> * Cleanup: removed empty lines and fixed indentation * Added 'AvgGalileanAlgorithm.cpp' to 'CMakeLists.txt' Co-authored-by: Remi Lehe <remi.lehe@normalesup.org> Co-authored-by: MaxThevenet <mthevenet@lbl.gov>
2020-05-12Implement intervals parser for override_sync (#1008)Gravatar NeilZaim 1-2/+2
2020-05-11Generalize coarsening for MR (#945)Gravatar Edoardo Zoni 1-66/+9
* Move interpolation functions for MR to new folder * Preparatory clean-up of old namespace Average for future MR functions * Add interpolation for MR in new namespace Coarsen * Change file names Average.H/.cpp to Coarsen.H/.cpp * Remove Source/Parallelization/WarpXComm.H (not necessary anymore) * Coarsening for IO and MR in separate files * Clean up IO and MR Coarsen namespaces * Remove old interpolation functions (charge and current) * Void commit: trigger Travis CI build * Fix GPU build * Void commit: trigger Travis CI build * Add Python script to test interpolation points/weights in 1D * Move using-directives inside namespaces * Add Doxygen documentation and comments * Minor style changes * Improve new Python script
2020-04-07Fix typos (#897)Gravatar NeilZaim 1-3/+3
2020-02-25Includes: Clean Up (#743)Gravatar Axel Huebl 1-6/+6
- Use `""` for WarpX-local includes - Order: WarpX `""`, AMReX `<>`, other third party includes `<>` - Add dir prefixes for WarpX Add order to includes by including from `Source/` onward and keeping directory prefixes of non-local includes for clarity.
2020-02-24Profiler wrapper to allow for cudaDeviceSynchronize (#738)Gravatar MaxThevenet 1-5/+5
* add warpx profiler wrapper * call WX profiler wrapper instead of BL * EOL and cleaning * add doc on profile syncs * do not use PROFILE macros in .H files * replace WX_PROFILE with WARPX_PROFILE and use bool instead of int * typo * this file shouldn't be there
2020-02-21Make the option to exchange all guard cells safer (#709)Gravatar MaxThevenet 1-42/+70
* make the option to exchange all guard cells safer * EOL **** * more consistent naming in guard cells test script
2020-02-06Do not include 'WarpX_f.H' when not necessary.Gravatar Edoardo Zoni 1-1/+0
2020-01-27Automatically add copyright header with update_copyright.shGravatar Tools 1-0/+8
2019-11-19fix mege conflicts with devGravatar MaxThevenet 1-3/+2
2019-11-13Merge branch 'dev' into commGravatar MaxThevenet 1-4/+5
2019-11-12no guard cell exchanges for F with Yee solver. Remove print statementsGravatar MaxThevenet 1-4/+0
2019-11-12Merge branch 'dev' into poissonGravatar Remi Lehe 1-1/+1
2019-11-12fix psatd: problem was in buffer cellsGravatar MaxThevenet 1-1/+0
2019-11-12Remove Fortran filesGravatar Remi Lehe 1-4/+5
2019-11-11Update DepositChargeGravatar Remi Lehe 1-7/+7
2019-11-05use new version of FillBoundary from amrexGravatar MaxThevenet 1-20/+20
2019-10-31remove print statementsGravatar MaxThevenet 1-4/+4
2019-10-31Each call to FillBoundary in regular PIC loop (FDTD) uses fewer guard cellsGravatar MaxThevenet 1-18/+31
2019-10-29Reduce number of guard cells exchanged in Moving window and EvolveEMGravatar MaxThevenet 1-0/+21
2019-10-27FillBoundaryE/B/F take mandatory argument nguardGravatar MaxThevenet 1-28/+42
2019-10-11Merge branch 'fix_particle_sorting' into nodal_aux_3Gravatar Weiqun Zhang 1-17/+18
2019-10-04fix for cases with warpx.do_nodal=1Gravatar Weiqun Zhang 1-5/+5
2019-10-04Merge branch 'dev' into nodal_aux_3Gravatar Weiqun Zhang 1-27/+24
2019-09-30Rho Synchronize: Port to GPUGravatar Axel Huebl 1-17/+18
Port the charge density synchronize functions to GPU.
2019-09-27nodal auxilary dataGravatar Weiqun Zhang 1-0/+151
2019-09-27Rename, Profile & Remove TODOGravatar Axel Huebl 1-9/+10
2019-09-25SyncCurrent: Disable Tiling for GPUGravatar Axel Huebl 1-2/+2
Co-authored-by: Weiqun Zhang <weiqunzhang@lbl.gov>
2019-09-24Current Synchronize: Port to GPUGravatar Axel Huebl 1-24/+20
Port the current synchronize functions to GPU.
2019-09-17implement the energy conserving way of interploating from coarse toGravatar Weiqun Zhang 1-96/+51
fine for auxilary data and remove the high-order divB-preserving option.
2019-09-14Fix charge deposition with MRGravatar Remi Lehe 1-1/+1
2019-09-13Correct deposition buffersGravatar Remi Lehe 1-1/+1
2019-09-11Source: tabs2spacesGravatar Axel Huebl 1-3/+3
Manually fix tabs to four spaces and alignments for consistent prepresentation of source code over all machines.
2019-09-04change to disable override sync if warpx.override_sync_int <= 0Gravatar Weiqun Zhang 1-2/+2
2019-09-04add parameter warpx.override_sync_int=10Gravatar Weiqun Zhang 1-0/+4
2019-09-03Merge branch 'dev' into RZgeometryGravatar Dave Grote 1-14/+23
2019-08-29Removed useless variables in PML Exchange functionsGravatar ablelly 1-18/+9
2019-08-21Code cleanup + add testGravatar Remi Lehe 1-6/+6
2019-08-02Modifications for communicationsGravatar ablelly 1-9/+27
2019-07-25[WIP] Adding flags do_pml_Lo, do_pml_hiGravatar ablelly 1-9/+9
2019-07-16Started to add flag do_pml_in_domain for the merge request.Gravatar ablelly 1-9/+9
2019-06-28For RZ, fixes exchange of data at MultiFab boundariesGravatar Dave Grote 1-6/+6
2019-06-28Merge branch 'dev' into RZgeometryGravatar Dave Grote 1-300/+80
2019-06-26Update SyncCurrentGravatar Remi Lehe 1-205/+67
2019-06-26Update interfaceGravatar Remi Lehe 1-6/+5
2019-06-26Simplify SyncRho functionGravatar Remi Lehe 1-101/+20
2019-06-11Merge branch 'dev' into RZgeometryGravatar Dave Grote 1-1/+1
2019-06-06 adding 2D cufft plansGravatar Revathi Jambunathan 1-5/+0
2019-06-05Merge branch 'dev' of https://github.com/ECP-WarpX/WarpX into ↵Gravatar Revathi Jambunathan 1-26/+26
spectral_cufftOnGPU
2019-05-24Merge branch 'dev' into RZgeometryGravatar Dave Grote 1-26/+26