|
ARTEMIS
|
#include "BoundaryConditions/PML.H"#include "Initialization/WarpXAMReXInit.H"#include "Particles/MultiParticleContainer.H"#include "Particles/ParticleBoundaryBuffer.H"#include "Particles/WarpXParticleContainer.H"#include "Utils/WarpXProfilerWrapper.H"#include "Utils/WarpXUtil.H"#include "WarpX.H"#include "WarpXWrappers.H"#include "WarpX_py.H"#include <ablastr/warn_manager/WarnManager.H>#include <AMReX.H>#include <AMReX_ArrayOfStructs.H>#include <AMReX_Box.H>#include <AMReX_FArrayBox.H>#include <AMReX_FabArray.H>#include <AMReX_Geometry.H>#include <AMReX_GpuControl.H>#include <AMReX_IndexType.H>#include <AMReX_IntVect.H>#include <AMReX_MFIter.H>#include <AMReX_MultiFab.H>#include <AMReX_PODVector.H>#include <AMReX_ParIter.H>#include <AMReX_Particles.H>#include <AMReX_StructOfArrays.H>#include <array>#include <cstdlib>Macros | |
| #define | WARPX_GET_FIELD(FIELD, GETTER) |
| #define | WARPX_GET_LOVECTS(FIELD, GETTER) |
| #define | WARPX_GET_SCALAR(SCALAR, GETTER) |
| #define | WARPX_GET_LOVECTS_SCALAR(SCALAR, GETTER) |
| #define | WARPX_GET_FIELD_PML(FIELD, GETTER) |
| #define | WARPX_GET_LOVECTS_PML(FIELD, GETTER) |
| #define | WARPX_GET_SCALAR_PML(SCALAR, GETTER) |
| #define | WARPX_GET_LOVECTS_PML_SCALAR(SCALAR, GETTER) |
Functions | |
| int | warpx_Real_size () |
| int | warpx_ParticleReal_size () |
| int | warpx_nSpecies () |
| bool | warpx_use_fdtd_nci_corr () |
| int | warpx_galerkin_interpolation () |
| int | warpx_nComps () |
| int | warpx_nCompsSpecies (const char *char_species_name) |
| int | warpx_SpaceDim () |
| void | amrex_init (int argc, char *argv[]) |
| void | amrex_finalize (int) |
| void | warpx_init () |
| void | warpx_finalize () |
| void | warpx_set_callback_py (const char *char_callback_name, WARPX_CALLBACK_PY_FUNC_0 callback) |
| void | warpx_clear_callback_py (const char *char_callback_name) |
| void | warpx_evolve (int numsteps) |
| void | warpx_addNParticles (const char *char_species_name, int lenx, amrex::ParticleReal const *x, amrex::ParticleReal const *y, amrex::ParticleReal const *z, amrex::ParticleReal const *vx, amrex::ParticleReal const *vy, amrex::ParticleReal const *vz, const int nattr_real, amrex::ParticleReal const *attr_real, const int nattr_int, int const *attr_int, int uniqueparticles) |
| void | warpx_ConvertLabParamsToBoost () |
| void | warpx_ReadBCParams () |
| void | warpx_CheckGriddingForRZSpectral () |
| amrex::Real | warpx_getProbLo (int dir) |
| amrex::Real | warpx_getProbHi (int dir) |
| amrex::Real | warpx_getCellSize (int dir, int lev) |
| long | warpx_getNumParticles (const char *char_species_name, const bool local) |
| int * | warpx_getEx_nodal_flag () |
| int * | warpx_getEy_nodal_flag () |
| int * | warpx_getEz_nodal_flag () |
| int * | warpx_getBx_nodal_flag () |
| int * | warpx_getBy_nodal_flag () |
| int * | warpx_getBz_nodal_flag () |
| int * | warpx_getJx_nodal_flag () |
| int * | warpx_getJy_nodal_flag () |
| int * | warpx_getJz_nodal_flag () |
| int * | warpx_getAx_nodal_flag () |
| int * | warpx_getAy_nodal_flag () |
| int * | warpx_getAz_nodal_flag () |
| int * | warpx_getRho_nodal_flag () |
| int * | warpx_getPhi_nodal_flag () |
| int * | warpx_getF_nodal_flag () |
| int * | warpx_getG_nodal_flag () |
| int * | warpx_get_edge_lengths_x_nodal_flag () |
| int * | warpx_get_edge_lengths_y_nodal_flag () |
| int * | warpx_get_edge_lengths_z_nodal_flag () |
| int * | warpx_get_face_areas_x_nodal_flag () |
| int * | warpx_get_face_areas_y_nodal_flag () |
| int * | warpx_get_face_areas_z_nodal_flag () |
| int * | warpx_getF_pml_nodal_flag () |
| int * | warpx_getG_pml_nodal_flag () |
| amrex::ParticleReal ** | warpx_getParticleStructs (const char *char_species_name, int lev, int *num_tiles, int **particles_per_tile) |
| amrex::ParticleReal ** | warpx_getParticleArrays (const char *char_species_name, const char *char_comp_name, int lev, int *num_tiles, int **particles_per_tile) |
| void | warpx_convert_id_to_long (amrex::Long *ids, const WarpXParticleContainer::ParticleType *pstructs, int size) |
| void | warpx_convert_cpu_to_int (int *cpus, const WarpXParticleContainer::ParticleType *pstructs, int size) |
| int | warpx_getParticleCompIndex (const char *char_species_name, const char *char_comp_name) |
| void | warpx_addRealComp (const char *char_species_name, const char *char_comp_name, bool comm=true) |
| amrex::Real | warpx_sumParticleCharge (const char *char_species_name, const bool local) |
| int | warpx_getParticleBoundaryBufferSize (const char *species_name, int boundary, bool local) |
| int ** | warpx_getParticleBoundaryBufferScrapedSteps (const char *species_name, int boundary, int lev, int *num_tiles, int **particles_per_tile) |
| amrex::ParticleReal ** | warpx_getParticleBoundaryBuffer (const char *species_name, int boundary, int lev, int *num_tiles, int **particles_per_tile, const char *comp_name) |
| amrex::ParticleReal ** | warpx_getParticleBoundaryBufferStructs (const char *species_name, int boundary, int lev, int *num_tiles, int **particles_per_tile) |
| void | warpx_clearParticleBoundaryBuffer () |
| void | warpx_depositChargeDensity (const char *char_species_name, int lev) |
| This function is used to deposit a given species' charge density in the rho_fp multifab which can then be accessed from python via pywarpx.fields.RhoFPWrapper() More... | |
| void | warpx_ComputeDt () |
| void | warpx_MoveWindow (int step, bool move_j) |
| void | warpx_EvolveE (amrex::Real dt) |
| void | warpx_EvolveB (amrex::Real dt, DtType a_dt_type) |
| void | warpx_FillBoundaryE () |
| void | warpx_FillBoundaryB () |
| void | warpx_SyncRho () |
| void | warpx_SyncCurrent (const amrex::Vector< std::array< std::unique_ptr< amrex::MultiFab >, 3 >> &J_fp, const amrex::Vector< std::array< std::unique_ptr< amrex::MultiFab >, 3 >> &J_cp) |
| void | warpx_UpdateAuxilaryData () |
| void | warpx_PushParticlesandDepose (amrex::Real cur_time) |
| int | warpx_getistep (int lev) |
| void | warpx_setistep (int lev, int ii) |
| amrex::Real | warpx_gett_new (int lev) |
| void | warpx_sett_new (int lev, amrex::Real time) |
| amrex::Real | warpx_getdt (int lev) |
| int | warpx_maxStep () |
| amrex::Real | warpx_stopTime () |
| int | warpx_finestLevel () |
| int | warpx_getMyProc () |
| int | warpx_getNProcs () |
| void | warpx_setPotentialEB (const char *char_potential) |
| void | mypc_Redistribute () |
| #define WARPX_GET_FIELD | ( | FIELD, | |
| GETTER | |||
| ) |
| #define WARPX_GET_FIELD_PML | ( | FIELD, | |
| GETTER | |||
| ) |
| #define WARPX_GET_LOVECTS | ( | FIELD, | |
| GETTER | |||
| ) |
| #define WARPX_GET_LOVECTS_PML | ( | FIELD, | |
| GETTER | |||
| ) |
| #define WARPX_GET_LOVECTS_PML_SCALAR | ( | SCALAR, | |
| GETTER | |||
| ) |
| #define WARPX_GET_LOVECTS_SCALAR | ( | SCALAR, | |
| GETTER | |||
| ) |
| #define WARPX_GET_SCALAR | ( | SCALAR, | |
| GETTER | |||
| ) |
| #define WARPX_GET_SCALAR_PML | ( | SCALAR, | |
| GETTER | |||
| ) |
| void amrex_finalize | ( | int | finalize_mpi | ) |
| void amrex_init | ( | int | argc, |
| char * | argv[] | ||
| ) |
| void mypc_Redistribute | ( | ) |
| void warpx_addNParticles | ( | const char * | char_species_name, |
| int | lenx, | ||
| amrex::ParticleReal const * | x, | ||
| amrex::ParticleReal const * | y, | ||
| amrex::ParticleReal const * | z, | ||
| amrex::ParticleReal const * | vx, | ||
| amrex::ParticleReal const * | vy, | ||
| amrex::ParticleReal const * | vz, | ||
| const int | nattr_real, | ||
| amrex::ParticleReal const * | attr_real, | ||
| const int | nattr_int, | ||
| int const * | attr_int, | ||
| int | uniqueparticles | ||
| ) |
| void warpx_addRealComp | ( | const char * | char_species_name, |
| const char * | char_comp_name, | ||
| bool | comm = true |
||
| ) |
| void warpx_CheckGriddingForRZSpectral | ( | ) |
| void warpx_clear_callback_py | ( | const char * | char_callback_name | ) |
| void warpx_clearParticleBoundaryBuffer | ( | ) |
| void warpx_ComputeDt | ( | ) |
| void warpx_convert_cpu_to_int | ( | int * | cpus, |
| const WarpXParticleContainer::ParticleType * | pstructs, | ||
| int | size | ||
| ) |
| void warpx_convert_id_to_long | ( | amrex::Long * | ids, |
| const WarpXParticleContainer::ParticleType * | pstructs, | ||
| int | size | ||
| ) |
| void warpx_ConvertLabParamsToBoost | ( | ) |
| void warpx_depositChargeDensity | ( | const char * | species_name, |
| int | lev | ||
| ) |
This function is used to deposit a given species' charge density in the rho_fp multifab which can then be accessed from python via pywarpx.fields.RhoFPWrapper()
| [in] | species_name | specifying the name of the species to deposit |
| [in] | lev | mesh refinement level |
| void warpx_evolve | ( | int | numsteps | ) |
| void warpx_EvolveB | ( | amrex::Real | dt, |
| DtType | a_dt_type | ||
| ) |
| void warpx_EvolveE | ( | amrex::Real | dt | ) |
| void warpx_FillBoundaryB | ( | ) |
| void warpx_FillBoundaryE | ( | ) |
| void warpx_finalize | ( | ) |
| int warpx_finestLevel | ( | ) |
| int warpx_galerkin_interpolation | ( | ) |
| int* warpx_get_edge_lengths_x_nodal_flag | ( | ) |
| int* warpx_get_edge_lengths_y_nodal_flag | ( | ) |
| int* warpx_get_edge_lengths_z_nodal_flag | ( | ) |
| int* warpx_get_face_areas_x_nodal_flag | ( | ) |
| int* warpx_get_face_areas_y_nodal_flag | ( | ) |
| int* warpx_get_face_areas_z_nodal_flag | ( | ) |
| int* warpx_getAx_nodal_flag | ( | ) |
| int* warpx_getAy_nodal_flag | ( | ) |
| int* warpx_getAz_nodal_flag | ( | ) |
| int* warpx_getBx_nodal_flag | ( | ) |
| int* warpx_getBy_nodal_flag | ( | ) |
| int* warpx_getBz_nodal_flag | ( | ) |
| amrex::Real warpx_getCellSize | ( | int | dir, |
| int | lev | ||
| ) |
| amrex::Real warpx_getdt | ( | int | lev | ) |
| int* warpx_getEx_nodal_flag | ( | ) |
| int* warpx_getEy_nodal_flag | ( | ) |
| int* warpx_getEz_nodal_flag | ( | ) |
| int* warpx_getF_nodal_flag | ( | ) |
| int* warpx_getF_pml_nodal_flag | ( | ) |
| int* warpx_getG_nodal_flag | ( | ) |
| int* warpx_getG_pml_nodal_flag | ( | ) |
| int warpx_getistep | ( | int | lev | ) |
| int* warpx_getJx_nodal_flag | ( | ) |
| int* warpx_getJy_nodal_flag | ( | ) |
| int* warpx_getJz_nodal_flag | ( | ) |
| int warpx_getMyProc | ( | ) |
| int warpx_getNProcs | ( | ) |
| long warpx_getNumParticles | ( | const char * | char_species_name, |
| const bool | local | ||
| ) |
| amrex::ParticleReal** warpx_getParticleArrays | ( | const char * | char_species_name, |
| const char * | char_comp_name, | ||
| int | lev, | ||
| int * | num_tiles, | ||
| int ** | particles_per_tile | ||
| ) |
| amrex::ParticleReal** warpx_getParticleBoundaryBuffer | ( | const char * | species_name, |
| int | boundary, | ||
| int | lev, | ||
| int * | num_tiles, | ||
| int ** | particles_per_tile, | ||
| const char * | comp_name | ||
| ) |
| int** warpx_getParticleBoundaryBufferScrapedSteps | ( | const char * | species_name, |
| int | boundary, | ||
| int | lev, | ||
| int * | num_tiles, | ||
| int ** | particles_per_tile | ||
| ) |
| int warpx_getParticleBoundaryBufferSize | ( | const char * | species_name, |
| int | boundary, | ||
| bool | local | ||
| ) |
| amrex::ParticleReal** warpx_getParticleBoundaryBufferStructs | ( | const char * | species_name, |
| int | boundary, | ||
| int | lev, | ||
| int * | num_tiles, | ||
| int ** | particles_per_tile | ||
| ) |
| int warpx_getParticleCompIndex | ( | const char * | char_species_name, |
| const char * | char_comp_name | ||
| ) |
| amrex::ParticleReal** warpx_getParticleStructs | ( | const char * | char_species_name, |
| int | lev, | ||
| int * | num_tiles, | ||
| int ** | particles_per_tile | ||
| ) |
| int* warpx_getPhi_nodal_flag | ( | ) |
| amrex::Real warpx_getProbHi | ( | int | dir | ) |
| amrex::Real warpx_getProbLo | ( | int | dir | ) |
| int* warpx_getRho_nodal_flag | ( | ) |
| amrex::Real warpx_gett_new | ( | int | lev | ) |
| void warpx_init | ( | ) |
| int warpx_maxStep | ( | ) |
| void warpx_MoveWindow | ( | int | step, |
| bool | move_j | ||
| ) |
| int warpx_nComps | ( | ) |
| int warpx_nCompsSpecies | ( | const char * | char_species_name | ) |
| int warpx_nSpecies | ( | ) |
| int warpx_ParticleReal_size | ( | ) |
| void warpx_PushParticlesandDepose | ( | amrex::Real | cur_time | ) |
| void warpx_ReadBCParams | ( | ) |
| int warpx_Real_size | ( | ) |
| void warpx_set_callback_py | ( | const char * | char_callback_name, |
| WARPX_CALLBACK_PY_FUNC_0 | callback | ||
| ) |
| void warpx_setistep | ( | int | lev, |
| int | ii | ||
| ) |
| void warpx_setPotentialEB | ( | const char * | char_potential | ) |
| void warpx_sett_new | ( | int | lev, |
| amrex::Real | time | ||
| ) |
| int warpx_SpaceDim | ( | ) |
| amrex::Real warpx_stopTime | ( | ) |
| amrex::Real warpx_sumParticleCharge | ( | const char * | char_species_name, |
| const bool | local | ||
| ) |
| void warpx_SyncCurrent | ( | const amrex::Vector< std::array< std::unique_ptr< amrex::MultiFab >, 3 >> & | J_fp, |
| const amrex::Vector< std::array< std::unique_ptr< amrex::MultiFab >, 3 >> & | J_cp | ||
| ) |
| void warpx_SyncRho | ( | ) |
| void warpx_UpdateAuxilaryData | ( | ) |
| bool warpx_use_fdtd_nci_corr | ( | ) |