|
subroutine | init_solver_data (grid, solver_data, solver_boundary, rhs_boundary, psi_center, B_center, den_center, temp_center, f0_dden_center, f0_dtemp_center) |
| Initializes the basic data object used in the PETSc field solver setup. More...
|
|
subroutine | destroy_solver_data (solver_data) |
| Destroys the solver data object. More...
|
|
subroutine solver_init_module::destroy_solver_data |
( |
type(solver_init_data), intent(inout) |
solver_data | ) |
|
Destroys the solver data object.
subroutine solver_init_module::init_solver_data |
( |
type(grid_type), intent(in) |
grid, |
|
|
type(solver_init_data), intent(inout) |
solver_data, |
|
|
integer, dimension(grid%nnode), intent(in) |
solver_boundary, |
|
|
integer, dimension(grid%nnode), intent(in) |
rhs_boundary, |
|
|
real(8), dimension(grid%ntriangle) |
psi_center, |
|
|
real(8), dimension(grid%ntriangle, 3) |
B_center, |
|
|
real(8), dimension(grid%ntriangle, 0:ptl_nsp) |
den_center, |
|
|
real(8), dimension(grid%ntriangle, 0:ptl_nsp) |
temp_center, |
|
|
real(8), dimension(grid%ntriangle, 0:ptl_nsp) |
f0_dden_center, |
|
|
real(8), dimension(grid%ntriangle, 0:ptl_nsp) |
f0_dtemp_center |
|
) |
| |
Initializes the basic data object used in the PETSc field solver setup.
- Parameters
-
[in] | grid | XGC grid object, type(grid_type) |
[in] | solver_boundary | Boundary of the field solver domain, 1 if not in boundary vertex list |
[in] | rhs_boundary | Boundary for the RHS (of Ampere's law), 1 if not in boundary vertex list |
The documentation for this module was generated from the following file: