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

small change.

parent 52bd1ff4
No related branches found
No related tags found
No related merge requests found
set(SUBDIRS callback dgf loadbalance backuprestore communication testEfficiency)
set(examplesdir ${CMAKE_INSTALL_INCLUDEDIR}/examples)
set(examples_HEADERS adaptation.hh
diagnostics.hh
paralleldgf.hh
problem-ball.hh
set(examples_HEADERS adaptation.hh
diagnostics.hh
paralleldgf.hh
problem-ball.hh
problem-transport.hh
datamap.hh
fvscheme.hh
piecewisefunction.hh
problem-euler.hh
datamap.hh
fvscheme.hh
piecewisefunction.hh
problem-euler.hh
problem.hh)
configure_file(alugrid.cfg ${CMAKE_CURRENT_BINARY_DIR}/alugrid.cfg COPYONLY)
......@@ -24,7 +24,7 @@ foreach( variant ball euler transport )
else()
target_compile_definitions( ${prog} PRIVATE "${variant_upper}" )
endif()
target_compile_definitions( ${prog} PUBLIC "ALUGRID_CUBE" "GRIDDIM=3" "WORLDDIM=3" )
target_compile_definitions( ${prog} PUBLIC "ALUGRID_CONFORM" "GRIDDIM=3" "WORLDDIM=3" )
foreach( type cube simplex conform )
string( TOUPPER ${type} type_upper )
......
......@@ -35,6 +35,8 @@ struct BallData
dgfFileName << path << "/dgf/cube_hc_4096.dgf";
else if ( problem_ == 3 )
dgfFileName << path << "/dgf/cube_hc_32768.dgf";
else if ( problem_ == 4 )
dgfFileName << path << "/dgf/input" << dimDomain << ".dgf";
else
dgfFileName << path << "/dgf/unitcube" << dimDomain << "d.dgf";
return dgfFileName.str();
......
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