#include <deal.II/base/quadrature_lib.h>
#include <deal.II/base/function.h>
-#include <deal.II/lac/sparse_matrix.h>
#include <deal.II/lac/vector.h>
#include <deal.II/lac/full_matrix.h>
#include <deal.II/lac/dynamic_sparsity_pattern.h>
#include <deal.II/lac/solver_gmres.h>
#include <deal.II/lac/precondition.h>
#include <deal.II/lac/affine_constraints.h>
-#include <deal.II/lac/sparse_direct.h>
#include <deal.II/grid/tria.h>
#include <deal.II/grid/grid_generator.h>
#include <deal.II/numerics/vector_tools.h>
#include <deal.II/numerics/data_out.h>
#include <deal.II/numerics/data_out_faces.h>
-#include <deal.II/grid/grid_generator.h>
#include <fstream>
#include <iostream>
# include <deal.II/base/thread_management.h>
# ifdef DEAL_II_WITH_THREADS
-# include <deal.II/base/thread_management.h>
-
# include <tbb/pipeline.h>
# endif
# include <adolc/internal/adubfunc.h> // Taped double math functions
# include <complex>
-# include <type_traits>
DEAL_II_NAMESPACE_OPEN
# include <deal.II/differentiation/ad/ad_number_types.h>
# include <complex>
-# include <type_traits>
DEAL_II_NAMESPACE_OPEN
#include <deal.II/base/config.h>
#include <deal.II/lac/block_sparse_matrix.h>
+#include <deal.II/lac/block_sparsity_pattern.h>
#include <deal.II/lac/block_vector.h>
#include <deal.II/lac/precondition.h>
#include <deal.II/lac/sparse_matrix.h>
#ifdef DEAL_II_WITH_PETSC
-# include <deal.II/lac/block_sparsity_pattern.h>
# include <deal.II/lac/petsc_block_sparse_matrix.h>
# include <deal.II/lac/petsc_precondition.h>
# include <deal.II/lac/petsc_solver.h>
#ifdef DEAL_II_WITH_TRILINOS
-# include <deal.II/lac/block_sparsity_pattern.h>
# include <deal.II/lac/trilinos_block_sparse_matrix.h>
# include <deal.II/lac/trilinos_precondition.h>
# include <deal.II/lac/trilinos_solver.h>
#endif
-#include <deal.II/base/config.h>
-
#include <algorithm>
#include <cmath>
#include <set>
# include <deal.II/base/conditional_ostream.h>
# include <deal.II/base/exceptions.h>
# include <deal.II/base/logstream.h>
-# include <deal.II/base/mpi.h>
# include <deal.II/base/parameter_handler.h>
# ifdef DEAL_II_WITH_PETSC
# include <deal.II/lac/petsc_block_vector.h>
# include <deal.II/base/conditional_ostream.h>
# include <deal.II/base/exceptions.h>
# include <deal.II/base/logstream.h>
-# include <deal.II/base/mpi.h>
# include <deal.II/base/parameter_handler.h>
# ifdef DEAL_II_WITH_PETSC
# include <deal.II/lac/petsc_block_vector.h>
# ifdef DEAL_II_WITH_MPI
# include <deal.II/lac/trilinos_parallel_block_vector.h>
# include <deal.II/lac/trilinos_vector.h>
-# include <deal.II/lac/vector_memory.h>
# include <Epetra_MpiComm.h>
# endif
#ifdef DEAL_II_WITH_TRILINOS
# include <deal.II/lac/sparse_matrix.h>
-# include <deal.II/lac/trilinos_index_access.h>
# include <deal.II/lac/trilinos_sparse_matrix.h>
# include <deal.II/lac/vector.h>
# include <deal.II/lac/sparse_matrix.h>
# include <deal.II/lac/sparsity_pattern.h>
# include <deal.II/lac/sparsity_tools.h>
-# include <deal.II/lac/trilinos_index_access.h>
# include <deal.II/lac/trilinos_precondition.h>
# include <deal.II/lac/trilinos_sparsity_pattern.h>
# include <deal.II/lac/dynamic_sparsity_pattern.h>
# include <deal.II/lac/sparsity_pattern.h>
-# include <deal.II/lac/trilinos_index_access.h>
# include <Epetra_Export.h>
# include <deal.II/lac/petsc_block_vector.h>
# include <deal.II/lac/petsc_vector.h>
# endif
-# include <deal.II/base/utilities.h>
# include <deal.II/sundials/copy.h>
# include <deal.II/lac/petsc_block_vector.h>
# include <deal.II/lac/petsc_vector.h>
# endif
-# include <deal.II/base/utilities.h>
# include <deal.II/sundials/copy.h>
# include <deal.II/lac/petsc_block_vector.h>
# include <deal.II/lac/petsc_vector.h>
# endif
-# include <deal.II/base/utilities.h>
# include <deal.II/sundials/copy.h>
// a un-hp-ified version of hp/step-7
-
-#include "../tests.h"
-std::ofstream logfile("output");
-
-
#include <deal.II/base/convergence_table.h>
#include <deal.II/base/function.h>
#include <deal.II/base/quadrature_lib.h>
#include "../tests.h"
-
template <int dim>
class SolutionBase
{
int
main()
{
+ std::ofstream logfile("output");
deallog << std::setprecision(2);
logfile << std::setprecision(2);
// a un-hp-ified version of hp/step-11
-
-#include "../tests.h"
-std::ofstream logfile("output");
-
#include <deal.II/base/function.h>
#include <deal.II/base/quadrature_lib.h>
#include <deal.II/base/table_handler.h>
int
main()
{
+ std::ofstream logfile("output");
try
{
deallog << std::setprecision(2);
// a un-hp-ified version of hp/step-13
-
-#include "../tests.h"
-std::ofstream logfile("output");
-
-
#include <deal.II/base/function.h>
#include <deal.II/base/quadrature_lib.h>
#include <deal.II/base/table_handler.h>
int
main()
{
+ std::ofstream logfile("output");
try
{
deallog << std::setprecision(2);
// a un-hp-ified version of hp/step-14
-
-#include "../tests.h"
-std::ofstream logfile("output");
-
-
#include <deal.II/base/function.h>
#include <deal.II/base/quadrature_lib.h>
#include <deal.II/base/thread_management.h>
int
main()
{
+ std::ofstream logfile("output");
try
{
deallog << std::setprecision(2);
// a un-hp-ified version of hp/step-16
-
-#include "../tests.h"
-std::ofstream logfile("output");
-
#include <deal.II/base/function.h>
#include <deal.II/base/quadrature_lib.h>
int
main()
{
+ std::ofstream logfile("output");
deallog << std::setprecision(2);
logfile << std::setprecision(2);
// a un-hp-ified version of hp/step-4
-
-#include "../tests.h"
-std::ofstream logfile("output");
-
-
#include <deal.II/base/function.h>
#include <deal.II/base/quadrature_lib.h>
int
main()
{
+ std::ofstream logfile("output");
deallog << std::setprecision(2);
logfile << std::setprecision(2);
// like the step-6-racoptimize test but calling
// GridRefinement::refine_and_coarsen_optimize with argument order=5
-
-#include "../tests.h"
-std::ofstream logfile("output");
-
-
#include <deal.II/base/function.h>
#include <deal.II/base/quadrature_lib.h>
// like the step-6 test but calling
// GridRefinement::refine_and_coarsen_optimize
-
-#include "../tests.h"
-std::ofstream logfile("output");
-
-
#include <deal.II/base/function.h>
#include <deal.II/base/quadrature_lib.h>
// a un-hp-ified version of hp/step-7
-
-#include "../tests.h"
-std::ofstream logfile("output");
-
-
#include <deal.II/base/convergence_table.h>
#include <deal.II/base/function.h>
#include <deal.II/base/quadrature_lib.h>
int
main()
{
+ std::ofstream logfile("output");
deallog << std::setprecision(2);
logfile << std::setprecision(2);
// a un-hp-ified version of hp/step-8
-
-#include "../tests.h"
-std::ofstream logfile("output");
-
-
#include <deal.II/base/function.h>
#include <deal.II/base/quadrature_lib.h>
int
main()
{
+ std::ofstream logfile("output");
deallog << std::setprecision(2);
logfile << std::setprecision(2);
// a un-hp-ified version of hp/step-15
-
-#include "../tests.h"
-std::ofstream logfile("output");
-
#include <deal.II/base/function.h>
#include <deal.II/base/quadrature_lib.h>
int
main()
{
+ std::ofstream logfile("output");
try
{
deallog << std::setprecision(2);
#include <deal.II/fe/fe_abf.h>
#include <deal.II/fe/fe_dgq.h>
#include <deal.II/fe/fe_q.h>
-#include <deal.II/fe/fe_raviart_thomas.h>
#include <deal.II/fe/fe_system.h>
#include <deal.II/fe/fe_values.h>
#include <deal.II/fe/mapping_q.h>