aboutsummaryrefslogtreecommitdiff
path: root/param.ccl
blob: e1212f8af0a7e71a57155e37069b2808ec5916a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# Parameter definitions for thorn PETSc_Elliptic
# $Header$

shares: grid

USES KEYWORD domain 

shares: ellbase

USES KEYWORD elliptic_verbose 

private:

KEYWORD petsc_verbose "PETSc verbose output"
{
"no"   :: "No output"
"yes"  :: "Some output"
"debug":: "Tons of output"
} "yes"

BOOLEAN petsc_reuse "Reuse parts of the PETSc structure"
{
} "no"

BOOLEAN petsc_coeff_to_one "Divide each line of the matrix by the central value?"
{
} "no"

STRING petsc_KSP_type "Which Krylov subspace method to use"
{
 "KSPCR"         :: "pcr"
 "KSPCG"         :: "cg"
 "KSPCGS"        :: "cgs"
 "KSPBCGS"       :: "bcgs"
 "KSPLSQR"       :: "lsqr"
 "KSPGMRES"      :: "gmres"
 "KSPTCQMR"      :: "tcqmr"
 "KSPTFQMR"      :: "tfqmr"
 "KSPCHEBYCHEV"  :: "chebychev"
 "KSPRICHARDSON" :: "richardson"
}"KSPBCGS" 

KEYWORD petsc_PC_type "Which preconditioner method to use"
{
 "PCNONE"    :: "none"
 "PCJACOBI"  :: "jacobi"
 "PCBJACOBI" :: "bjacobi"
 "PCICC"     :: "icc"
 "PCILU"     :: "ilu"
 "PCASM"     :: "asm"
 "PCLU"      :: "lu"
} "PCJACOBI"

KEYWORD petsc_nablaform "PETSC nabla form"
{
  "up"      :: ""
  "down"    :: ""
} "down"



#FIXME At the moment we pass toltype explicitly from LinearEllitpic
#CCTK_INT PetscTolStyle "PETSc Tolerance flavors FIXME"
#{
# 0: :: ""
#} 0