# process rank that prints output, -1 means disabled 
fem.verboserank: 0 

# if true solver iterations are printed 
fem.solver.verbose: false 

# preconditioning method: 
# none, ssor, sor, ilu-0, ilu-n, gauss-seidel, jacobi, amg-ilu-n, amg-ilu-0, amg-jacobi
istl.preconditioning.method: none 
istl.preconditioning.iterations: 2
istl.preconditioning.relaxation: 1.2

# preconditioning with diagonal preconditioner 
fem.preconditioning: true 

# 1D 
fem.io.macroGridFile_1d: ../data/unitcube-1d.dgf

# 2D
fem.io.macroGridFile_2d: ../data/unitcube-2d.dgf
#fem.io.macroGridFile_2d: ../data/unstructured-2d.dgf
#fem.io.macroGridFile_2d: ../data/corner.dgf
#fem.io.macroGridFile_2d: ../data/examplegrid2b.dgf
#fem.io.macroGridFile_2d: ../data/corner_triangle.dgf

# 3D
fem.io.macroGridFile_3d: ../data/unitcube-3d.dgf

# data output path 
fem.io.path: ../output
fem.io.datafileprefix: nsm

# vtk-cell, vtk-vertex, sub-vtk-cell, sub-vtk-vertex, gnuplot
fem.io.outputformat: vtk-cell 

# time interval for data output
fem.io.savestep: 0
fem.io.savecount: 1

#algorithm parameters
#nsm.tau:   0.001  %no longer used, now depends on L
#nsm.sigma: 0.001  %with sigma = tau = L * h
nsm.theta: 1
nsm.maxIt: 100000
nsm.tolerance: 1e-5
nsm.outputStep: 100

nsm.constantL: 1

#problem parameters
nsm.lambda_1: 10.
nsm.lambda_2: 20.
nsm.image: ../data/images/Cameraman.tif
nsm.noiseLevel1: -10  %negative value signifies percentage of image amplitude
nsm.noiseType1: 0    % 0=gaussian, 1=uniform, 2=Salt and Pepper, 3=Poisson or 4=Rician
nsm.noiseLevel2: 10  %negative value signifies percentage of image amplitude
nsm.noiseType2: 2    % 0=gaussian, 1=uniform, 2=Salt and Pepper, 3=Poisson or 4=Rician

# level of initial refinements
nsm.initialRefinements: 5
nsm.localRefine:5
nsm.adaptTolerance: 0.1


# adaptation method: none, generic, callback
fem.adaptation.method: generic 
