XGCa
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Data Types | Macros | Functions/Subroutines
poisson.F90 File Reference
#include "petsc_v3_10_defs.h"
#include <petsc/finclude/petscsnes.h>
#include <petsc/finclude/petsc.h>
Include dependency graph for poisson.F90:

Data Types

module  f90moduleinterfaces
 
interface  f90moduleinterfaces::pcsetapplicationcontext
 
interface  f90moduleinterfaces::pcgetapplicationcontext
 

Macros

#define DPOT(inode, iphi)   psn%dpot(inode)
 
#define IDEN(inode, iphi)   psn%idensity0(inode)
 
#define EDEN(inode, iphi)   psn%edensity0(inode)
 

Functions/Subroutines

subroutine my_petscoptionsclearvalue (value, ierr)
 Wrapper routine for PetscOptionsClearValue. More...
 
subroutine my_petscoptionssetvalue (value1, value2, ierr)
 Wrapper routine for PetscOptionsSetValue. More...
 
subroutine init_poisson (grid, psn, iflag_dummy)
 
subroutine psn_init_poisson_private (psn, grid, nrhs)
 
subroutine pcshermanmorrisonapply (pc, xin, yout, ierr)
 
subroutine getnnz (grid, nloc, low, high, d_nnz, o_nnz, xgc_petsc, nglobal, ierr)
 
subroutine create_solver (this, grid, bc, ierr)
 
subroutine create_1field_solver (grid, solver)
 
subroutine create_2field_solver (grid, bd, solver)
 
subroutine make_12mat (grid, Bmat, BIdentMat, FSAMass_Te, solver, bd, scale, xgc_petsc)
 
subroutine make_21mat (grid, Cmat, Cio, Bmat, CConstBCVec, bd, xgc_petsc, petsc_xgc_bd)
 
subroutine solve_poisson (grid, psn, n0_only, iflag)
 High level Poisson solver routine, offers choice of outer iterative solver, two-step solver, and FSA solver. More...
 
subroutine solve_poisson_private (grid, psn, iflag)
 
subroutine zero_out_wall (var)
 
subroutine solve_poisson_iter (grid, psn, iflag)
 
subroutine update_poisson_solver (grid, psn)
 

Macro Definition Documentation

#define DPOT (   inode,
  iphi 
)    psn%dpot(inode)
#define EDEN (   inode,
  iphi 
)    psn%edensity0(inode)
#define IDEN (   inode,
  iphi 
)    psn%idensity0(inode)

Function/Subroutine Documentation

subroutine create_1field_solver ( type(grid_type)  grid,
type(xgc_solver)  solver 
)

Here is the caller graph for this function:

subroutine create_2field_solver ( type(grid_type)  grid,
type(boundary2_type)  bd,
type(xgc_solver)  solver 
)

Here is the call graph for this function:

Here is the caller graph for this function:

subroutine create_solver ( type(xgc_solver)  this,
type(grid_type), intent(in)  grid,
type(boundary2_type), intent(in)  bc,
  ierr 
)

Here is the call graph for this function:

Here is the caller graph for this function:

subroutine getnnz ( type(grid_type), intent(in)  grid,
  nloc,
  low,
  high,
  d_nnz,
  o_nnz,
dimension(grid%nnode), intent(in)  xgc_petsc,
  nglobal,
  ierr 
)

Here is the caller graph for this function:

subroutine init_poisson ( type(grid_type)  grid,
type(psn_type)  psn,
integer  iflag_dummy 
)

Here is the call graph for this function:

Here is the caller graph for this function:

subroutine make_12mat ( type(grid_type)  grid,
intent(inout)  Bmat,
  BIdentMat,
intent(in)  FSAMass_Te,
type(xgc_solver)  solver,
type(boundary2_type), intent(in)  bd,
real (8), intent(in)  scale,
dimension(grid%nnode), intent(in)  xgc_petsc 
)

Here is the call graph for this function:

Here is the caller graph for this function:

subroutine make_21mat ( type(grid_type)  grid,
  Cmat,
  Cio,
intent(in)  Bmat,
  CConstBCVec,
type(boundary2_type), intent(in)  bd,
dimension(grid%nnode), intent(in)  xgc_petsc,
dimension(grid%nnode), intent(in)  petsc_xgc_bd 
)

Here is the call graph for this function:

Here is the caller graph for this function:

subroutine my_petscoptionsclearvalue ( character(*), intent(in)  value,
intent(inout)  ierr 
)

Wrapper routine for PetscOptionsClearValue.

Parameters
value(in) name of the option to be cleared (character)
ierr(inout) error handler (PetscErrorCode)

Here is the call graph for this function:

Here is the caller graph for this function:

subroutine my_petscoptionssetvalue ( character(*), intent(in)  value1,
character(*), intent(in)  value2,
intent(inout)  ierr 
)

Wrapper routine for PetscOptionsSetValue.

Parameters
value1(in) name of the option to be set (character)
value2(in) value of the option to be set (character)
ierr(inout) error handler (PetscErrorCode)

Here is the caller graph for this function:

subroutine pcshermanmorrisonapply (   pc,
  xin,
  yout,
  ierr 
)

Here is the caller graph for this function:

subroutine psn_init_poisson_private ( type(psn_type)  psn,
type(grid_type)  grid,
integer  nrhs 
)

Here is the call graph for this function:

Here is the caller graph for this function:

subroutine solve_poisson ( type(grid_type), intent(in)  grid,
type(psn_type), intent(inout)  psn,
logical, intent(in)  n0_only,
integer, intent(in)  iflag 
)

High level Poisson solver routine, offers choice of outer iterative solver, two-step solver, and FSA solver.

Parameters
[in]gridXGC grid data object
[in,out]psnXGC field data object
[in]n0_onlyFlag for solving only n=0 mode and then exit (no function in XGCa), logical
[in]iflagFlag to indicate whether adiabatic elec or full eq. is solved, integer

Here is the call graph for this function:

Here is the caller graph for this function:

subroutine solve_poisson_iter ( type(grid_type)  grid,
type(psn_type)  psn,
integer, intent(in)  iflag 
)

Here is the call graph for this function:

Here is the caller graph for this function:

subroutine solve_poisson_private ( type(grid_type)  grid,
type(psn_type)  psn,
integer, intent(in)  iflag 
)

Here is the call graph for this function:

Here is the caller graph for this function:

subroutine update_poisson_solver ( type(grid_type), intent(in)  grid,
type(psn_type), intent(inout)  psn 
)

Here is the call graph for this function:

Here is the caller graph for this function:

subroutine zero_out_wall ( real (8), dimension(grid%nnode), intent(inout)  var)

Here is the caller graph for this function: