Newer
Older
#############################################
# Grid parameters
#############################################
structuredGrid = true
lower = -5 -5
upper = 5 5
elements = 10 10
# Number of grid levels
numLevels = 2
#############################################
# Solver parameters
#############################################
# Tolerance of the trust region solver
tolerance = 1e-12
# Max number of steps of the trust region solver
maxTrustRegionSteps = 0
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
# Initial trust-region radius
initialTrustRegionRadius = 1
# Number of multigrid iterations per trust-region step
numIt = 200
# Number of presmoothing steps
nu1 = 3
# Number of postsmoothing steps
nu2 = 3
# Number of coarse grid corrections
mu = 1
# Number of base solver iterations
baseIt = 100
# Tolerance of the multigrid solver
mgTolerance = 1e-10
# Tolerance of the base grid solver
baseTolerance = 1e-8
############################
# Problem specifications
############################
# Type of energy we are minimizing
energy = harmonic
# Inverse stereographic projection
initialIterate = "[2*x[0] / (x[0]*x[0]+x[1]*x[1]+1), 2*x[1] / (x[0]*x[0]+x[1]*x[1]+1), (x[0]*x[0]+x[1]*x[1]-1)/ (x[0]*x[0]+x[1]*x[1]+1)]"
##########################################
# Discretization error measurements
##########################################
# none / analytical / gridfunction
discretizationErrorMode = analytical
# Again, the inverse stereographic projection
referenceSolution = "[2*x[0] / (x[0]*x[0]+x[1]*x[1]+1), 2*x[1] / (x[0]*x[0]+x[1]*x[1]+1), (x[0]*x[0]+x[1]*x[1]-1)/ (x[0]*x[0]+x[1]*x[1]+1)]"