|
Vlasiator ebf0dd394 on dev (v5.4.0 + 1054 commits)
|
#include <spatial_cell_cpu.hpp>

Public Member Functions | |
| Population () | |
| ~Population () | |
| Population (const Population &other) | |
| const Population & | operator= (const Population &other) |
| void | ResizeClear (const uint newSize) |
| void | Scale (creal factor) |
| void | Increment (const Population &other, creal factor) |
| Population () | |
| ~Population () | |
| Population (const Population &other) | |
| const Population & | operator= (const Population &other) |
| void | Upload () |
| void | ResizeClear (const uint newSize) |
| void | Scale (creal factor) |
| void | Increment (const Population &other, creal factor) |
Public Attributes | |
| Real | RHO |
| Real | V [3] |
| Real | RHO_R |
| Real | V_R [3] |
| Real | RHO_V |
| Real | V_V [3] |
| Real | P [6] |
| Real | P_R [6] |
| Real | P_V [6] |
| Real | RHOLOSSADJUST = 0.0 |
| Real | max_dt [2] |
| Real | velocityBlockMinValue |
| uint | ACCSUBCYCLES |
| vmesh::LocalID | N_blocks |
| vmesh::VelocityMesh * | vmesh |
| vmesh::VelocityBlockContainer * | blockContainer |
| std::vector< char > | compressed_state_buffer |
| float | mlp_error = {std::numeric_limits<float>::max()} |
| uint32_t | mlp_epochs = {0} |
| Real | intersection_z |
| Real | intersection_z_di |
| Real | intersection_z_dj |
| Real | intersection_z_dk |
| Real | intersection_x |
| Real | intersection_x_di |
| Real | intersection_x_dj |
| Real | intersection_x_dk |
| Real | intersection_y |
| Real | intersection_y_di |
| Real | intersection_y_dj |
| Real | intersection_y_dk |
| Real | subcycleDt |
| vmesh::LocalID | reservation = 0 |
| size_t | dev_vmesh = 0 |
| size_t | dev_blockContainer = 0 |
Wrapper for variables needed for each particle species. Change order if you know what you are doing. All Real fields should be consecutive, as they are communicated as a block.
Definition at line 66 of file spatial_cell_cpu.hpp.
|
inline |
|
inline |
Definition at line 113 of file spatial_cell_cpu.hpp.
|
inline |
|
inline |
|
inline |
Definition at line 316 of file spatial_cell_gpu.hpp.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 178 of file spatial_cell_cpu.hpp.
|
inline |
|
inline |
Definition at line 412 of file spatial_cell_gpu.hpp.


| uint spatial_cell::Population::ACCSUBCYCLES |
number of subcyles for each cell
Definition at line 80 of file spatial_cell_cpu.hpp.
| vmesh::VelocityBlockContainer * spatial_cell::Population::blockContainer |
Velocity block data.
Definition at line 86 of file spatial_cell_cpu.hpp.
| std::vector< char > spatial_cell::Population::compressed_state_buffer |
Used by OCTREE and ZFP to store comprresed state representation of the VDF of this sc
Definition at line 87 of file spatial_cell_cpu.hpp.
| size_t spatial_cell::Population::dev_blockContainer = 0 |
Temporary storage of acceleration transform intersections and sybcycling dt.
Definition at line 280 of file spatial_cell_gpu.hpp.
| size_t spatial_cell::Population::dev_vmesh = 0 |
Definition at line 279 of file spatial_cell_gpu.hpp.
| Real spatial_cell::Population::intersection_x |
Definition at line 93 of file spatial_cell_cpu.hpp.
| Real spatial_cell::Population::intersection_x_di |
Definition at line 93 of file spatial_cell_cpu.hpp.
| Real spatial_cell::Population::intersection_x_dj |
Definition at line 93 of file spatial_cell_cpu.hpp.
| Real spatial_cell::Population::intersection_x_dk |
Definition at line 93 of file spatial_cell_cpu.hpp.
| Real spatial_cell::Population::intersection_y |
Definition at line 94 of file spatial_cell_cpu.hpp.
| Real spatial_cell::Population::intersection_y_di |
Definition at line 94 of file spatial_cell_cpu.hpp.
| Real spatial_cell::Population::intersection_y_dj |
Definition at line 94 of file spatial_cell_cpu.hpp.
| Real spatial_cell::Population::intersection_y_dk |
Definition at line 94 of file spatial_cell_cpu.hpp.
| Real spatial_cell::Population::intersection_z |
Definition at line 92 of file spatial_cell_cpu.hpp.
| Real spatial_cell::Population::intersection_z_di |
Definition at line 92 of file spatial_cell_cpu.hpp.
| Real spatial_cell::Population::intersection_z_dj |
Definition at line 92 of file spatial_cell_cpu.hpp.
| Real spatial_cell::Population::intersection_z_dk |
Definition at line 92 of file spatial_cell_cpu.hpp.
| Real spatial_cell::Population::max_dt |
Element[0] is max_r_dt, element[1] max_v_dt.
Definition at line 77 of file spatial_cell_cpu.hpp.
| uint32_t spatial_cell::Population::mlp_epochs = {0} |
Store the number of epochs that the MLP was trained for Temporary storage of acceleration transform intersections and sybcycling dt.
Store the number of epochs that the MLP was trained for
Definition at line 89 of file spatial_cell_cpu.hpp.
| float spatial_cell::Population::mlp_error = {std::numeric_limits<float>::max()} |
Stores the loss function error of the MLP that was used for compression
Definition at line 88 of file spatial_cell_cpu.hpp.
| vmesh::LocalID spatial_cell::Population::N_blocks |
Number of velocity blocks, used when receiving velocity mesh from remote neighbors using MPI.
Definition at line 81 of file spatial_cell_cpu.hpp.
| Real spatial_cell::Population::P |
Definition at line 73 of file spatial_cell_cpu.hpp.
| Real spatial_cell::Population::P_R |
Definition at line 74 of file spatial_cell_cpu.hpp.
| Real spatial_cell::Population::P_V |
Definition at line 75 of file spatial_cell_cpu.hpp.
| vmesh::LocalID spatial_cell::Population::reservation = 0 |
Definition at line 265 of file spatial_cell_gpu.hpp.
| Real spatial_cell::Population::RHO |
Definition at line 67 of file spatial_cell_cpu.hpp.
| Real spatial_cell::Population::RHO_R |
Definition at line 69 of file spatial_cell_cpu.hpp.
| Real spatial_cell::Population::RHO_V |
Definition at line 71 of file spatial_cell_cpu.hpp.
| Real spatial_cell::Population::RHOLOSSADJUST = 0.0 |
Counter for particle number loss from the destroying blocks in blockadjustment
Definition at line 76 of file spatial_cell_cpu.hpp.
| Real spatial_cell::Population::subcycleDt |
Definition at line 95 of file spatial_cell_cpu.hpp.
| Real spatial_cell::Population::V |
Definition at line 68 of file spatial_cell_cpu.hpp.
| Real spatial_cell::Population::V_R |
Definition at line 70 of file spatial_cell_cpu.hpp.
| Real spatial_cell::Population::V_V |
Definition at line 72 of file spatial_cell_cpu.hpp.
| Real spatial_cell::Population::velocityBlockMinValue |
Definition at line 78 of file spatial_cell_cpu.hpp.
| vmesh::VelocityMesh * spatial_cell::Population::vmesh |
Velocity mesh. Contains all velocity blocks that exist in this spatial cell. Cells are identified by their unique global IDs.
Definition at line 83 of file spatial_cell_cpu.hpp.