Skip to content
Snippets Groups Projects
Commit bb1597b3 authored by Robert K's avatar Robert K
Browse files

Preserve latest state.

parent 8d928d9c
No related branches found
No related tags found
1 merge request!15Exchange troubled cell
...@@ -56,8 +56,9 @@ namespace Fem ...@@ -56,8 +56,9 @@ namespace Fem
typedef AlgorithmConfigurator< GridSelectorGridType, typedef AlgorithmConfigurator< GridSelectorGridType,
Galerkin::Enum::default_, Galerkin::Enum::default_,
Adaptivity::Enum::default_, Adaptivity::Enum::default_,
DiscreteFunctionSpaces::Enum::gausslobatto, //legendre //DiscreteFunctionSpaces::Enum::gausslobatto, //legendre
//DiscreteFunctionSpaces::Enum::default_, //DiscreteFunctionSpaces::Enum::gausslegendre, //legendre
DiscreteFunctionSpaces::Enum::default_,
Solver::Enum::default_, Solver::Enum::default_,
AdvectionLimiter::Enum::default_, AdvectionLimiter::Enum::default_,
Matrix::Enum::default_, Matrix::Enum::default_,
......
...@@ -7,7 +7,7 @@ set( GRIDDIM 2 ) ...@@ -7,7 +7,7 @@ set( GRIDDIM 2 )
set( POLORDER 2 ) set( POLORDER 2 )
add_definitions( "-DGRIDDIM=${GRIDDIM}" ) add_definitions( "-DGRIDDIM=${GRIDDIM}" )
add_definitions( "-DDIMRANGE=5" ) add_definitions( "-DDIMRANGE=3" )
dune_add_test_case( NAME advdiff dune_add_test_case( NAME advdiff
SOURCES ../main.cc SOURCES ../main.cc
......
...@@ -24,7 +24,7 @@ paramfile: ../../parameter/paramBase ...@@ -24,7 +24,7 @@ paramfile: ../../parameter/paramBase
# problem: heat, quasi, plaplace # problem: heat, quasi, plaplace
problem: pulse problem: pulse
fem.eoc.steps: 3 fem.eoc.steps: 5
femdg.stepper.endtime: 0.15 femdg.stepper.endtime: 0.15
femdg.stepper.diffusiontimestep: 1 femdg.stepper.diffusiontimestep: 1
epsilon: 0.001 epsilon: 0.001
......
...@@ -5,7 +5,7 @@ fem.verboserank: 0 ...@@ -5,7 +5,7 @@ fem.verboserank: 0
# OMP THREADS # OMP THREADS
#------------ #------------
# number of threads used in OMP program # number of threads used in OMP program
fem.parallel.numberofthreads: 4 fem.parallel.numberofthreads: 1
# write diagnostics file ( # write diagnostics file (
# 0 don't, 1 only speedup file, 2 write all runfiles # 0 don't, 1 only speedup file, 2 write all runfiles
# 3 only write 0, others at end, 4 all files at end for scaling) # 3 only write 0, others at end, 4 all files at end for scaling)
...@@ -39,7 +39,7 @@ gridsol.usegridsolution: false ...@@ -39,7 +39,7 @@ gridsol.usegridsolution: false
# STEPPER # STEPPER
#----------------- #-----------------
fem.eoc.steps: 1 fem.eoc.steps: 4
femdg.stepper.printcount: 10 femdg.stepper.printcount: 10
# maximal number of timesteps done (for debugging) # maximal number of timesteps done (for debugging)
# femdg.stepper.maximaltimesteps: 10 # femdg.stepper.maximaltimesteps: 10
......
...@@ -9,7 +9,7 @@ fem.ode.miniterations: 95 ...@@ -9,7 +9,7 @@ fem.ode.miniterations: 95
fem.ode.maxiterations: 105 fem.ode.maxiterations: 105
fem.ode.cflStart: 1. fem.ode.cflStart: 1.
#fem.ode.cflMax: 5 #fem.ode.cflMax: 5
fem.timeprovider.factor: 0.45 fem.timeprovider.factor: 0.15
fem.timeprovider.updatestep: 1 fem.timeprovider.updatestep: 1
# parameter for the implicit solvers # parameter for the implicit solvers
......
# prefix data data files fem.io.verboserank: 0
# prefix data data files
fem.io.datafileprefix: solution fem.io.datafileprefix: solution
# if you want to add time stemp to eoc file name # if you want to add time stemp to eoc file name
# # to avoid overwriting the eoc files # # to avoid overwriting the eoc files
...@@ -19,7 +21,7 @@ zvelocity: 0. # the only advection part for the linear heat eqn ...@@ -19,7 +21,7 @@ zvelocity: 0. # the only advection part for the linear heat eqn
fem.solver.verbose: 1 fem.solver.verbose: 1
fem.solver.newton.verbose: 1 fem.solver.newton.verbose: 1
fem.ode.verbose: full fem.ode.verbose: full
# macro grid file # macro grid file
fem.io.macroGridFile_2d: ../../grids/unitcube2.dgf fem.io.macroGridFile_2d: ../../grids/unitcube2.dgf
#fem.io.macroGridFile_2d:../../grids/square2d.dgf #fem.io.macroGridFile_2d:../../grids/square2d.dgf
...@@ -31,11 +33,11 @@ fem.io.macroGridFile_2d: ../../grids/unitcube2.dgf ...@@ -31,11 +33,11 @@ fem.io.macroGridFile_2d: ../../grids/unitcube2.dgf
nonConformOrigin: false nonConformOrigin: false
# choises are: CDG2, CDG, IP, NIPG, BO, BR2 # choises are: CDG2, CDG, IP, NIPG, BO, BR2
dgdiffusionflux.method: CDG2 dgdiffusionflux.method: CDG2
dgdiffusionflux.theoryparameters: 1 dgdiffusionflux.theoryparameters: 1
dgdiffusionflux.lifting: id_id dgdiffusionflux.lifting: id_id
#dgdiffusionflux.upwind: -1 -0.001 #dgdiffusionflux.upwind: -1 -0.001
#dgdiffusionflux.upwind: 0 0 #dgdiffusionflux.upwind: 0 0
dgdiffusionflux.penalty: 0 # for CDG, CDG2, LDG dgdiffusionflux.penalty: 0 # for CDG, CDG2, LDG
dgdiffusionflux.liftfactor: 0 dgdiffusionflux.liftfactor: 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment