aboutsummaryrefslogtreecommitdiff
path: root/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithmRZ.H
diff options
context:
space:
mode:
authorGravatar Revathi Jambunathan <41089244+RevathiJambunathan@users.noreply.github.com> 2020-08-06 00:25:19 -0700
committerGravatar GitHub <noreply@github.com> 2020-08-06 09:25:19 +0200
commit8721f1e05af20496c209d71af74fee896aaa5b7f (patch)
treeab07b82e81664cb0bf7e76bdb560e86cb7b37331 /Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithmRZ.H
parent57f0f769f142d8fc34b2509d47b0cd942d0321bb (diff)
downloadWarpX-8721f1e05af20496c209d71af74fee896aaa5b7f.tar.gz
WarpX-8721f1e05af20496c209d71af74fee896aaa5b7f.tar.zst
WarpX-8721f1e05af20496c209d71af74fee896aaa5b7f.zip
Reformatted BTD fields (#1158)
* fixing bug to initialize CellCenterFunctor for Bx * create new BTB class and move FullDiagnostics functions from Diagnostics class * [skip ci] Adding BTDiag class members and allocating them * output_mf vector of buffers for both Full and BTD * [skip ci] a few comments * added more functions in BTDiagnostics for initialization * [skip-ci] a small comment abour FlushRawData * [skip-ci] Add new functor class for BTD * Included BTDiagnostics class and skeleton of functions to be populated * fix eol and make destructor of base Diag class virtual * remove redundant query file_prefix in FullDiag class * Apply suggestions from code review adding PR suggestions Co-authored-by: MaxThevenet <mthevenet@lbl.gov> * cleaning function calls and definitions as suggested in review * uncomment the assert. It is valid for FullDiag and BTDiag * Update Source/Diagnostics/Diagnostics.H adding PR suggestion including comments Co-authored-by: MaxThevenet <mthevenet@lbl.gov> * moved InitData to Diagnostics.cpp and call relevant functions from there * moving FilterComputeAndPack to Diagnostics * removing commented out code * remove gpu vector containing map of fields from cc_mf to dst_mf. New diag machinery ensures cc_mf.ncomp == dst_mf.ncomp * fix eol whitespace * populating Init functions in BTDiagnostics * DefineCellCenteredMultiFab should be called only once for all buffers * add Init functions and constructing BackTransform functor * call BackTransform operator which currently does nothing * EOL * average-down cc data to coarsest level * loop over level used to allocate output buffer * some comment about avg-down functions to be moved * EOL * Apply suggestions from code review add pr suggestions Co-authored-by: MaxThevenet <mthevenet@lbl.gov> * clarifying pure virtual and virtual functions * removing namespace amrex and adding corresponding amrex:: prefix * this should be nlev -- number of levels in the sim, not max allocated levels * the number of levels to be output could be different from nlev, nmax_lev * add missing semi-colon! * add amrex:: prefix to MultiFab to comile psatd * add new diag files to CMakeLists.txt * fix compiler errors. * add amrex:: prefix to fix psatd compilation error * some more conflicts * minor cleaning * EOL * flatten cc data using finestLevel() and use moving window dir * EOL * Apply suggestions from code review PR suggestions Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja> * making it readable and adding comments * add missing semicolon * add empty operator * cc functor with ncomp=10 for LT. add prob domain. call functor prep data * add cc_varnames for 10comp ccfunctor. define prob domain * Add ith buffer to the operator for diag functors * add ith buffer for diag functor; define prep functor data * set plot rho to 1 for BTD * adding prep data and LorentzTransform * adding new BTD algorithm with some debugging print statements * cleaning and ensuring use_gpu=true compiles * EOL whitespace * thanks bot! fixed redundant lev definition * cleaning, adding comments, changing mlo and mhi in diags for boosted frame * fixing compilation bugs * ensuring accuracy in 2D by adding dim_map for diag lo and diag hi * EOL fix * prevent warning for unused variable * some more comments and clean-up * EOL * fix bug with moving window conversion of mlo mhi * restoring call to flush out diags after redistribute * eol * add reformatted input file for CI * address PR review comments * to prevent unused parameter warning * temporarily removing CI test for reformatted slice BTD to fit CI time-limit * call ComputePackFlush after syncing time * Apply suggestions from code review Co-authored-by: MaxThevenet <maxence.thevenet@desy.de> * reverting DoComputeAndPack Co-authored-by: MaxThevenet <mthevenet@lbl.gov> Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja> Co-authored-by: MaxThevenet <maxence.thevenet@desy.de>
Diffstat (limited to 'Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithmRZ.H')
0 files changed, 0 insertions, 0 deletions