XGCa
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Functions
send_grid_fields.hpp File Reference
#include "electric_field.hpp"
Include dependency graph for send_grid_fields.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

FieldXGCaget_E_rho_loc (FortranPtr psn_fptr)
 
void copy_phi_grid_fields_to_device (FortranPtr psn_fptr, ElectricField< DeviceType > &electric_field)
 
void copy_rho_grid_fields_to_device (FortranPtr psn_fptr, ElectricField< DeviceType > &electric_field)
 

Function Documentation

void copy_phi_grid_fields_to_device ( FortranPtr  psn_fptr,
ElectricField< DeviceType > &  electric_field 
)

Allocates the electric field etc. needed for electrons (i.e. with phi index) on device, then copies the field data from fortran arrays to the device views

Parameters
[in]psn_fptris the pointer to the Fortran psn object
[in,out]electric_fieldis the object containing the device fields
Returns
void

Here is the call graph for this function:

Here is the caller graph for this function:

void copy_rho_grid_fields_to_device ( FortranPtr  psn_fptr,
ElectricField< DeviceType > &  electric_field 
)

Here is the call graph for this function:

Here is the caller graph for this function:

FieldXGCa* get_E_rho_loc ( FortranPtr  psn_fptr)

Here is the caller graph for this function: