XGCa
Data Types | Modules | Functions/Subroutines | Variables
module_psn.F90 File Reference
#include "petsc_version_defs.h"
#include <petsc/finclude/petsc.h>
Include dependency graph for module_psn.F90:

Data Types

type  xgc_solver_module::xgc_solver
 
type  psn_class::psn_type
 

Modules

module  xgc_solver_module
 This module defines the data structure and global variables needed for the Poisson solvers (or generally PETSc ksp-solvers)
 
module  psn_class
 This module defines the data structure psn that is used for storing data on the triangle grid (fields, potentials, densities, etc.)
 

Functions/Subroutines

subroutine xgc_solver_module::delete_solver (this, ierr)
 Destroys all PETSc objects created for a solver object and deallocates all memory. More...
 
subroutine xgc_solver_module::myvecdestroy (vec, ierr)
 Checks if a PETSc vector is non-NULL and destroys it if necessary. More...
 
subroutine xgc_solver_module::mymatdestroy (amat, ierr)
 Checks if a PETSc matrix is non-NULL and destroys it if necessary. More...
 
subroutine xgc_solver_module::myvecscatterdestroy (vscat, ierr)
 Checks if a PETSc VecScatter is non-NULL and destroys it if necessary. More...
 
subroutine psn_class::set_rho_ff_pointers (n, dpot, dpot_ff)
 
subroutine psn_class::set_rho_pointers (n, dpot)
 

Variables

type(psn_type), target psn_class::psn_global