Commit 4bf8f70a authored by Simone Deparis's avatar Simone Deparis
Browse files

removed old examples and testsuite

parent a0f7bafa
set (EXAMPLE_LIST example_cylinder example_impes)
foreach (component ${EXAMPLE_LIST})
add_subdirectory(${component})
endforeach()
add_custom_target (examples
DEPENDS ${EXAMPLE_LIST})
# -*- makefile; indent-tabs-mode: t -*-
#
#
#
# Copyright (C) 2010 Simone Deparis (simone.deparis@epfl.ch)
#
# Distributed under the GPL(GNU Public License):
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
SUFFIXES = .cpp .hpp .idl .c .h .f .F .o .moc
SUBDIRS = benchmark_RossEthierSteinman \
example_cavity \
benchmark_HPCNavierStokes \
example_cylinder \
example_heart \
example_impes \
example_ML \
example_NavierStokesRestart \
example_ns_flux \
example_nsResistanceBC \
example_OseenAssembler \
utility_converterGetPot2Teuchos \
utility_fsiCutter \
utility_meshReorder \
unmaintained_ct \
unmaintained_masstransport \
unmaintained_rk
$(srcdir)/package.m4: $(top_srcdir)/configure.in.in
{ \
echo '# Signature of the current package.'; \
echo 'm4_define([AT_PACKAGE_NAME], [@PACKAGE_NAME@])'; \
echo 'm4_define([AT_PACKAGE_TARNAME], [@PACKAGE_TARNAME@])'; \
echo 'm4_define([AT_PACKAGE_VERSION], [@PACKAGE_VERSION@])'; \
echo 'm4_define([AT_PACKAGE_STRING], [@PACKAGE_STRING@])'; \
echo 'm4_define([AT_PACKAGE_BUGREPORT], [@PACKAGE_BUGREPORT@])'; \
} >$(srcdir)/package.m4
EXTRA_DIST =
#EXAMPLES = $(srcdir)/examples
check-local:
include $(top_srcdir)/Doxyfile.am
MOSTLYCLEANFILES =
DISTCLEANFILES =
# -*- makefile -*-
###################################################################################################
#
# This file is part of the LifeV Applications
# Copyright (C) 2001-2011 EPFL, Politecnico di Milano, INRIA
#
# Author(s): Gwenol Grandperrin <gwenol.grandperrin@epfl.ch>
# Date: 28-10-2010
# License Terms: GNU GPL
#
###################################################################################################
include $(top_srcdir)/testsuite/Makefile.testsuite
SUFFIXES = .cpp .hpp .idl .c .h .f .F .o .moc
check_HEADERS = # List of all the hpp files
check_PROGRAMS = benchmark_HPCNavierStokes
benchmark_HPCNavierStokes_SOURCES = benchmark_HPCNavierStokes.cpp
link:
test -a Ressources || ln -s $(top_srcdir)/examples/benchmark_HPCNavierStokes/Ressources Ressources
test -a data || ln -s $(top_srcdir)/examples/benchmark_HPCNavierStokes/Ressources/data data
test -a 100170_cm_N2H0.008_fluid_coarse.mesh || ln -s $(top_srcdir)/examples/benchmark_HPCNavierStokes/Ressources/100170_cm_N2H0.008_fluid_coarse.mesh 100170_cm_N2H0.008_fluid_coarse.mesh
scripts:
cp $(top_srcdir)/examples/benchmark_HPCNavierStokes/Scripts/* ./
recheck: clean_PROGRAMS check
clean_PROGRAMS:
-rm $(check_PROGRAMS)
clean-results:
-rm *.vct *.scl *.case *.geo *.xmf *.h5
# -*- getpot -*- (GetPot mode activation for emacs)
#-------------------------------------------------
# Data file for EthierSteinman test case
#-------------------------------------------------
[problem]
mesh_dir = ./
mesh_file = 100170_cm_N2H0.008_fluid_coarse.mesh
viscosity = 0.035
density = 1.0
initial_time = 0.0;
end_time = 1e-2;
timestep = 1e-4;
[exporter]
type = hdf5 # hdf5 (if library compiled with hdf5 support) or ensight
multimesh = false
start = 0
save = 1
[fluid]
[./physics]
density = 1.0 # density
viscosity = 0.035 # viscosity
[../time_discretization]
initialtime = 0.0
endtime = 0.010
timestep = 0.001
BDF_order = 1
[../space_discretization]
mesh_dir = ./
mesh_file = 100170_cm_N2H0.008_fluid_coarse.mesh
verbose = 0
linearized = 0
diagonalize = 1 # weight, 0=off
div_beta_u_v = 0 # 1=on, 0=off
vel_order = P2
press_order = P1
[../miscellaneous]
verbose = 1
steady = 0
[../prec]
prectype = Ifpack # Ifpack or ML
displayList = false
[./ML]
analyze_smoother = false
default_parameter_list = DD-ML # for ML precond, SA, DD, DD-ML, maxwell, NSSA, DD-ML-LU, DD-LU
[./smoother]
# smoother type
# Aztec, IFPACK, Jacobi, ML symmetric Gauss-Seidel, symmetric Gauss-Seidel,
# ML Gauss-Seidel, Gauss-Seidel, Chebyshev, MLS, Hiptmair, Amesos-KLU,
# Amesos-Superlu, Amesos-UMFPACK, Amesos-Superludist, Amesos-MUMPS,
# user-defined, SuperLU, IFPACK-Chebyshev, self, do-nothing,
# IC, ICT, ILU, ILUT
type = IFPACK
pre_or_post = pre
sweeps = 3
damping_factor = 1
[../coarse]
#type = Amesos-UMFPACK
type = Amesos-KLU
sweeps = 1
pre_or_post = both
max_size = 200
[../repartition]
enable = 1
partitioner = ParMETIS
max_min_ration = 1.3
min_per_proc = 500
[../energy_minimization]
enable = true
type = 3
[../]
# ifpack
[../ifpack]
overlap = 2
[./fact]
ilut_level-of-fill = 1
drop_tolerance = 1.e-5
relax_value = 0
[../amesos]
solvertype = Amesos_Umfpack # Amesos_KLU or Amesos_Umfpack
[../partitioner]
overlap = 2
[../schwarz]
reordering_type = none #metis, rcm, none
filter_singletons = true
[../]
[../]
[prec]
prectype = Ifpack # Ifpack or ML
displayList = true
# ifpack
[./ifpack]
overlap = 2
[./fact]
ilut_level-of-fill = 1
drop_tolerance = 1.e-5
relax_value = 0
[../amesos]
solvertype = Amesos_Umfpack # Amesos_KLU or Amesos_Umfpack
[../partitioner]
overlap = 2
[../schwarz]
reordering_type = none #metis, rcm, none
filter_singletons = true
[../]
[../]
[solver]
solver = gmres
scaling = none
output = all # none
conv = rhs
max_iter = 500
reuse = true
max_iter_reuse = 80
kspace = 100
tol = 1.e-10 # AztecOO tolerance
# -*- makefile -*-
#
#
#
# Copyright (C) 2004 Christophe Prud'homme (christophe.prudhomme@epfl.ch)
#
# Distributed under the GPL(GNU Public License):
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
SUFFIXES = .cpp .hpp .idl .c .h .f .F .o .moc
include $(top_srcdir)/testsuite/Makefile.testsuite
check_HEADERS = ethiersteinman.hpp
check_PROGRAMS = test_ethiersteinman
test_ethiersteinman_SOURCES = main.cpp ethiersteinman.cpp
EXTRA_DIST = data testsuite.at
link:
test -a data || ln -s $(srcdir)/data
test -a Mesh || ln -s $(top_srcdir)/testsuite/data/mesh/inria/ Mesh
clean-results:
-rm *.vct *.scl *.case *.geo
# -*- getpot -*- (GetPot mode activation for emacs)
#-------------------------------------------------
# Data file for RossEthierSteinman test case
#-------------------------------------------------
[exporter]
type = hdf5 # hdf5 (if library compiled with hdf5 support) or ensight
multimesh = false
start = 0
save = 1
[RossEthierSteinman]
initialization = projection # initialization (L2 projection) or interpolation
export_norms = false
export_exact_solutions = true
test = accuracy
accuracy_tolerance = 0.02
mesh_source = file
[fluid]
[./physics]
density = 1.0 # density
viscosity = .01 # viscosity
[../time_discretization]
initialtime = 0.0
endtime = 1e-4
timestep = 1e-5
BDF_order = 1
[../space_discretization]
mesh_dir = ./Mesh/
mesh_file = cube16x16.mesh
verbose = 0
linearized = 0
diagonalize = 1 # weight, 0=off
div_beta_u_v = 0 # 1=on, 0=off
FE_number = 3
vel_order = 'P1 P1Bubble P2'
press_order = 'P1 P1 P1'
[../miscellaneous]
verbose = 1
steady = 0
[../prec]
prectype = Ifpack # Ifpack or ML
displayList = false
[./ML]
analyze_smoother = false
default_parameter_list = DD-ML # for ML precond, SA, DD, DD-ML, maxwell, NSSA, DD-ML-LU, DD-LU
[./smoother]
# smoother type
# Aztec, IFPACK, Jacobi, ML symmetric Gauss-Seidel, symmetric Gauss-Seidel,
# ML Gauss-Seidel, Gauss-Seidel, Chebyshev, MLS, Hiptmair, Amesos-KLU,
# Amesos-Superlu, Amesos-UMFPACK, Amesos-Superludist, Amesos-MUMPS,
# user-defined, SuperLU, IFPACK-Chebyshev, self, do-nothing,
# IC, ICT, ILU, ILUT
type = IFPACK
pre_or_post = pre
sweeps = 3
damping_factor = 1
[../coarse]
#type = Amesos-UMFPACK
type = Amesos-KLU
sweeps = 1
pre_or_post = both
max_size = 200
[../repartition]
enable = 1
partitioner = ParMETIS
max_min_ration = 1.3
min_per_proc = 500
[../energy_minimization]
enable = true
type = 3
[../]
# ifpack
[../ifpack]
overlap = 2
[./fact]
ilut_level-of-fill = 1
drop_tolerance = 1.e-5
relax_value = 0
[../amesos]
solvertype = Amesos_Umfpack # Amesos_KLU or Amesos_Umfpack
[../partitioner]
overlap = 2
[../schwarz]
reordering_type = none #metis, rcm, none
filter_singletons = true
[../]
[../]
[../solver]
solver = gmres
scaling = none
output = all # none
conv = rhs
max_iter = 200
reuse = true
max_iter_reuse = 80
kspace = 100
tol = 1.e-10 # AztecOO tolerance
[../ipstab]
gammaBeta = 0.7
gammaDiv = 0.7
gammaPress = 0.7
max_iter_reuse = 60
[../problem]
#a = 1.57
#d = 0.78
sigma = 0
#neumannList = 1
#dirichletList = 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
dirichletList = 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
# -*- getpot -*- (GetPot mode activation for emacs)
#-------------------------------------------------
# Data file for RossEthierSteinman test case
#-------------------------------------------------
[exporter]
type = hdf5 # hdf5 (if library compiled with hdf5 support) or ensight
multimesh = false
start = 0
save = 1
[RossEthierSteinman]
initialization = projection # initialization (L2 projection) or interpolation
export_norms = false
export_exact_solutions = true
test = accuracy
accuracy_tolerance = 0.02
mesh_source = file
[fluid]
[./physics]
density = 1.0 # density
viscosity = .01 # viscosity
[../time_discretization]
initialtime = 0.0
endtime = 1e-4
timestep = 1e-5
BDF_order = 1
[../space_discretization]
mesh_dir = ./Mesh/
mesh_file = cube16x16.mesh
verbose = 0
linearized = 0
diagonalize = 1 # weight, 0=off
div_beta_u_v = 0 # 1=on, 0=off
FE_number = 3
vel_order = 'P1 P1Bubble P2'
press_order = 'P1 P1 P1'
[../miscellaneous]
verbose = 1
steady = 0
[../prec]
prectype = Ifpack # Ifpack or ML
displayList = false
[./ML]
analyze_smoother = false
default_parameter_list = DD-ML # for ML precond, SA, DD, DD-ML, maxwell, NSSA, DD-ML-LU, DD-LU
[./smoother]
# smoother type
# Aztec, IFPACK, Jacobi, ML symmetric Gauss-Seidel, symmetric Gauss-Seidel,
# ML Gauss-Seidel, Gauss-Seidel, Chebyshev, MLS, Hiptmair, Amesos-KLU,
# Amesos-Superlu, Amesos-UMFPACK, Amesos-Superludist, Amesos-MUMPS,
# user-defined, SuperLU, IFPACK-Chebyshev, self, do-nothing,
# IC, ICT, ILU, ILUT
type = IFPACK
pre_or_post = pre
sweeps = 3
damping_factor = 1
[../coarse]
#type = Amesos-UMFPACK
type = Amesos-KLU
sweeps = 1
pre_or_post = both
max_size = 200
[../repartition]
enable = 1
partitioner = ParMETIS
max_min_ration = 1.3
min_per_proc = 500
[../energy_minimization]
enable = true
type = 3
[../]
# ifpack
[../ifpack]
overlap = 2
[./fact]
ilut_level-of-fill = 1
drop_tolerance = 1.e-5
relax_value = 0
[../amesos]
solvertype = Amesos_Umfpack # Amesos_KLU or Amesos_Umfpack
[../partitioner]
overlap = 2
[../schwarz]
reordering_type = none #metis, rcm, none
filter_singletons = true
[../]
[../]
[../solver]
solver = gmres
scaling = none
output = all # none
conv = rhs
max_iter = 200
reuse = true
max_iter_reuse = 80
kspace = 100
tol = 1.e-10 # AztecOO tolerance
[../ipstab]
gammaBeta = 0.7
gammaDiv = 0.7
gammaPress = 0.7
max_iter_reuse = 60
[../problem]
#a = 1.57
#d = 0.78
sigma = 0
#neumannList = 1
#dirichletList = 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
dirichletList = 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
# -*- getpot -*- (GetPot mode activation for emacs)
#-------------------------------------------------
# Data file for RossEthierSteinman test case
#-------------------------------------------------
[exporter]
type = hdf5 # hdf5 (if library compiled with hdf5 support) or ensight
multimesh = false
start = 0
save = 1
[RossEthierSteinman]
initialization = projection # initialization (L2 projection) or interpolation
export_norms = false
export_exact_solutions = true
test = space_convergence
space_convergence_tolerance = 0.8 # 1.0 = The convergence must be equal or
# faster of the theoretical prediction
mesh_source = regular_mesh
[fluid]
[./physics]
density = 1.0 # density
viscosity = .01 # viscosity
[../time_discretization]
initialtime = 0.0
endtime = 1e-4
timestep = 1e-5
BDF_order = 1
[../space_discretization]
mesh_number = 3
mesh_size = '4 8 16'
verbose = 0
linearized = 0
diagonalize = 1 # weight, 0=off
div_beta_u_v = 0 # 1=on, 0=off
FE_number = 2
vel_order = 'P1Bubble P2'
press_order = 'P1 P1'
vel_conv_order_order = '2 3'
press_conv_order = '2 2'