Chi-Tech
chi_diffusion Namespace Reference

Data Structures

class  Boundary
 
class  BoundaryDirichlet
 
class  BoundaryReflecting
 
class  BoundaryRobin
 
class  Solver
 
class  UnitIntegralContainer
 

Enumerations

enum class  BoundaryType : int {
  Reflecting = 1 , Dirichlet = 2 , Neumann = 3 , Robin = 4 ,
  Vacuum = 5
}
 

Functions

PetscErrorCode KSPMonitorAChiTech (KSP ksp, PetscInt n, PetscReal rnorm, void *monitordestroy)
 
PetscErrorCode DiffusionConvergenceTestNPT (KSP ksp, PetscInt n, PetscReal rnorm, KSPConvergedReason *convergedReason, void *monitordestroy)
 

Enumeration Type Documentation

◆ BoundaryType

enum class chi_diffusion::BoundaryType : int
strong
Enumerator
Reflecting 
Dirichlet 
Neumann 
Robin 
Vacuum 

Definition at line 8 of file chi_diffusion_bndry.h.

Function Documentation

◆ DiffusionConvergenceTestNPT()

PetscErrorCode chi_diffusion::DiffusionConvergenceTestNPT ( KSP  ksp,
PetscInt  n,
PetscReal  rnorm,
KSPConvergedReason *  convergedReason,
void *  monitordestroy 
)

Customized convergence test.

Definition at line 44 of file chi_diffusion_utils.cc.

◆ KSPMonitorAChiTech()

PetscErrorCode chi_diffusion::KSPMonitorAChiTech ( KSP  ksp,
PetscInt  n,
PetscReal  rnorm,
void *  monitordestroy 
)

Customized monitor for PETSc Krylov sub-space solvers.

Definition at line 13 of file chi_diffusion_utils.cc.