]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Move everything into a namespace.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 23 Oct 2006 02:46:34 +0000 (02:46 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 23 Oct 2006 02:46:34 +0000 (02:46 +0000)
git-svn-id: https://svn.dealii.org/trunk@14038 0785d39b-7218-0410-832d-ea1e28bc413d

420 files changed:
deal.II/base/include/base/auto_derivative_function.h
deal.II/base/include/base/conditional_ostream.h
deal.II/base/include/base/config.h.in
deal.II/base/include/base/convergence_table.h
deal.II/base/include/base/data_out_base.h
deal.II/base/include/base/exceptions.h
deal.II/base/include/base/function.h
deal.II/base/include/base/function_derivative.h
deal.II/base/include/base/function_lib.h
deal.II/base/include/base/function_parser.h
deal.II/base/include/base/function_time.h
deal.II/base/include/base/geometry_info.h
deal.II/base/include/base/job_identifier.h
deal.II/base/include/base/logstream.h
deal.II/base/include/base/memory_consumption.h
deal.II/base/include/base/multithread_info.h
deal.II/base/include/base/numbers.h
deal.II/base/include/base/parameter_handler.h
deal.II/base/include/base/path_search.h
deal.II/base/include/base/point.h
deal.II/base/include/base/polynomial.h
deal.II/base/include/base/polynomial_space.h
deal.II/base/include/base/polynomials_abf.h
deal.II/base/include/base/polynomials_bdm.h
deal.II/base/include/base/polynomials_p.h
deal.II/base/include/base/polynomials_raviart_thomas.h
deal.II/base/include/base/qprojector.h
deal.II/base/include/base/quadrature.h
deal.II/base/include/base/quadrature_lib.h
deal.II/base/include/base/quadrature_selector.h
deal.II/base/include/base/smartpointer.h
deal.II/base/include/base/subscriptor.h
deal.II/base/include/base/symmetric_tensor.h
deal.II/base/include/base/table.h
deal.II/base/include/base/table_handler.h
deal.II/base/include/base/table_indices.h
deal.II/base/include/base/template_constraints.h
deal.II/base/include/base/tensor.h
deal.II/base/include/base/tensor_base.h
deal.II/base/include/base/tensor_function.h
deal.II/base/include/base/tensor_product_polynomials.h
deal.II/base/include/base/thread_management.h
deal.II/base/include/base/timer.h
deal.II/base/include/base/utilities.h
deal.II/base/include/base/vector_slice.h
deal.II/base/source/auto_derivative_function.cc
deal.II/base/source/conditional_ostream.cc
deal.II/base/source/config.cc
deal.II/base/source/convergence_table.cc
deal.II/base/source/data_out_base.cc
deal.II/base/source/exceptions.cc
deal.II/base/source/function.cc
deal.II/base/source/function_derivative.cc
deal.II/base/source/function_lib.cc
deal.II/base/source/function_lib_cutoff.cc
deal.II/base/source/function_parser.cc
deal.II/base/source/function_time.cc
deal.II/base/source/geometry_info.cc
deal.II/base/source/job_identifier.cc
deal.II/base/source/log.cc
deal.II/base/source/memory_consumption.cc
deal.II/base/source/multithread_info.cc
deal.II/base/source/parameter_handler.cc
deal.II/base/source/path_search.cc
deal.II/base/source/polynomial.cc
deal.II/base/source/polynomial_space.cc
deal.II/base/source/polynomials_abf.cc
deal.II/base/source/polynomials_bdm.cc
deal.II/base/source/polynomials_p.cc
deal.II/base/source/polynomials_raviart_thomas.cc
deal.II/base/source/quadrature.cc
deal.II/base/source/quadrature_lib.cc
deal.II/base/source/quadrature_selector.cc
deal.II/base/source/subscriptor.cc
deal.II/base/source/symmetric_tensor.cc
deal.II/base/source/table_handler.cc
deal.II/base/source/tensor.cc
deal.II/base/source/tensor_function.cc
deal.II/base/source/tensor_product_polynomials.cc
deal.II/base/source/thread_management.cc
deal.II/base/source/timer.cc
deal.II/base/source/utilities.cc
deal.II/configure
deal.II/configure.in
deal.II/deal.II/include/dofs/dof_accessor.h
deal.II/deal.II/include/dofs/dof_accessor.templates.h
deal.II/deal.II/include/dofs/dof_constraints.h
deal.II/deal.II/include/dofs/dof_constraints.templates.h
deal.II/deal.II/include/dofs/dof_faces.h
deal.II/deal.II/include/dofs/dof_handler.h
deal.II/deal.II/include/dofs/dof_iterator_selector.h
deal.II/deal.II/include/dofs/dof_levels.h
deal.II/deal.II/include/dofs/dof_objects.h
deal.II/deal.II/include/dofs/dof_renumbering.h
deal.II/deal.II/include/dofs/dof_tools.h
deal.II/deal.II/include/dofs/function_map.h
deal.II/deal.II/include/dofs/hp_dof_faces.h
deal.II/deal.II/include/dofs/hp_dof_handler.h
deal.II/deal.II/include/dofs/hp_dof_levels.h
deal.II/deal.II/include/dofs/hp_dof_objects.h
deal.II/deal.II/include/fe/fe.h
deal.II/deal.II/include/fe/fe_abf.h
deal.II/deal.II/include/fe/fe_base.h
deal.II/deal.II/include/fe/fe_collection.h
deal.II/deal.II/include/fe/fe_dgp.h
deal.II/deal.II/include/fe/fe_dgp_monomial.h
deal.II/deal.II/include/fe/fe_dgp_nonparametric.h
deal.II/deal.II/include/fe/fe_dgq.h
deal.II/deal.II/include/fe/fe_nedelec.h
deal.II/deal.II/include/fe/fe_poly.h
deal.II/deal.II/include/fe/fe_poly.templates.h
deal.II/deal.II/include/fe/fe_poly_tensor.h
deal.II/deal.II/include/fe/fe_q.h
deal.II/deal.II/include/fe/fe_q_hierarchical.h
deal.II/deal.II/include/fe/fe_raviart_thomas.h
deal.II/deal.II/include/fe/fe_system.h
deal.II/deal.II/include/fe/fe_tools.h
deal.II/deal.II/include/fe/fe_update_flags.h
deal.II/deal.II/include/fe/fe_values.h
deal.II/deal.II/include/fe/hp_fe_values.h
deal.II/deal.II/include/fe/mapping.h
deal.II/deal.II/include/fe/mapping_c1.h
deal.II/deal.II/include/fe/mapping_cartesian.h
deal.II/deal.II/include/fe/mapping_collection.h
deal.II/deal.II/include/fe/mapping_q.h
deal.II/deal.II/include/fe/mapping_q1.h
deal.II/deal.II/include/fe/mapping_q1_eulerian.h
deal.II/deal.II/include/fe/q_collection.h
deal.II/deal.II/include/grid/filtered_iterator.h
deal.II/deal.II/include/grid/grid_generator.h
deal.II/deal.II/include/grid/grid_in.h
deal.II/deal.II/include/grid/grid_out.h
deal.II/deal.II/include/grid/grid_refinement.h
deal.II/deal.II/include/grid/grid_reordering.h
deal.II/deal.II/include/grid/grid_reordering_internal.h
deal.II/deal.II/include/grid/grid_tools.h
deal.II/deal.II/include/grid/intergrid_map.h
deal.II/deal.II/include/grid/magic_numbers.h
deal.II/deal.II/include/grid/persistent_tria.h
deal.II/deal.II/include/grid/tria.h
deal.II/deal.II/include/grid/tria_accessor.h
deal.II/deal.II/include/grid/tria_accessor.templates.h
deal.II/deal.II/include/grid/tria_boundary.h
deal.II/deal.II/include/grid/tria_boundary_lib.h
deal.II/deal.II/include/grid/tria_faces.h
deal.II/deal.II/include/grid/tria_hex.h
deal.II/deal.II/include/grid/tria_iterator.h
deal.II/deal.II/include/grid/tria_iterator.templates.h
deal.II/deal.II/include/grid/tria_iterator_base.h
deal.II/deal.II/include/grid/tria_iterator_selector.h
deal.II/deal.II/include/grid/tria_levels.h
deal.II/deal.II/include/grid/tria_line.h
deal.II/deal.II/include/grid/tria_objects.h
deal.II/deal.II/include/grid/tria_quad.h
deal.II/deal.II/include/multigrid/mg_base.h
deal.II/deal.II/include/multigrid/mg_block_smoother.h
deal.II/deal.II/include/multigrid/mg_coarse.h
deal.II/deal.II/include/multigrid/mg_dof_accessor.h
deal.II/deal.II/include/multigrid/mg_dof_handler.h
deal.II/deal.II/include/multigrid/mg_dof_iterator_selector.h
deal.II/deal.II/include/multigrid/mg_level_object.h
deal.II/deal.II/include/multigrid/mg_matrix.h
deal.II/deal.II/include/multigrid/mg_smoother.h
deal.II/deal.II/include/multigrid/mg_tools.h
deal.II/deal.II/include/multigrid/mg_transfer.h
deal.II/deal.II/include/multigrid/mg_transfer.templates.h
deal.II/deal.II/include/multigrid/multigrid.h
deal.II/deal.II/include/multigrid/multigrid.templates.h
deal.II/deal.II/include/numerics/data_out.h
deal.II/deal.II/include/numerics/data_out_faces.h
deal.II/deal.II/include/numerics/data_out_rotation.h
deal.II/deal.II/include/numerics/data_out_stack.h
deal.II/deal.II/include/numerics/derivative_approximation.h
deal.II/deal.II/include/numerics/dof_print_solver_step.h
deal.II/deal.II/include/numerics/error_estimator.h
deal.II/deal.II/include/numerics/histogram.h
deal.II/deal.II/include/numerics/matrices.h
deal.II/deal.II/include/numerics/solution_transfer.h
deal.II/deal.II/include/numerics/time_dependent.h
deal.II/deal.II/include/numerics/vectors.h
deal.II/deal.II/include/numerics/vectors.templates.h
deal.II/deal.II/source/dofs/dof_accessor.cc
deal.II/deal.II/source/dofs/dof_constraints.cc
deal.II/deal.II/source/dofs/dof_faces.cc
deal.II/deal.II/source/dofs/dof_handler.cc
deal.II/deal.II/source/dofs/dof_levels.all_dimensions.cc
deal.II/deal.II/source/dofs/dof_levels.cc
deal.II/deal.II/source/dofs/dof_objects.cc
deal.II/deal.II/source/dofs/dof_renumbering.cc
deal.II/deal.II/source/dofs/dof_tools.cc
deal.II/deal.II/source/dofs/hp_dof_faces.cc
deal.II/deal.II/source/dofs/hp_dof_handler.cc
deal.II/deal.II/source/dofs/hp_dof_levels.all_dimensions.cc
deal.II/deal.II/source/dofs/hp_dof_levels.cc
deal.II/deal.II/source/dofs/hp_dof_objects.cc
deal.II/deal.II/source/fe/fe.cc
deal.II/deal.II/source/fe/fe_abf.cc
deal.II/deal.II/source/fe/fe_collection.cc
deal.II/deal.II/source/fe/fe_data.cc
deal.II/deal.II/source/fe/fe_dgp.cc
deal.II/deal.II/source/fe/fe_dgp_monomial.cc
deal.II/deal.II/source/fe/fe_dgp_nonparametric.cc
deal.II/deal.II/source/fe/fe_dgq.cc
deal.II/deal.II/source/fe/fe_nedelec.cc
deal.II/deal.II/source/fe/fe_nedelec_1d.cc
deal.II/deal.II/source/fe/fe_nedelec_2d.cc
deal.II/deal.II/source/fe/fe_nedelec_3d.cc
deal.II/deal.II/source/fe/fe_poly.cc
deal.II/deal.II/source/fe/fe_poly_tensor.cc
deal.II/deal.II/source/fe/fe_q.cc
deal.II/deal.II/source/fe/fe_q_hierarchical.cc
deal.II/deal.II/source/fe/fe_raviart_thomas.cc
deal.II/deal.II/source/fe/fe_raviart_thomas_nodal.cc
deal.II/deal.II/source/fe/fe_system.cc
deal.II/deal.II/source/fe/fe_tools.all_dimensions.cc
deal.II/deal.II/source/fe/fe_tools.cc
deal.II/deal.II/source/fe/fe_values.cc
deal.II/deal.II/source/fe/fe_values.instance.h
deal.II/deal.II/source/fe/hp_fe_values.cc
deal.II/deal.II/source/fe/mapping.cc
deal.II/deal.II/source/fe/mapping_c1.cc
deal.II/deal.II/source/fe/mapping_cartesian.cc
deal.II/deal.II/source/fe/mapping_collection.cc
deal.II/deal.II/source/fe/mapping_q.cc
deal.II/deal.II/source/fe/mapping_q1.cc
deal.II/deal.II/source/fe/mapping_q1_eulerian.cc
deal.II/deal.II/source/fe/q_collection.cc
deal.II/deal.II/source/grid/grid_generator.cc
deal.II/deal.II/source/grid/grid_in.cc
deal.II/deal.II/source/grid/grid_out.all_dimensions.cc
deal.II/deal.II/source/grid/grid_out.cc
deal.II/deal.II/source/grid/grid_refinement.cc
deal.II/deal.II/source/grid/grid_reordering.cc
deal.II/deal.II/source/grid/grid_tools.cc
deal.II/deal.II/source/grid/intergrid_map.cc
deal.II/deal.II/source/grid/persistent_tria.cc
deal.II/deal.II/source/grid/tria.all_dimensions.cc
deal.II/deal.II/source/grid/tria.cc
deal.II/deal.II/source/grid/tria_accessor.cc
deal.II/deal.II/source/grid/tria_boundary.cc
deal.II/deal.II/source/grid/tria_boundary_lib.cc
deal.II/deal.II/source/grid/tria_faces.cc
deal.II/deal.II/source/grid/tria_levels.all_dimensions.cc
deal.II/deal.II/source/grid/tria_levels.cc
deal.II/deal.II/source/grid/tria_objects.cc
deal.II/deal.II/source/multigrid/mg_base.cc
deal.II/deal.II/source/multigrid/mg_dof_accessor.cc
deal.II/deal.II/source/multigrid/mg_dof_handler.cc
deal.II/deal.II/source/multigrid/mg_dof_tools.cc
deal.II/deal.II/source/multigrid/mg_smoother.cc
deal.II/deal.II/source/multigrid/mg_tools.all_dimensions.cc
deal.II/deal.II/source/multigrid/mg_tools.pattern.in.h
deal.II/deal.II/source/multigrid/mg_transfer_block.cc
deal.II/deal.II/source/multigrid/mg_transfer_prebuilt.cc
deal.II/deal.II/source/multigrid/multigrid.all_dimensions.cc
deal.II/deal.II/source/numerics/data_out.cc
deal.II/deal.II/source/numerics/data_out_faces.cc
deal.II/deal.II/source/numerics/data_out_rotation.cc
deal.II/deal.II/source/numerics/data_out_stack.cc
deal.II/deal.II/source/numerics/derivative_approximation.cc
deal.II/deal.II/source/numerics/error_estimator.cc
deal.II/deal.II/source/numerics/histogram.cc
deal.II/deal.II/source/numerics/matrices.all_dimensions.cc
deal.II/deal.II/source/numerics/matrices.cc
deal.II/deal.II/source/numerics/solution_transfer.cc
deal.II/deal.II/source/numerics/time_dependent.cc
deal.II/deal.II/source/numerics/vectors.all_dimensions.cc
deal.II/deal.II/source/numerics/vectors.cc
deal.II/deal.II/source/numerics/vectors.instance.h
deal.II/examples/doxygen/block_matrix_array.cc
deal.II/examples/doxygen/compressed_block_sparsity_pattern.cc
deal.II/examples/doxygen/product_matrix.cc
deal.II/examples/step-1/step-1.cc
deal.II/examples/step-10/step-10.cc
deal.II/examples/step-11/step-11.cc
deal.II/examples/step-12/step-12.cc
deal.II/examples/step-13/step-13.cc
deal.II/examples/step-14/step-14.cc
deal.II/examples/step-15/step-15.cc
deal.II/examples/step-16/step-16.cc
deal.II/examples/step-17/step-17.cc
deal.II/examples/step-18/step-18.cc
deal.II/examples/step-19/step-19.cc
deal.II/examples/step-2/step-2.cc
deal.II/examples/step-20/step-20.cc
deal.II/examples/step-21/step-21.cc
deal.II/examples/step-23/step-23.cc
deal.II/examples/step-24/step-24.cc
deal.II/examples/step-25/step-25.cc
deal.II/examples/step-26/step-26.cc
deal.II/examples/step-3/step-3.cc
deal.II/examples/step-4/step-4.cc
deal.II/examples/step-5/step-5.cc
deal.II/examples/step-6/step-6.cc
deal.II/examples/step-7/step-7.cc
deal.II/examples/step-8/step-8.cc
deal.II/examples/step-9/step-9.cc
deal.II/lac/include/lac/block_indices.h
deal.II/lac/include/lac/block_matrix.h
deal.II/lac/include/lac/block_matrix_array.h
deal.II/lac/include/lac/block_matrix_base.h
deal.II/lac/include/lac/block_sparse_matrix.h
deal.II/lac/include/lac/block_sparse_matrix.templates.h
deal.II/lac/include/lac/block_sparse_matrix_ez.h
deal.II/lac/include/lac/block_sparse_matrix_ez.templates.h
deal.II/lac/include/lac/block_sparsity_pattern.h
deal.II/lac/include/lac/block_vector.h
deal.II/lac/include/lac/block_vector.templates.h
deal.II/lac/include/lac/block_vector_base.h
deal.II/lac/include/lac/compressed_sparsity_pattern.h
deal.II/lac/include/lac/eigen.h
deal.II/lac/include/lac/exceptions.h
deal.II/lac/include/lac/filtered_matrix.h
deal.II/lac/include/lac/filtered_matrix.templates.h
deal.II/lac/include/lac/full_matrix.h
deal.II/lac/include/lac/full_matrix.templates.h
deal.II/lac/include/lac/householder.h
deal.II/lac/include/lac/identity_matrix.h
deal.II/lac/include/lac/lapack_full_matrix.h
deal.II/lac/include/lac/lapack_support.h
deal.II/lac/include/lac/lapack_templates.h
deal.II/lac/include/lac/matrix_iterator.h
deal.II/lac/include/lac/matrix_lib.h
deal.II/lac/include/lac/matrix_lib.templates.h
deal.II/lac/include/lac/matrix_out.h
deal.II/lac/include/lac/petsc_block_sparse_matrix.h
deal.II/lac/include/lac/petsc_block_vector.h
deal.II/lac/include/lac/petsc_full_matrix.h
deal.II/lac/include/lac/petsc_matrix_base.h
deal.II/lac/include/lac/petsc_parallel_block_sparse_matrix.h
deal.II/lac/include/lac/petsc_parallel_block_vector.h
deal.II/lac/include/lac/petsc_parallel_sparse_matrix.h
deal.II/lac/include/lac/petsc_parallel_vector.h
deal.II/lac/include/lac/petsc_precondition.h
deal.II/lac/include/lac/petsc_solver.h
deal.II/lac/include/lac/petsc_sparse_matrix.h
deal.II/lac/include/lac/petsc_vector.h
deal.II/lac/include/lac/petsc_vector_base.h
deal.II/lac/include/lac/pointer_matrix.h
deal.II/lac/include/lac/precondition.h
deal.II/lac/include/lac/precondition_block.h
deal.II/lac/include/lac/precondition_block.templates.h
deal.II/lac/include/lac/precondition_selector.h
deal.II/lac/include/lac/schur_matrix.h
deal.II/lac/include/lac/shifted_matrix.h
deal.II/lac/include/lac/solver.h
deal.II/lac/include/lac/solver_bicgstab.h
deal.II/lac/include/lac/solver_cg.h
deal.II/lac/include/lac/solver_control.h
deal.II/lac/include/lac/solver_gmres.h
deal.II/lac/include/lac/solver_minres.h
deal.II/lac/include/lac/solver_qmrs.h
deal.II/lac/include/lac/solver_richardson.h
deal.II/lac/include/lac/solver_selector.h
deal.II/lac/include/lac/sparse_decomposition.h
deal.II/lac/include/lac/sparse_decomposition.templates.h
deal.II/lac/include/lac/sparse_direct.h
deal.II/lac/include/lac/sparse_ilu.h
deal.II/lac/include/lac/sparse_ilu.templates.h
deal.II/lac/include/lac/sparse_matrix.h
deal.II/lac/include/lac/sparse_matrix.templates.h
deal.II/lac/include/lac/sparse_matrix_ez.h
deal.II/lac/include/lac/sparse_matrix_ez.templates.h
deal.II/lac/include/lac/sparse_mic.h
deal.II/lac/include/lac/sparse_mic.templates.h
deal.II/lac/include/lac/sparse_vanka.h
deal.II/lac/include/lac/sparse_vanka.templates.h
deal.II/lac/include/lac/sparsity_pattern.h
deal.II/lac/include/lac/swappable_vector.h
deal.II/lac/include/lac/swappable_vector.templates.h
deal.II/lac/include/lac/transpose_matrix.h
deal.II/lac/include/lac/tridiagonal_matrix.h
deal.II/lac/include/lac/vector.h
deal.II/lac/include/lac/vector.templates.h
deal.II/lac/include/lac/vector_memory.h
deal.II/lac/source/block_matrix_array.cc
deal.II/lac/source/block_sparse_matrix.cc
deal.II/lac/source/block_sparse_matrix_ez.cc
deal.II/lac/source/block_sparsity_pattern.cc
deal.II/lac/source/block_vector.cc
deal.II/lac/source/compressed_sparsity_pattern.cc
deal.II/lac/source/filtered_matrix.cc
deal.II/lac/source/full_matrix.double.cc
deal.II/lac/source/full_matrix.float.cc
deal.II/lac/source/lapack_full_matrix.cc
deal.II/lac/source/matrix_lib.cc
deal.II/lac/source/matrix_out.cc
deal.II/lac/source/petsc_block_sparse_matrix.cc
deal.II/lac/source/petsc_full_matrix.cc
deal.II/lac/source/petsc_matrix_base.cc
deal.II/lac/source/petsc_parallel_block_sparse_matrix.cc
deal.II/lac/source/petsc_parallel_block_vector.cc
deal.II/lac/source/petsc_parallel_sparse_matrix.cc
deal.II/lac/source/petsc_parallel_vector.cc
deal.II/lac/source/petsc_precondition.cc
deal.II/lac/source/petsc_solver.cc
deal.II/lac/source/petsc_sparse_matrix.cc
deal.II/lac/source/petsc_vector.cc
deal.II/lac/source/petsc_vector_base.cc
deal.II/lac/source/precondition_block.cc
deal.II/lac/source/precondition_block_ez.cc
deal.II/lac/source/solver.cc
deal.II/lac/source/solver_control.cc
deal.II/lac/source/sparse_decomposition.cc
deal.II/lac/source/sparse_direct.cc
deal.II/lac/source/sparse_ilu.cc
deal.II/lac/source/sparse_matrix.double.cc
deal.II/lac/source/sparse_matrix.float.cc
deal.II/lac/source/sparse_matrix_ez.double.cc
deal.II/lac/source/sparse_matrix_ez.float.cc
deal.II/lac/source/sparse_matrix_ez_vector.in.h
deal.II/lac/source/sparse_matrix_matrix.in.h
deal.II/lac/source/sparse_matrix_vector.in.h
deal.II/lac/source/sparse_mic.cc
deal.II/lac/source/sparse_vanka.cc
deal.II/lac/source/sparsity_pattern.cc
deal.II/lac/source/swappable_vector.cc
deal.II/lac/source/tridiagonal_matrix.cc
deal.II/lac/source/vector.cc
deal.II/lac/source/vector.long_double.cc

index f138c124aae53276f9f93f70619f32fcd0f41556..66c8d93edfedd3687930d5b2be4594957452a057 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2001, 2002, 2003, 2004, 2005 by the deal.II authors
+//    Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -17,6 +17,7 @@
 #include <base/exceptions.h>
 #include <base/function.h>
 
+DEAL_II_NAMESPACE_OPEN
 
 /**
  * This class automatically computes the gradient of a function by
@@ -254,5 +255,6 @@ class AutoDerivativeFunction : public Function<dim>
 };
 
 
+DEAL_II_NAMESPACE_CLOSE
 
 #endif
index f149a21cb8e9308a1cfd10154e37465a35200ac2..398e79c3acf7610c24db1fd156fcad972979904b 100644 (file)
@@ -13,7 +13,7 @@
 #ifndef __deal2__conditional_ostream_h
 #define __deal2__conditional_ostream_h
 
-
+#include <base/config.h>
 
 #ifdef HAVE_STD_OSTREAM_HEADER
 #  include <ostream>
@@ -21,6 +21,8 @@
 #  include <iostream>
 #endif
 
+DEAL_II_NAMESPACE_OPEN
+
 
 /**
  * A class that allows printing to an output stream, e.g. @p std::cout,
@@ -185,4 +187,6 @@ ConditionalOStream::operator<< (std::ostream& (*p) (std::ostream&)) const
 }
 
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index 0f7d6ba18d23191bc095976b87817c58f37a2233..0486308b919851cb9bbeff3c319b528ae99210be 100644 (file)
 // environment, contact the authors of the library.
 
 
+/**
+ * Two macro names that we put at the top and bottom of all deal.II files
+ * and that will be expanded to "namespace dealii {" and "}".
+ */
+#define DEAL_II_NAMESPACE_OPEN namespace dealii {
+#define DEAL_II_NAMESPACE_CLOSE }
+
+
 
 /* Defined if the prototype of abort() has a no-throw exception specification.
    */
index 596e89e157cc6f1884f34d9ea9e68dcb6dae1dca..35202a88e657f0f6db58d30adf89e094d5d533df 100644 (file)
@@ -17,6 +17,8 @@
 #include <base/config.h>
 #include <base/table_handler.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 
 /**
  * The ConvergenceTable class is an application to the TableHandler
@@ -221,4 +223,6 @@ class ConvergenceTable: public TableHandler
 };
 
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index 385eb01f6ebfbb4bea85cc96a79fd31a427ec79a..ad9d9c75d1be540e5d07d43e34346fd9437b1f07 100644 (file)
@@ -37,6 +37,8 @@
 #  include <iostream>
 #endif
 
+DEAL_II_NAMESPACE_OPEN
+
 
 class ParameterHandler;
 
@@ -2899,7 +2901,7 @@ class DataOutReader : public DataOutInterface<dim,spacedim>
                                      * the last time a stream was
                                      * given to the read() function.
                                      */
-    virtual const std::vector<typename ::DataOutBase::Patch<dim,spacedim> > &
+    virtual const std::vector<typename dealii::DataOutBase::Patch<dim,spacedim> > &
     get_patches () const;
 
                                     /**
@@ -2916,7 +2918,7 @@ class DataOutReader : public DataOutInterface<dim,spacedim>
     virtual std::vector<std::string> get_dataset_names () const;
     
   private:
-    std::vector<typename ::DataOutBase::Patch<dim,spacedim> > patches;
+    std::vector<typename dealii::DataOutBase::Patch<dim,spacedim> > patches;
     std::vector<std::string> dataset_names;
 };
 
@@ -3001,5 +3003,6 @@ DataOutBase::VtkStream::operator<< (const T& t)
   return stream;
 }
 
+DEAL_II_NAMESPACE_CLOSE
 
 #endif
index 9bb42f7caecc5e56bfc88b80bd5ff630cc8c2d9a..e51ec736735ceb079cbcc13492308da98164de4e 100644 (file)
@@ -30,6 +30,8 @@
 #  include <iostream>
 #endif
 
+DEAL_II_NAMESPACE_OPEN
+
 
 /**
  *  This class is the base class for all exception classes. Do not use
@@ -429,7 +431,7 @@ namespace deal_II_exceptions
  * @ingroup Exceptions
  */
 #define DeclException0(Exception0)  \
-class Exception0 :  public ExceptionBase {}
+class Exception0 :  public dealii::ExceptionBase {}
 
 
 
@@ -438,7 +440,7 @@ class Exception0 :  public ExceptionBase {}
   *  one additional parameter.
   */
 #define DeclException1(Exception1, type1, outsequence)                \
-class Exception1 : public ExceptionBase {                             \
+class Exception1 : public dealii::ExceptionBase {                             \
   public:                                                             \
       Exception1 (const type1 a1) : arg1 (a1) {};                     \
       virtual ~Exception1 () throw () {};                             \
@@ -457,7 +459,7 @@ class Exception1 : public ExceptionBase {                             \
  *  @ingroup Exceptions
  */
 #define DeclException2(Exception2, type1, type2, outsequence)         \
-class Exception2 : public ExceptionBase {                             \
+class Exception2 : public dealii::ExceptionBase {                             \
   public:                                                             \
       Exception2 (const type1 a1, const type2 a2) :          \
              arg1 (a1), arg2(a2) {};                                 \
@@ -478,7 +480,7 @@ class Exception2 : public ExceptionBase {                             \
  *  @ingroup Exceptions
  */
 #define DeclException3(Exception3, type1, type2, type3, outsequence)  \
-class Exception3 : public ExceptionBase {                             \
+class Exception3 : public dealii::ExceptionBase {                             \
   public:                                                             \
       Exception3 (const type1 a1, const type2 a2, const type3 a3) : \
              arg1 (a1), arg2(a2), arg3(a3) {};                       \
@@ -500,7 +502,7 @@ class Exception3 : public ExceptionBase {                             \
  *  @ingroup Exceptions
  */
 #define DeclException4(Exception4, type1, type2, type3, type4, outsequence) \
-class Exception4 : public ExceptionBase {                             \
+class Exception4 : public dealii::ExceptionBase {                             \
   public:                                                             \
       Exception4 (const type1 a1, const type2 a2,                     \
            const type3 a3, const type4 a4) :                \
@@ -524,7 +526,7 @@ class Exception4 : public ExceptionBase {                             \
  *  @ingroup Exceptions
  */
 #define DeclException5(Exception5, type1, type2, type3, type4, type5, outsequence) \
-class Exception5 : public ExceptionBase {                             \
+class Exception5 : public dealii::ExceptionBase {                             \
   public:                                                             \
       Exception5 (const type1 a1, const type2 a2, const type3 a3,     \
            const type4 a4, const type5 a5) :                \
@@ -946,4 +948,6 @@ namespace StandardExceptions
 using namespace StandardExceptions;
 
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index bde574437835870f6c313b236ea17b69d2a3d990..85fe6e212a049ba6e38c05d1cfe3089346357cf6 100644 (file)
@@ -20,6 +20,7 @@
 #include <base/subscriptor.h>
 #include <vector>
 
+DEAL_II_NAMESPACE_OPEN
 template <int dim> class Point;
 template <int rank_, int dim> class Tensor;
 template <int dim> class Tensor<1,dim>;
@@ -688,5 +689,6 @@ class ComponentSelectFunction : public ConstantFunction<dim>
 };
 
 
+DEAL_II_NAMESPACE_CLOSE
 
 #endif
index ef1a240dcf8a980f5138b91f4321aabc1ff20a8b..feab8e9133646821ea7866a20838caa6255b8c7b 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 by the deal.II authors
+//    Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -17,6 +17,8 @@
 #include <base/exceptions.h>
 #include <base/function.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 
 /**
  * Derivative of a function object.  The value access functions of
@@ -165,4 +167,6 @@ class FunctionDerivative : public Function<dim>
     std::vector<Point<dim> > incr;
 };
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index 7cf503e98d325407ca525c3305f107426da9a5f6..790e5018f1d8538760352d8beae7c9ac5997a131 100644 (file)
@@ -18,6 +18,7 @@
 #include <base/function.h>
 #include <base/point.h>
 
+DEAL_II_NAMESPACE_OPEN
 
 /**
  * Namespace implementing some concrete classes derived from the
@@ -1056,5 +1057,6 @@ namespace Functions
                                      const unsigned int  component = 0) const;
   };
 }
+DEAL_II_NAMESPACE_CLOSE
 
 #endif
index caf8cda59348dd388ee2661e515869527e90933b..80f5d073e452b0e012d37c53a0fe64a120977bf7 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2005 by the deal.II authors
+//    Copyright (C) 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -26,6 +26,8 @@ namespace fparser
   class FunctionParser;
 }
 
+DEAL_II_NAMESPACE_OPEN
+
 
 template <int> class Point;
 template <int, int> class Tensor;
@@ -456,6 +458,7 @@ class FunctionParser : public Function<dim>
     unsigned int n_vars;
 };
 
+DEAL_II_NAMESPACE_CLOSE
 
 #endif
 
index aa9066aa808965a01c34f1dd5fda4f4bd1f38212..382d4baba1370bf7a38ae80b2120f9ed2e2a50cb 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 by the deal.II authors
+//    Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -17,6 +17,7 @@
 #include <base/config.h>
 #include <base/exceptions.h>
 
+DEAL_II_NAMESPACE_OPEN
 /**
  *  Support for time dependent functions.
  *  The library was also designed for time dependent problems. For this
@@ -111,5 +112,6 @@ FunctionTime::get_time () const
 }
 
 #endif
+DEAL_II_NAMESPACE_CLOSE
 
 #endif
index e166a10e035cf3302de9b1c20059c5782c6f894c..cb5c81aed58321cf2ddfe36bb263c4646d1d8f3f 100644 (file)
@@ -18,6 +18,7 @@
 #include <base/exceptions.h>
 #include <base/point.h>
 
+DEAL_II_NAMESPACE_OPEN
 
 template <int dim> class GeometryInfo;
 
@@ -1224,5 +1225,6 @@ GeometryInfo<3>::is_inside_unit_cell (const Point<3> &p,
 }
 
 #endif // DOXYGEN
+DEAL_II_NAMESPACE_CLOSE
 
 #endif
index 00b8fa89db5377f2cc34d38e4f5462cac48adb6d..abb7fb3761770818735acb351a6a06c59cdc888e 100644 (file)
@@ -17,6 +17,7 @@
 #include <base/config.h>
 #include <string>
 
+DEAL_II_NAMESPACE_OPEN
 /**
  * Identification of a program run. <tt>JobIdentifier</tt> determines the
  * start time of a program run and stores it as a program
@@ -76,5 +77,6 @@ class JobIdentifier
  * Global object to identify the presently running program.
  */
 extern JobIdentifier dealjobid;
+DEAL_II_NAMESPACE_CLOSE
 
 #endif
index 38cbe9ede09632eeaf0549fd5856c874aef3a6c9..b9d8b3a07587951caffb52ddb170c1cd2240e5ef 100644 (file)
@@ -21,6 +21,7 @@
 #include <stack>
 #include <cmath>
 
+DEAL_II_NAMESPACE_OPEN
 // we only need output streams, but older compilers did not provide
 // them in a separate include file
 #ifdef HAVE_STD_OSTREAM_HEADER
@@ -506,5 +507,6 @@ LogStream::print (const T &t)
  */
 extern LogStream deallog;
 
+DEAL_II_NAMESPACE_CLOSE
 
 #endif
index 21e09cda8c2a3f7632ce1bafb8fe60b721802f06..4c27e57a644eb6fab46cb57e9a08fc987d7c7433 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 by the deal.II authors
+//    Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -20,6 +20,7 @@
 #include <vector>
 #include <utility>
 
+DEAL_II_NAMESPACE_OPEN
 
 
 /**
@@ -619,5 +620,6 @@ namespace MemoryConsumption
   }
 }
 
+DEAL_II_NAMESPACE_CLOSE
 
 #endif
index d61cbe562bcb57bc31143ab782818cb84dd4d86d..f6873ed2a17f679401c0c9e83e123bf08e024721 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 by the deal.II authors
+//    Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -18,6 +18,7 @@
 #include <base/config.h>
 #include <base/exceptions.h>
 
+DEAL_II_NAMESPACE_OPEN
 
 /**
  * This class provides information about the system which may be of
@@ -127,6 +128,7 @@ extern MultithreadInfo multithread_info;
 
 
 //---------------------------------------------------------------------------
+DEAL_II_NAMESPACE_CLOSE
 // end of #ifndef __deal2__multithread_info_h
 #endif
 //---------------------------------------------------------------------------
index 303db38858825ecd94cc2697f8394306955067ad..a06ca477e72cdefd29a976a9404e9ec9093fe7b9 100644 (file)
@@ -13,6 +13,8 @@
 #ifndef __deal2__numbers_h
 #define __deal2__numbers_h
 
+DEAL_II_NAMESPACE_OPEN
+
 /**
  * Namespace for the declaration of universal constants. Since the
  * availability in <tt>math.h</tt> is not always guaranteed, we put
@@ -107,4 +109,6 @@ namespace deal_II_numbers {
   bool is_finite (const double x);
 }
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index dc5494632dff089a6913ea964c17ff779c9ea266..c27a4eb20f31cd619138a3e2d948ee13a6abe7e2 100644 (file)
@@ -22,6 +22,7 @@
 #include <vector>
 #include <string>
 
+DEAL_II_NAMESPACE_OPEN
 
 //TODO: Allow long input lines to be broken by appending a backslash character
 //TODO: Provide an "include" command for parameter files
@@ -998,7 +999,8 @@ namespace Patterns
  *   @code
  *     #include <iostream>
  *     #include "../include/parameter_handler.h"
- *     
+ *
+ DEAL_II_NAMESPACE_OPEN
  *     
  *     class LinEq {
  *       public:
@@ -2185,5 +2187,6 @@ class MultipleParameterLoop : public ParameterHandler
 };
 
 
+DEAL_II_NAMESPACE_CLOSE
 
 #endif
index 9993ada43bbe8e464505d105febc2a1a574f0696..0b0e7b6e7188f07f977a59b20d698a2216381494 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2005 by the deal.II authors
+//    Copyright (C) 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -23,6 +23,8 @@
 #include <base/config.h>
 #include <base/exceptions.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 /**
  * Support for searching files in a list of paths and with a list of
  * suffixes.
@@ -42,6 +44,7 @@
  * @code
  * #include <base/path_search.h>
  *
+ DEAL_II_NAMESPACE_OPEN
  * PathSearch search("MESH");
  * std::string full_name = search.find("grid");
  * std::ifstream in(full_name.c_str());
@@ -323,6 +326,7 @@ PathSearch::show(STREAM& out) const
   out << std::endl;
 }
 
+DEAL_II_NAMESPACE_CLOSE
 
 #endif
 
index b55398be71589823c2e1f87ae91bb34505ac63c8..8d6de51cab6b5cac05fcd71bd889154b775d07fb 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 by the deal.II authors
+//    Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -19,6 +19,7 @@
 #include <base/tensor_base.h>
 #include <cmath>
 
+DEAL_II_NAMESPACE_OPEN
 
 /**
  * The <tt>Point</tt> class provides for a point or vector in a space with
@@ -427,5 +428,6 @@ std::ostream & operator << (std::ostream &out, const Point<1> &p)
 }
 
 #endif // DOXYGEN
+DEAL_II_NAMESPACE_CLOSE
 
 #endif
index f8c9c722e7ec5a38e1bebc25c6af6bd48894a374..ce83e871c86b1471b0b48312d27ba8e3a6943532 100644 (file)
@@ -21,6 +21,7 @@
 
 #include <vector>
 
+DEAL_II_NAMESPACE_OPEN
 template <int dim> class Point;
 
 /**
@@ -562,5 +563,6 @@ namespace Polynomials
     return coefficients.size() - 1;
   }
 }
+DEAL_II_NAMESPACE_CLOSE
 
 #endif
index ce65921f4cceba515fc5efa035eb49f8810d8521..26413fad3ca77dd205848ae9e330ea693de81411 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2002, 2003, 2004, 2005 by the deal.II authors
+//    Copyright (C) 2002, 2003, 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -23,6 +23,7 @@
 
 #include <vector>
 
+DEAL_II_NAMESPACE_OPEN
 
 /**
  * Representation of the space of polynomials of degree at most n in
@@ -327,5 +328,6 @@ PolynomialSpace<dim>::output_indices(STREAM &out) const
 }
 
 
+DEAL_II_NAMESPACE_CLOSE
 
 #endif
index 91944c0082d05ab4d34711d76a243d162fcdcb49..0abd61ca1f79f704298da4879dd7fb7119f48191 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2004, 2005 by the deal.II authors
+//    Copyright (C) 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -25,6 +25,7 @@
 
 #include <vector>
 
+DEAL_II_NAMESPACE_OPEN
 /**
  * @addtogroup Polynomials
  * @{
@@ -175,5 +176,6 @@ PolynomialsABF<dim>::degree() const
 {
   return my_degree;
 }
+DEAL_II_NAMESPACE_CLOSE
 
 #endif
index 866a43d595a5fbc8e610b7d4d0e05f9ba9726ce8..e808736c2560dcb9a748143893c735076b9b049e 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2004, 2005 by the deal.II authors
+//    Copyright (C) 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -24,6 +24,7 @@
 
 #include <vector>
 
+DEAL_II_NAMESPACE_OPEN
 
 /**
  * @addtogroup Polynomials
@@ -177,5 +178,6 @@ PolynomialsBDM<dim>::degree() const
 {
   return polynomial_space.degree();
 }
+DEAL_II_NAMESPACE_CLOSE
 
 #endif
index fb487a21e3e007dab808cf46694a31af1a678252..afb17d79658ebef4725397f180079e0889e7c8d6 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2004, 2005 by the deal.II authors
+//    Copyright (C) 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -24,6 +24,7 @@
 
 #include <vector>
 
+DEAL_II_NAMESPACE_OPEN
 /**
  * @addtogroup Polynomials
  * @{
@@ -110,5 +111,6 @@ PolynomialsP<dim>::directional_degrees(unsigned int n,
   this->compute_index(n,degrees);
 }
 
+DEAL_II_NAMESPACE_CLOSE
 
 #endif
index 51a1863bfd09f8255a2f422f3b07715963418b91..af5c8b5554bde050e267469b25213602cdec4f09 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2004, 2005 by the deal.II authors
+//    Copyright (C) 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -25,6 +25,7 @@
 
 #include <vector>
 
+DEAL_II_NAMESPACE_OPEN
 /**
  * @addtogroup Polynomials
  * @{
@@ -172,5 +173,6 @@ PolynomialsRaviartThomas<dim>::degree() const
 {
   return my_degree;
 }
+DEAL_II_NAMESPACE_CLOSE
 
 #endif
index fc50a6ea8c3e60958645713c3466d5df7a2b8c14..700d692adb6224d6f9d97b117d4d350b624a0971 100644 (file)
@@ -16,6 +16,7 @@
 
 #include <base/quadrature.h>
 
+DEAL_II_NAMESPACE_OPEN
 /*!@addtogroup Quadrature */
 /*@{*/
 
@@ -445,5 +446,6 @@ QIterated<1>::QIterated (const Quadrature<1> &base_quadrature,
 
 
 #endif // DOXYGEN
+DEAL_II_NAMESPACE_CLOSE
 
 #endif
index f11238ea4995cc4cc7d1c7c79ad1077d0bc1e555..551fa4eeb7e3530355c87c617615c1c758377156 100644 (file)
@@ -19,6 +19,7 @@
 #include <base/subscriptor.h>
 #include <vector>
 
+DEAL_II_NAMESPACE_OPEN
 
 /*!@addtogroup Quadrature */
 /*@{*/
@@ -370,5 +371,6 @@ template <>
 const std::vector<double> & Quadrature<0>::get_weights () const;
 
 #endif // DOXYGEN
+DEAL_II_NAMESPACE_CLOSE
 
 #endif
index 291ef1e3303c727b1bded65d2058278feab84a4a..6aa72a8e124230b151c44e1c10b0e7774b0c3b65 100644 (file)
@@ -17,6 +17,7 @@
 #include <base/config.h>
 #include <base/quadrature.h>
 
+DEAL_II_NAMESPACE_OPEN
 
 /*!@addtogroup Quadrature */
 /*@{*/
@@ -261,5 +262,6 @@ template <> QSimpson<1>::QSimpson ();
 template <> QMilne<1>::QMilne ();
 template <> QWeddle<1>::QWeddle ();
 
+DEAL_II_NAMESPACE_CLOSE
 
 #endif
index f914512ccbb858b495a269b7297a21d12211320f..d5eb9d41e54116594bd604e5587fc7da0e39fd7f 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2003, 2004, 2005 by the deal.II authors
+//    Copyright (C) 2003, 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -20,6 +20,7 @@
 
 #include <string>
 
+DEAL_II_NAMESPACE_OPEN
 
 /**
  * This class implements the quadrature rule passed to its constructor
@@ -102,5 +103,6 @@ class QuadratureSelector : public Quadrature<dim>
     create_quadrature (const std::string &s,
                       const unsigned int order);
 };
+DEAL_II_NAMESPACE_CLOSE
 
 #endif
index 71bbc69a95dbe245972878c405c81e0645acdfb1..9ee58bc564f8464312d58648619778e8f2eb0bdf 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 by the deal.II authors
+//    Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -17,6 +17,7 @@
 #include <base/config.h>
 #include <base/subscriptor.h>
 
+DEAL_II_NAMESPACE_OPEN
 
 /**
  * Smart pointers avoid destruction of an object in use. They can be used just
@@ -396,5 +397,6 @@ void swap (T *&t1, SmartPointer<T> &t2)
   t2.swap (t1);
 }
 
+DEAL_II_NAMESPACE_CLOSE
 
 #endif
index f46634e90d124677a04bfcc4e10c545775768700..f102a8a2bfe449a9cff222cb95eca266b49870a2 100644 (file)
@@ -21,6 +21,7 @@
 #include <map>
 #include <string>
 
+DEAL_II_NAMESPACE_OPEN
 
 /**
  * Handling of subscriptions.
@@ -240,5 +241,6 @@ Subscriptor::unsubscribe(const char*) const
 {}
 
 #endif
+DEAL_II_NAMESPACE_CLOSE
 
 #endif
index 96627af725a24d7167963c9b2777669bb9e32be4..3ac46b78c51245c92d058287e2620f45eb7cfc70 100644 (file)
@@ -17,6 +17,7 @@
 #include <base/tensor.h>
 #include <base/table_indices.h>
 
+DEAL_II_NAMESPACE_OPEN
 
 template <int rank, int dim> class SymmetricTensor;
 
@@ -2665,5 +2666,6 @@ double_contract (SymmetricTensor<2,3> &tmp,
 }
 
 
+DEAL_II_NAMESPACE_CLOSE
 
 #endif
index 98db82c754f767ff287891a013776a54ac20fd41..e298915434f83f4bd38b6b8fb1494e8c090ce1ba 100644 (file)
@@ -21,6 +21,7 @@
 #include <cstddef>
 #include <algorithm>
 
+DEAL_II_NAMESPACE_OPEN
 
 // forward declaration
 template <int N, typename T> class TableBase;
@@ -3141,5 +3142,6 @@ Table<7,T>::operator () (const TableIndices<7> &indices)
 
 
 #endif // DOXYGEN
+DEAL_II_NAMESPACE_CLOSE
 
 #endif
index df31b05732cb9163a95eba8d0e0874612308a505..c6257bc573c6cea9ad58c3ec06980661b85788e4 100644 (file)
@@ -22,6 +22,7 @@
 #include <string>
 #include <fstream>
 
+DEAL_II_NAMESPACE_OPEN
 // we only need output streams, but older compilers did not provide
 // them in a separate include file
 #ifdef HAVE_STD_OSTREAM_HEADER
@@ -546,5 +547,6 @@ class TableHandler
     
 };
 
+DEAL_II_NAMESPACE_CLOSE
 
 #endif
index 87d6135d0983834c54ddb3290d5786f64cbbc77b..08ea523d21980cfcfd48d922583a8647c0e4f187 100644 (file)
@@ -17,6 +17,7 @@
 #include <base/config.h>
 #include <base/exceptions.h>
 
+DEAL_II_NAMESPACE_OPEN
 
 
 /**
@@ -633,5 +634,6 @@ TableIndices<7>::TableIndices (const unsigned int index1,
 
 
 
+DEAL_II_NAMESPACE_CLOSE
 
 #endif
index 0b285a6ed0828f3e22f2b5daf9a88bebd26ea37a..ea0ecff42e44d40e49830cce75e76bfb18ec2493 100644 (file)
@@ -16,6 +16,7 @@
 
 #include <base/config.h>
 
+DEAL_II_NAMESPACE_OPEN
 
 template <bool, typename> struct constraint_and_return_value;
 
@@ -232,5 +233,6 @@ PointerComparison::equal (const T *p1, const T *p2)
 
 
 
+DEAL_II_NAMESPACE_CLOSE
 
 #endif
index f10be25e6ff445e1c1c2dbe372100a3bd6fc38e6..a1b8ed62c706b26d9cf56f65b266c4f7ac9e7aa7 100644 (file)
@@ -17,6 +17,7 @@
 #include <base/config.h>
 #include <base/tensor_base.h>
 
+DEAL_II_NAMESPACE_OPEN
 template <int rank_, int dim> class Tensor;
 template <int dim> class Tensor<1,dim>;
 
@@ -1599,5 +1600,6 @@ operator / (const Tensor<rank,dim> &t,
   return tt;
 }
 
+DEAL_II_NAMESPACE_CLOSE
 
 #endif
index 800e41e79fe2adb780d9bdd80b7f515f25639591..33bad871920b14e40c1f23e3ee2d22176459bd64 100644 (file)
@@ -26,6 +26,7 @@
 
 #include <cmath>
 
+DEAL_II_NAMESPACE_OPEN
 // we only need output streams, but older compilers did not provide
 // them in a separate include file
 #ifdef HAVE_STD_OSTREAM_HEADER
@@ -830,6 +831,7 @@ operator / (const Tensor<1,dim> &t,
     tt[d] = t[d] / factor;
   return tt;
 }
+DEAL_II_NAMESPACE_CLOSE
 
 #endif
 
index 38643ad1808915bcbab9476ee7189ca5f686b327..59a523bb08c44a5a2abaf5bc322016b0a4f03fc9 100644 (file)
@@ -24,6 +24,7 @@
 
 #include <vector>
 
+DEAL_II_NAMESPACE_OPEN
 
 /**
  *  This class is a model for a tensor valued function. The interface
@@ -172,5 +173,6 @@ class TensorFunction : public FunctionTime,
     
 };
 
+DEAL_II_NAMESPACE_CLOSE
 
 #endif
index 90138a3d479569c52e02cad99ba91dcdb7439787..7191d2a611d9020895675de75f889678ee376d12 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 by the deal.II authors
+//    Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -22,6 +22,7 @@
 
 #include <vector>
 
+DEAL_II_NAMESPACE_OPEN
 
 /**
  * @addtogroup Polynomials
@@ -562,5 +563,6 @@ AnisotropicPolynomials<3>::compute_index(const unsigned int n,
                                          unsigned int      (&index)[3]) const;
 
 #endif // DOXYGEN
+DEAL_II_NAMESPACE_CLOSE
 
 #endif
index 86a2fe998c4657164e7af205a0f33497653373b6..5a477a454b0bd7f1312cf66f0377562d3c11221a 100644 (file)
@@ -26,6 +26,7 @@
 #include <boost/tuple/tuple.hpp>
 #include <boost/shared_ptr.hpp>
 
+DEAL_II_NAMESPACE_OPEN
 #if DEAL_II_USE_MT == 1
 #  if defined(DEAL_II_USE_MT_POSIX)
 #    include <pthread.h>
@@ -6691,6 +6692,7 @@ namespace Threads
 
 
 //---------------------------------------------------------------------------
+DEAL_II_NAMESPACE_CLOSE
 // end of #ifndef __deal2__thread_management_h
 #endif
 //---------------------------------------------------------------------------
index 36adfd7cb336189b9b85b47d484a3a07333b5fa5..c904cf1676db9972c24727aa54f66de27ef79e3e 100644 (file)
@@ -15,6 +15,7 @@
 
 #include <base/config.h>
 
+DEAL_II_NAMESPACE_OPEN
 
 /**
  * This is a very simple class which provides information about the time
@@ -141,5 +142,6 @@ class Timer
     bool                running;
 };
 
+DEAL_II_NAMESPACE_CLOSE
 
 #endif
index f32f9cb710b9b0fec254b0c3752e4315dfab4db1..5882c54fbe64948777f52257a0dfaccf47a99ce7 100644 (file)
 
 #ifdef DEAL_II_USE_PETSC
 #include <petscvec.h>
+
 #else
 typedef int MPI_Comm;
 #endif
 
+DEAL_II_NAMESPACE_OPEN
+
+
 /**
  * A namespace for utility functions that are not particularly specific to
  * finite element computing or numerical programs, but nevertheless are needed
@@ -204,6 +208,7 @@ namespace Utilities
   }
 }
 
+DEAL_II_NAMESPACE_CLOSE
 
 #endif
 
index 74498e926412a69547228025c5dcbf004290bf36..83dba1f36d75e2302e2f6638989d933e13947a7f 100644 (file)
@@ -16,6 +16,7 @@
 #include <base/config.h>
 #include <base/exceptions.h>
 
+DEAL_II_NAMESPACE_OPEN
 /**
  * Filter a range out of any object having a random access <tt>operator[]
  * (unsigned int)</tt> and a function <tt>size() const</tt>.
@@ -247,5 +248,6 @@ VectorSlice<VECTOR>::end()
   return v.begin()+start+length;
 }
 
+DEAL_II_NAMESPACE_CLOSE
 
 #endif
index 57670795535fbba09b948f7e811c22de7555ba5b..d57e77593c8d637d5a66d3cff29551feb15d8833 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2001, 2002, 2003, 2005 by the deal.II authors
+//    Copyright (C) 2001, 2002, 2003, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -18,6 +18,7 @@
 
 #include <cmath>
 
+DEAL_II_NAMESPACE_OPEN
 
 template <int dim>
 AutoDerivativeFunction<dim>::
@@ -338,3 +339,5 @@ AutoDerivativeFunction<dim>::get_formula_of_order(const unsigned int ord)
 template class AutoDerivativeFunction<1>;
 template class AutoDerivativeFunction<2>;
 template class AutoDerivativeFunction<3>;
+
+DEAL_II_NAMESPACE_CLOSE
index 5d68dc43a4951aebf1106ae274668cec83b42a78..3168ecb7daf4aadec7e8f21f60c919f2225ac240 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2004, 2005 by the deal.II authors
+//    Copyright (C) 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -13,6 +13,7 @@
 
 #include <base/conditional_ostream.h>
 
+DEAL_II_NAMESPACE_OPEN
 
 ConditionalOStream::ConditionalOStream(std::ostream &stream,
                                        const bool    active)
@@ -32,3 +33,5 @@ bool ConditionalOStream::is_active() const
 {
   return active_flag;
 }
+
+DEAL_II_NAMESPACE_CLOSE
index cfce328699458d840ad754f6fb783ed6f85af99a..09f070f0d3562a46c3611f4c12f3a01112497d36 100644 (file)
@@ -16,6 +16,7 @@
 #include <cmath>
 #include <limits>
 
+DEAL_II_NAMESPACE_OPEN
 
 namespace deal_II_numbers 
 {
@@ -29,7 +30,10 @@ namespace deal_II_numbers
                                     // comparisons will be false
     return ((x >= -std::numeric_limits<double>::max())
            &&
+DEAL_II_NAMESPACE_CLOSE
            (x <= std::numeric_limits<double>::max()));
 #endif
   }
 }
+
+DEAL_II_NAMESPACE_CLOSE
index efc80a1f8aa46516499a5b08e632c14d49c155f2..a24719a81d108de99901d926ca9186187ddb158a 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 1999, 2000, 2001, 2002, 2003, 2005 by the deal.II authors
+//    Copyright (C) 1999, 2000, 2001, 2002, 2003, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -15,6 +15,7 @@
 #include <base/convergence_table.h>
 #include <cmath>
 
+DEAL_II_NAMESPACE_OPEN
 
 ConvergenceTable::ConvergenceTable()
 {}
@@ -183,3 +184,5 @@ ConvergenceTable::evaluate_all_convergence_rates(const RateMode rate_mode)
     if (!col_iter->second.flag)
       evaluate_convergence_rates(col_iter->first, rate_mode);
 }
+
+DEAL_II_NAMESPACE_CLOSE
index 95c44c8862c98c3a1acf9b334e03db951719b38c..ea05cf6a6fc27855315e876d7420ad9bac183110 100644 (file)
@@ -43,6 +43,8 @@
 
 #include <sstream>
 
+DEAL_II_NAMESPACE_OPEN
+
 //TODO: Is it reasonable to have undocumented exceptions?
 
 DeclException2 (ExcUnexpectedInput,
@@ -3892,7 +3894,7 @@ DataOutReader<dim,spacedim>::read (std::istream &in)
 
                                   // first empty previous content
   {
-    std::vector<typename ::DataOutBase::Patch<dim,spacedim> >
+    std::vector<typename dealii::DataOutBase::Patch<dim,spacedim> >
       tmp;
     tmp.swap (patches);
   }
@@ -3909,7 +3911,7 @@ DataOutReader<dim,spacedim>::read (std::istream &in)
   {
     std::pair<unsigned int, unsigned int>
       dimension_info
-      = ::DataOutBase::determine_intermediate_format_dimensions (in);
+      = dealii::DataOutBase::determine_intermediate_format_dimensions (in);
     AssertThrow ((dimension_info.first  == dim) &&
                  (dimension_info.second == spacedim),
                  ExcIncompatibleDimensions (dimension_info.first, dim,
@@ -3962,7 +3964,7 @@ void
 DataOutReader<dim,spacedim>::
 merge (const DataOutReader<dim,spacedim> &source) 
 {
-  typedef typename ::DataOutBase::Patch<dim,spacedim> Patch;
+  typedef typename dealii::DataOutBase::Patch<dim,spacedim> Patch;
   
   const std::vector<Patch> source_patches = source.get_patches ();
   Assert (patches.size () != 0,        ExcNoPatches ());
@@ -4002,7 +4004,7 @@ merge (const DataOutReader<dim,spacedim> &source)
 
 
 template <int dim, int spacedim>
-const std::vector<typename ::DataOutBase::Patch<dim,spacedim> > &
+const std::vector<typename dealii::DataOutBase::Patch<dim,spacedim> > &
 DataOutReader<dim,spacedim>::get_patches () const
 {
   return patches;
@@ -4131,3 +4133,5 @@ INSTANTIATE(2,3);
 INSTANTIATE(3,4);
 
 
+
+DEAL_II_NAMESPACE_CLOSE
index 073281bf0c4e250a2267d27709f995d534aa5af7..8d29eadf8f348b47205b5cb89cf32f06dc2f27f5 100644 (file)
@@ -27,6 +27,8 @@
 #  include <cxxabi.h>
 #endif
 
+DEAL_II_NAMESPACE_OPEN
+
 
 namespace deal_II_exceptions
 {
@@ -441,6 +443,9 @@ namespace deal_II_exceptions
 }
 
 
+DEAL_II_NAMESPACE_CLOSE
+
+
 // from the aclocal file:
 // Newer versions of gcc have a very nice feature: you can set
 // a verbose terminate handler, that not only aborts a program
index ae2a58fbf3103b92485eb998d7980f2ac8991ce9..d91b179eb1c4a3117efde2043fabea5048be1fdb 100644 (file)
@@ -17,6 +17,8 @@
 #include <lac/vector.h>
 #include <vector>
 
+DEAL_II_NAMESPACE_OPEN
+
 
 template <int dim>
 const unsigned int Function<dim>::dimension;
@@ -497,3 +499,5 @@ template class Function<3>;
 template class ZeroFunction<3>;
 template class ConstantFunction<3>;
 template class ComponentSelectFunction<3>;
+
+DEAL_II_NAMESPACE_CLOSE
index c71474854b8f03e964be2c91d84fe3ff39802e00..3959e0c85fee693801b0a82c727c480f840ce093 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2000, 2001, 2002, 2003, 2005 by the deal.II authors
+//    Copyright (C) 2000, 2001, 2002, 2003, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -17,6 +17,8 @@
 
 #include <cmath>
 
+DEAL_II_NAMESPACE_OPEN
+
 template <int dim>
 FunctionDerivative<dim>::FunctionDerivative (const Function<dim> &f,
                                             const Point<dim>    &dir,
@@ -206,3 +208,5 @@ FunctionDerivative<dim>::memory_consumption () const
 template class FunctionDerivative<1>;
 template class FunctionDerivative<2>;
 template class FunctionDerivative<3>;
+
+DEAL_II_NAMESPACE_CLOSE
index a628f3d61d1610a7def7f17cea792f4193ad903d..e7aad17438cac5edcaac73666bb1afceb2e1b032 100644 (file)
@@ -19,6 +19,8 @@
 
 #include <cmath>
 
+DEAL_II_NAMESPACE_OPEN
+
 
 // in strict ANSI C mode, the following constants are not defined by
 // default, so we do it ourselves
@@ -1532,3 +1534,5 @@ namespace Functions
   template class SlitSingularityFunction<2>;
   template class SlitSingularityFunction<3>;
 }
+
+DEAL_II_NAMESPACE_CLOSE
index 1d0f5919d4e71069a9cb4f9402865cbb40194f09..06fa53fd185403142be6ff37818900920108e9ae 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2001, 2002, 2003, 2004, 2005 by the deal.II authors
+//    Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -19,6 +19,7 @@
 
 #include <cmath>
 
+DEAL_II_NAMESPACE_OPEN
 
 
 namespace Functions
@@ -324,3 +325,5 @@ namespace Functions
   template class CutOffFunctionCinfty <2>;
   template class CutOffFunctionCinfty <3>;
 }
+
+DEAL_II_NAMESPACE_CLOSE
index 6729b9bcec70035834675db48d4b29e15b05e6e6..a98a7a4e11763e8f058e24ac2b19bd4219d83cd8 100644 (file)
@@ -28,6 +28,8 @@ namespace fparser
 
 #endif
 
+DEAL_II_NAMESPACE_OPEN
+
 
 
 template <int dim>
@@ -252,3 +254,5 @@ void FunctionParser<dim>::vector_value (
 template class FunctionParser<1>;
 template class FunctionParser<2>;
 template class FunctionParser<3>;
+
+DEAL_II_NAMESPACE_CLOSE
index 85963e01408b0561b88ac4d2b75351c0f981a005..ffaf5753ad641f6e0753acce8d3ac07b217ad7e5 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 1999, 2000, 2001, 2002, 2003, 2005 by the deal.II authors
+//    Copyright (C) 1999, 2000, 2001, 2002, 2003, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -14,6 +14,8 @@
 
 #include <base/function_time.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 
 FunctionTime::FunctionTime(const double initial_time)
                :
@@ -40,3 +42,5 @@ FunctionTime::advance_time (const double delta_t)
 {
   set_time (time+delta_t);
 }
+
+DEAL_II_NAMESPACE_CLOSE
index 85bbcd22589a21fa4f54ca45691ff18cba2c4e7c..0869f80b700e9fb114bb95b4124b55a9930883c3 100644 (file)
@@ -14,6 +14,7 @@
 
 #include <base/geometry_info.h>
 
+DEAL_II_NAMESPACE_OPEN
 
 
 template <int dim> const unsigned int GeometryInfo<dim>::children_per_cell;
@@ -462,3 +463,5 @@ template class GeometryInfo<1>;
 template class GeometryInfo<2>;
 template class GeometryInfo<3>;
 template class GeometryInfo<4>;
+
+DEAL_II_NAMESPACE_CLOSE
index aa47f969b1d055bc74e130d528d104cab0a9543d..61741c0551f8ff9155cd9d5c559c8f8bb58d3b47 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2005 by the deal.II authors
+//    Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -20,6 +20,9 @@
 # include <unistd.h>
 #endif
 
+DEAL_II_NAMESPACE_OPEN
+
+
 JobIdentifier dealjobid;
 
 
@@ -45,3 +48,5 @@ JobIdentifier::operator ()() const
 {
   return id;
 }
+
+DEAL_II_NAMESPACE_CLOSE
index 73b1b629f5f3fad7dfac8f290b02e53a4dcf366e..50df78c862933d9b1cd2efca0380a07e4ce71979 100644 (file)
@@ -36,6 +36,8 @@ extern "C" {
 }
 #endif
 
+DEAL_II_NAMESPACE_OPEN
+
 
 LogStream deallog;
 
@@ -265,3 +267,5 @@ LogStream::memory_consumption () const
   
   return mem;
 }
+
+DEAL_II_NAMESPACE_CLOSE
index 85f36ab02aceb5aca0e990d943ed4a4b4526947f..27afd9ae7388dff8e37df3e64b4f1f474333afc4 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2000, 2001, 2002, 2003, 2005 by the deal.II authors
+//    Copyright (C) 2000, 2001, 2002, 2003, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -14,6 +14,8 @@
 
 #include <base/memory_consumption.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 
 namespace MemoryConsumption 
 {
@@ -27,3 +29,5 @@ namespace MemoryConsumption
   
 
 }
+
+DEAL_II_NAMESPACE_CLOSE
index 3011c01906a684d2f881f539a95567462217d191..a4f5c608bbdc8abde12bb518866836166e4a8495 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 by the deal.II authors
+//    Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
 #  include <sys/sysctl.h>
 #endif
 
+
+DEAL_II_NAMESPACE_OPEN
+
+
 #if DEAL_II_USE_MT == 1
 
 /* Detecting how many processors a given machine has is something that
@@ -164,3 +168,5 @@ MultithreadInfo::memory_consumption ()
 
 // definition of the variable which is declared `extern' in the .h file
 MultithreadInfo multithread_info;
+
+DEAL_II_NAMESPACE_CLOSE
index 2863452985289949c5bdf98873d63358b3b4c6fd..1e23e898c673dbad515ca45dc1c278ca5028b93e 100644 (file)
@@ -28,6 +28,8 @@
 # include <limits>
 #endif
 
+DEAL_II_NAMESPACE_OPEN
+
 
 
 //TODO[WB]: various functions here could be simplified by using namespace Utilities
@@ -1816,3 +1818,5 @@ MultipleParameterLoop::Entry::memory_consumption () const
          MemoryConsumption::memory_consumption (different_values) +
          sizeof (type));
 }
+
+DEAL_II_NAMESPACE_CLOSE
index f83f102f83f2cc52133082bb3c0ef0a7b63786d6..5ba5cb88a482db55f5affa2373f399e94a21b312 100644 (file)
@@ -2,7 +2,7 @@
 //      $Id$   
 //    Version: $Name$
 //
-//    Copyright (C) 2005 by the deal.II authors
+//    Copyright (C) 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -18,6 +18,9 @@
 #include <cstdio>
 #include <algorithm>
 
+DEAL_II_NAMESPACE_OPEN
+
+
 std::map<std::string, std::vector<std::string> > PathSearch::path_lists;
 std::map<std::string, std::vector<std::string> > PathSearch::suffix_lists;
 std::string PathSearch::empty("");
@@ -208,3 +211,5 @@ PathSearch::add_suffix (const std::string& suffix,
 }
 
 
+
+DEAL_II_NAMESPACE_CLOSE
index 2c98b7ebdbd143eeb7147fb361d15b089672ae3d..7dca20bafd38e444bc4f9cd483301ff017604d8a 100644 (file)
@@ -19,6 +19,8 @@
 
 #include <cmath>
 
+DEAL_II_NAMESPACE_OPEN
+
 
 
 // have a lock that guarantees that at most one thread is changing and
@@ -1052,3 +1054,5 @@ namespace Polynomials
   template class Monomial<double>;
   template class Monomial<long double>;
 }
+
+DEAL_II_NAMESPACE_CLOSE
index 56c45ff0649a4114891667d6aed7cff73b76b1a1..8015badbc28854594ca197a31652a44c90ef8a1e 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2002, 2003, 2004, 2005 by the deal.II authors
+//    Copyright (C) 2002, 2003, 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -16,6 +16,7 @@
 #include <base/exceptions.h>
 #include <base/table.h>
 
+DEAL_II_NAMESPACE_OPEN
 
 
 template <int dim>
@@ -315,3 +316,5 @@ PolynomialSpace<dim>::compute (const Point<dim>            &p,
 template class PolynomialSpace<1>;
 template class PolynomialSpace<2>;
 template class PolynomialSpace<3>;
+
+DEAL_II_NAMESPACE_CLOSE
index fc13c0c1aeee58549c8dce7b618eef1130281b44..5bc0a39f5813c4e4c183bf59794ed0e528f9e1e3 100644 (file)
@@ -17,6 +17,8 @@
 #include <iomanip>
 
 
+DEAL_II_NAMESPACE_OPEN
+
 
 template <int dim>
 PolynomialsABF<dim>::PolynomialsABF (const unsigned int k)
@@ -115,3 +117,5 @@ template class PolynomialsABF<1>;
 template class PolynomialsABF<2>;
 template class PolynomialsABF<3>;
 
+
+DEAL_II_NAMESPACE_CLOSE
index a9ed0a1e5db3ff74532aa985f2bfe57af2fb5e41..a382a7cf538d30aaf8714bd74be1c0332f038dbd 100644 (file)
@@ -16,6 +16,8 @@
 #include <iostream>
 #include <iomanip>
 
+DEAL_II_NAMESPACE_OPEN
+
 
 template <int dim>
 PolynomialsBDM<dim>::PolynomialsBDM (const unsigned int k)
@@ -206,3 +208,5 @@ template class PolynomialsBDM<1>;
 template class PolynomialsBDM<2>;
 template class PolynomialsBDM<3>;
 
+
+DEAL_II_NAMESPACE_CLOSE
index 29a020312c861ad24fbc1927d53682e73fa0c6bb..c082c0cd4d581775b91cac3890cadae0695673f2 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2004, 2005 by the deal.II authors
+//    Copyright (C) 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -13,6 +13,8 @@
 
 #include <base/polynomials_p.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 
 template <int dim>
 PolynomialsP<dim>::PolynomialsP (const unsigned int p)
@@ -99,3 +101,5 @@ void PolynomialsP<3>::create_polynomial_ordering(
 template class PolynomialsP<1>;
 template class PolynomialsP<2>;
 template class PolynomialsP<3>;
+
+DEAL_II_NAMESPACE_CLOSE
index c9753fe13ce4a06ece4f92ee5c3162142910c378..44bb808b1ab24e583a3483b7dfe1782ea648d261 100644 (file)
@@ -16,6 +16,8 @@
 #include <iostream>
 #include <iomanip>
 
+DEAL_II_NAMESPACE_OPEN
+
 
 template <int dim>
 PolynomialsRaviartThomas<dim>::PolynomialsRaviartThomas (const unsigned int k)
@@ -113,3 +115,5 @@ template class PolynomialsRaviartThomas<1>;
 template class PolynomialsRaviartThomas<2>;
 template class PolynomialsRaviartThomas<3>;
 
+
+DEAL_II_NAMESPACE_CLOSE
index 499f67cac923d5a471772f046ed5c02e7da5ad80..282ddd9bce0391c1a24da125a9a92559c6a045fc 100644 (file)
@@ -20,6 +20,8 @@
 #include <cmath>
 #include <iterator>
 
+DEAL_II_NAMESPACE_OPEN
+
 
 namespace
 {
@@ -1302,3 +1304,5 @@ template class QIterated<3>;
 template class QProjector<1>;
 template class QProjector<2>;
 template class QProjector<3>;
+
+DEAL_II_NAMESPACE_CLOSE
index 0eaff84c089535aa77cbde9aafa7ae268e181d25..223765e532a828ec6a71087365795742d656a7d0 100644 (file)
@@ -19,6 +19,8 @@
 #  include <limits>
 #endif
 
+DEAL_II_NAMESPACE_OPEN
+
 
 // please note: for a given dimension, we need the quadrature formulae
 // for all lower dimensions as well. That is why in this file the check
@@ -586,3 +588,5 @@ template class QTrapez<3>;
 template class QSimpson<3>;
 template class QMilne<3>;
 template class QWeddle<3>;
+
+DEAL_II_NAMESPACE_CLOSE
index b4bae3d780ca8740d7fab6e79a5748a97f0c7a0c..0be5da66d4ccfbe85b510e45a8ad1f5e4dba243d 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2003, 2005 by the deal.II authors
+//    Copyright (C) 2003, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -15,6 +15,8 @@
 #include <base/quadrature_selector.h>
 #include <base/quadrature_lib.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 
 template <int dim>
 Quadrature<dim>
@@ -81,3 +83,5 @@ QuadratureSelector<dim>::get_quadrature_names()
 template class QuadratureSelector<1>;
 template class QuadratureSelector<2>;
 template class QuadratureSelector<3>;
+
+DEAL_II_NAMESPACE_CLOSE
index 37969bb997a171caf6c60fccfb5b08a6be5fc0ea..e0d43da96b2cf33ce3604d02ceece617fb1d5d91 100644 (file)
@@ -20,6 +20,9 @@
 #include <string>
 #include <iostream>
 
+DEAL_II_NAMESPACE_OPEN
+
+
 namespace 
 {
 // create a lock that might be used to control subscription to and
@@ -189,3 +192,5 @@ void Subscriptor::list_subscribers () const
   deallog << "No subscriber listing with multithreading" << std::endl;
 #endif
 }
+
+DEAL_II_NAMESPACE_CLOSE
index 47a686a485c410ca463b0b8cc1c86d083ae83337..87af6de0cba5f088f02de6dc6c8c7fd087ba4355 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2005 by the deal.II authors
+//    Copyright (C) 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -14,6 +14,8 @@
 
 #include <base/symmetric_tensor.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 
 template <>
 SymmetricTensor<4,3>
@@ -121,3 +123,5 @@ invert (const SymmetricTensor<4,3> &t)
   
   return tmp;
 }
+
+DEAL_II_NAMESPACE_CLOSE
index 95029b66b336cc0c60731d039b987b1638c4ff31..2547c3c1062eb9d843dabcc54c8698088d5ac7aa 100644 (file)
@@ -20,6 +20,8 @@
 #include <iomanip>
 #include <strings.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 
 
 TableEntryBase::TableEntryBase ()
@@ -527,3 +529,5 @@ void TableHandler::add_value<unsigned int> (const std::string &,
 template
 void TableHandler::add_value<std::string> (const std::string &,
                                           const std::string);
+
+DEAL_II_NAMESPACE_CLOSE
index b4f8f691ad9b217355009bc2cbe21c1c86cb800c..1c1c25b27272601d51ccf2b07edfb6436a2dfd04 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 1999, 2000, 2001, 2002, 2003, 2005 by the deal.II authors
+//    Copyright (C) 1999, 2000, 2001, 2002, 2003, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -16,6 +16,8 @@
 #include <cmath>
 #include <lac/vector.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 
 // storage for static variables
 template <int dim>
@@ -87,3 +89,5 @@ template class Tensor<3, 3>;
 template class Tensor<4, 1>;
 template class Tensor<4, 2>;
 template class Tensor<4, 3>;
+
+DEAL_II_NAMESPACE_CLOSE
index afb6351958ef437cb1b279ceae022242f8774294..57aa700ec5e66b0949db441c51c199f513a0f7de 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 1999, 2000, 2001, 2002, 2003, 2005 by the deal.II authors
+//    Copyright (C) 1999, 2000, 2001, 2002, 2003, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -18,6 +18,8 @@
 #include <cmath>
 #include <lac/vector.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 
 //////////////////////////////////////////////////////////////////////
 // TensorFunction
@@ -92,3 +94,5 @@ template class TensorFunction<1,3>;
 template class TensorFunction<2,3>;
 template class TensorFunction<3,3>;
 template class TensorFunction<4,3>;
+
+DEAL_II_NAMESPACE_CLOSE
index eee3ffd7d3bb936787a8d0788505386fa58dbc36..4fee35a7b5b3c349411941b1ac3bc83f0a76c55e 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 by the deal.II authors
+//    Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -16,6 +16,8 @@
 #include <base/exceptions.h>
 #include <base/table.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 
 
 /* ------------------- TensorProductPolynomials -------------- */
@@ -545,3 +547,5 @@ template class TensorProductPolynomials<3>;
 template class AnisotropicPolynomials<1>;
 template class AnisotropicPolynomials<2>;
 template class AnisotropicPolynomials<3>;
+
+DEAL_II_NAMESPACE_CLOSE
index 735dbd3654c8b6462b4e96a49ea478823c9ac088..c7b2402cbfdee0cb5c3147064966d742edb371f6 100644 (file)
@@ -25,6 +25,8 @@
 #endif
 #include <sys/errno.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 
 namespace Threads 
 {
@@ -407,3 +409,5 @@ namespace Threads
 #endif  // (DEAL_II_USE_MT == 1) && defined(DEAL_II_USE_MT_POSIX)
   
 }   // end namespace Thread
+
+DEAL_II_NAMESPACE_CLOSE
index 2464f4a527ed2732b9920e0f11d197c9309f3d4d..9f5208ea5aabf2ae23a9f3a5978fa0f119e31b48 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2005 by the deal.II authors
+//    Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -29,6 +29,7 @@ extern "C" {
 }
 #endif
 
+DEAL_II_NAMESPACE_OPEN
 
 
 
@@ -102,3 +103,5 @@ void Timer::reset ()
   cumulative_time = 0.;
   running         = false;
 }
+
+DEAL_II_NAMESPACE_CLOSE
index 6f467c250c4c7a985a9993fa42f81d957df07525..291caf2982e097c717328cc65ab01f21cc1095d6 100644 (file)
@@ -32,6 +32,8 @@
 #  include <limits.h>
 #endif
 
+DEAL_II_NAMESPACE_OPEN
+
 
 namespace Utilities
 {
@@ -450,3 +452,5 @@ namespace Utilities
   }
   
 }
+
+DEAL_II_NAMESPACE_CLOSE
index 82b3612a3a8b330bf78e4dbf335484af5a303e4b..349be331fea0892278f0855922321ec0f9e33be4 100755 (executable)
@@ -1,5 +1,5 @@
 #! /bin/sh
-# From configure.in Revision: 13905 .
+# From configure.in Revision: 13973 .
 # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.59 for deal.II 5.3.pre.
 #
index 1ee4c2c5cecb84b8c2c08f987e975070fe4b5361..f2310818ee05858d2d87835f8917c70a2ce859f8 100644 (file)
@@ -605,6 +605,14 @@ AH_TOP(
 // In case of problems in autodetection of features of your build
 // environment, contact the authors of the library.
 
+
+/**
+ * Two macro names that we put at the top and bottom of all deal.II files
+ * and that will be expanded to "namespace dealii {" and "}".
+ */
+#define DEAL_II_NAMESPACE_OPEN namespace dealii {
+#define DEAL_II_NAMESPACE_CLOSE }
+
 ])
 
 
index 1e547a277631f031d73d6841c31267a38fc27aa8..71255235b698d1e35423dc475bf9a949b032a2b3 100644 (file)
 #include <grid/tria_accessor.h>
 #include <dofs/dof_handler.h>
 #include <dofs/hp_dof_handler.h>
+
 #include <vector>
 
+DEAL_II_NAMESPACE_OPEN
 
 template <typename number> class FullMatrix;
 template <typename number> class SparseMatrix;
@@ -1468,6 +1470,7 @@ void
 DoFCellAccessor<hp::DoFHandler<3> >::update_cell_dof_indices_cache () const;
 
 
+DEAL_II_NAMESPACE_CLOSE
 
 // include more templates
 #include "dof_accessor.templates.h"
index feb66d3a35aa86c6ad23a25f79ffaae0e3661ffc..4a732ec9149093d028b6a10f351df1d66141f9fb 100644 (file)
@@ -23,6 +23,7 @@
 
 #include <vector>
 
+DEAL_II_NAMESPACE_OPEN
 
   
 
@@ -274,7 +275,7 @@ DoFAccessor<dim,DH>::get_fe (const unsigned int fe_index) const
 template <>
 inline
 const FiniteElement<1> &
-DoFAccessor<1,::DoFHandler<1> >::get_fe (const unsigned int fe_index) const
+DoFAccessor<1,dealii::DoFHandler<1> >::get_fe (const unsigned int fe_index) const
 {
   Assert (fe_index_is_active (fe_index) == true,
          ExcMessage ("This function can only be called for active fe indices"));  
@@ -286,7 +287,7 @@ DoFAccessor<1,::DoFHandler<1> >::get_fe (const unsigned int fe_index) const
 template <>
 inline
 const FiniteElement<2> &
-DoFAccessor<1,::DoFHandler<2> >::get_fe (const unsigned int fe_index) const
+DoFAccessor<1,dealii::DoFHandler<2> >::get_fe (const unsigned int fe_index) const
 {
   Assert (fe_index_is_active (fe_index) == true,
          ExcMessage ("This function can only be called for active fe indices"));  
@@ -298,7 +299,7 @@ DoFAccessor<1,::DoFHandler<2> >::get_fe (const unsigned int fe_index) const
 template <>
 inline
 const FiniteElement<3> &
-DoFAccessor<1,::DoFHandler<3> >::get_fe (const unsigned int fe_index) const
+DoFAccessor<1,dealii::DoFHandler<3> >::get_fe (const unsigned int fe_index) const
 {
   Assert (fe_index_is_active (fe_index) == true,
          ExcMessage ("This function can only be called for active fe indices"));  
@@ -310,7 +311,7 @@ DoFAccessor<1,::DoFHandler<3> >::get_fe (const unsigned int fe_index) const
 template <>
 inline
 const FiniteElement<2> &
-DoFAccessor<2,::DoFHandler<2> >::get_fe (const unsigned int fe_index) const
+DoFAccessor<2,dealii::DoFHandler<2> >::get_fe (const unsigned int fe_index) const
 {
   Assert (fe_index_is_active (fe_index) == true,
          ExcMessage ("This function can only be called for active fe indices"));  
@@ -322,7 +323,7 @@ DoFAccessor<2,::DoFHandler<2> >::get_fe (const unsigned int fe_index) const
 template <>
 inline
 const FiniteElement<3> &
-DoFAccessor<2,::DoFHandler<3> >::get_fe (const unsigned int fe_index) const
+DoFAccessor<2,dealii::DoFHandler<3> >::get_fe (const unsigned int fe_index) const
 {
   Assert (fe_index_is_active (fe_index) == true,
          ExcMessage ("This function can only be called for active fe indices"));  
@@ -334,7 +335,7 @@ DoFAccessor<2,::DoFHandler<3> >::get_fe (const unsigned int fe_index) const
 template <>
 inline
 const FiniteElement<3> &
-DoFAccessor<3,::DoFHandler<3> >::get_fe (const unsigned int fe_index) const
+DoFAccessor<3,dealii::DoFHandler<3> >::get_fe (const unsigned int fe_index) const
 {
   Assert (fe_index_is_active (fe_index) == true,
          ExcMessage ("This function can only be called for active fe indices"));  
@@ -1037,5 +1038,6 @@ distribute_local_to_global (const FullMatrix<number> &local_source,
 }
 
 
+DEAL_II_NAMESPACE_CLOSE
 
 #endif
index 611a97af0225db0e6c9b1cb0bf09a3df84ff4ad6..6b3fdcc7cb5652b52c94dafaf2479842a7c99d85 100644 (file)
@@ -21,6 +21,8 @@
 #include <base/exceptions.h>
 #include <base/subscriptor.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 template <typename> class Vector;
 template <typename> class FullMatrix;
 class SparsityPattern;
@@ -1126,5 +1128,6 @@ ConstraintMatrix::is_constrained (const unsigned int index) const
           (constraint_line_exists[index] == true));
 }
 
+DEAL_II_NAMESPACE_CLOSE
 
 #endif
index 1d609e892dae15b8a3a7ed65701b32568ee2ec2e..b415292cca50a2fa0b3fc17feab98476af8ab592 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 by the deal.II authors
+//    Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -23,6 +23,7 @@
 #include <lac/block_sparsity_pattern.h>
 #include <lac/block_sparse_matrix.h>
 
+DEAL_II_NAMESPACE_OPEN
 
 
 template<typename number>
@@ -911,4 +912,6 @@ ConstraintMatrix::distribute (VectorType &vec) const
 }
 
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index d1e0a4044209f71b2dcf2a883e8a9e102cb33afc..839c7828d185b9f29e12d49a25479e813e3c09e7 100644 (file)
@@ -19,6 +19,7 @@
 #include <dofs/dof_objects.h>
 #include <vector>
 
+DEAL_II_NAMESPACE_OPEN
 
 template <int> class DoFHandler;
 template <int> class MGDoFHandler;
@@ -54,7 +55,7 @@ namespace internal
  * DoFAccessor::dof_index() functions or similar functions of derived classes that in turn
  * access the member variables using the DoFHandler::get_dof_index() and corresponding
  * setter functions. Knowledge of the actual data format is therefore encapsulated to the
- * present hierarchy of classes as well as the ::DoFHandler class.
+ * present hierarchy of classes as well as the dealii::DoFHandler class.
  *
  * @ingroup dofs
  * @author Tobias Leicht, 2006
@@ -120,8 +121,8 @@ namespace internal
                                           * resize arrays as
                                           * necessary.
                                           */
-       template <int> friend class ::DoFHandler;       
-       template <int> friend class ::MGDoFHandler;
+       template <int> friend class dealii::DoFHandler; 
+       template <int> friend class dealii::MGDoFHandler;
     };
 
 /**
@@ -158,10 +159,13 @@ namespace internal
                                           * resize arrays as
                                           * necessary.
                                           */
-       template <int> friend class ::DoFHandler;       
-       template <int> friend class ::MGDoFHandler;
+       template <int> friend class dealii::DoFHandler; 
+       template <int> friend class dealii::MGDoFHandler;
     };
 
   }
 }
+
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index bbae41993c5866e89762224837c8a80dbc919e6c..55283f2ceee6c568ef0d6493457f0a09bfa8915c 100644 (file)
@@ -25,6 +25,8 @@
 #include <map>
 #include <set>
 
+DEAL_II_NAMESPACE_OPEN
+
 namespace internal
 {
   namespace DoFHandler
@@ -131,7 +133,7 @@ class DoFHandler  :  public Subscriptor
                                      * Alias the @p FunctionMap type
                                      * declared elsewhere.
                                      */
-    typedef typename ::FunctionMap<dim>::type FunctionMap;
+    typedef typename dealii::FunctionMap<dim>::type FunctionMap;
 
                                     /**
                                      * Make the dimension available
@@ -1454,7 +1456,8 @@ DoFHandler<dim>::nth_active_fe_index (const unsigned int,
 
 #endif // DOXYGEN
 
-/*----------------------------   dof_handler.h     ---------------------------*/
+DEAL_II_NAMESPACE_CLOSE
 
+/*----------------------------   dof_handler.h     ---------------------------*/
 #endif
 /*----------------------------   dof_handler.h     ---------------------------*/
index 33321988a096a32e4fea0f24f25cc3a4fc418b09..39145d92be2180080417ba860bc7b44270b0f55f 100644 (file)
@@ -21,6 +21,8 @@
 //  2. Can cell_iterator and quad_iterator in 2D be different (or hex
 //     in 3D)?
 
+DEAL_II_NAMESPACE_OPEN
+
 template <int structdim, class DH> class DoFAccessor;
 template <class DH> class DoFCellAccessor;
 template <int celldim, class DH> class DoFObjectAccessor;
@@ -212,4 +214,6 @@ namespace internal
   }
 }
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif // __deal2__dof_iterator_selector_h
index f0dc8ff392d8e1e30d66643d1e15baa829c3f151..a488f52fcda69a390535426bc57f06fb7df6f992 100644 (file)
@@ -19,6 +19,8 @@
 #include <dofs/dof_objects.h>
 #include <vector>
 
+DEAL_II_NAMESPACE_OPEN
+
 template <int> class DoFHandler;
 template <int> class MGDoFHandler;
 
@@ -46,7 +48,7 @@ namespace internal
  * Note that vertices are separate from, and in fact have nothing to
  * do with cells. The indices of degrees of freedom located on
  * vertices therefore are not stored here, but rather in member
- * variables of the ::DoFHandler class.
+ * variables of the dealii::DoFHandler class.
  *
  * The indices of degrees of freedom located on lower dimensional
  * objects, i.e. on lines for 2D and on quads and lines for 3D are
@@ -71,7 +73,7 @@ namespace internal
  * DoFHandler::get_dof_index() and corresponding setter functions.
  * Knowledge of the actual data format is therefore
  * encapsulated to the present hierarchy of classes as well as the
- * ::DoFHandler class.
+ * dealii::DoFHandler class.
  *
  * @ingroup dofs
  * @author Wolfgang Bangerth, 1998, 2006
@@ -150,8 +152,8 @@ namespace internal
                                           * resize arrays as
                                           * necessary.
                                           */
-        template <int> friend class ::DoFHandler;
-        template <int> friend class ::MGDoFHandler;
+        template <int> friend class dealii::DoFHandler;
+        template <int> friend class dealii::MGDoFHandler;
     };
 
 
@@ -187,8 +189,8 @@ namespace internal
                                           * resize arrays as
                                           * necessary.
                                           */
-        template <int> friend class ::DoFHandler;
-        template <int> friend class ::MGDoFHandler;
+        template <int> friend class dealii::DoFHandler;
+        template <int> friend class dealii::MGDoFHandler;
     };
 
 
@@ -225,11 +227,13 @@ namespace internal
                                           * resize arrays as
                                           * necessary.
                                           */
-        template <int> friend class ::DoFHandler;
-        template <int> friend class ::MGDoFHandler;
+        template <int> friend class dealii::DoFHandler;
+        template <int> friend class dealii::MGDoFHandler;
     };
 
   }
 }
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index 7e1297fb4eba16ceb6b593a4543135a0ef0dc654..d9125523e8cb8b33a06f373958000ba0dc9b8297 100644 (file)
@@ -18,6 +18,8 @@
 #include <base/exceptions.h>
 #include <vector>
 
+DEAL_II_NAMESPACE_OPEN
+
 template <int> class DoFHandler;
 
 namespace internal
@@ -94,7 +96,7 @@ namespace internal
                                           */
        template <int spacedim>
         void
-        set_dof_index (const ::DoFHandler<spacedim> &dof_handler,
+        set_dof_index (const dealii::DoFHandler<spacedim> &dof_handler,
                       const unsigned int       obj_index,
                       const unsigned int       fe_index,
                       const unsigned int       local_index,
@@ -127,7 +129,7 @@ namespace internal
                                           */
        template <int spacedim>
        unsigned int
-        get_dof_index (const ::DoFHandler<spacedim> &dof_handler,
+        get_dof_index (const dealii::DoFHandler<spacedim> &dof_handler,
                       const unsigned int       obj_index,
                       const unsigned int       fe_index,
                       const unsigned int       local_index) const;
@@ -142,7 +144,7 @@ namespace internal
                                           */
         template <int spacedim>
         unsigned int
-        n_active_fe_indices (const ::DoFHandler<spacedim> &dof_handler,
+        n_active_fe_indices (const dealii::DoFHandler<spacedim> &dof_handler,
                              const unsigned int       index) const;
 
                                          /**
@@ -153,7 +155,7 @@ namespace internal
                                           */
         template <int spacedim>
         bool
-        fe_index_is_active (const ::DoFHandler<spacedim> &dof_handler,
+        fe_index_is_active (const dealii::DoFHandler<spacedim> &dof_handler,
                             const unsigned int       index,
                             const unsigned int       fe_index) const;
 
@@ -182,7 +184,7 @@ namespace internal
     template <int spacedim>
     inline
     unsigned int
-    DoFObjects<dim>::n_active_fe_indices (const ::DoFHandler<spacedim> &,
+    DoFObjects<dim>::n_active_fe_indices (const dealii::DoFHandler<spacedim> &,
                                          const unsigned) const
     {
       return 1;
@@ -194,7 +196,7 @@ namespace internal
     template <int spacedim>
     inline
     bool
-    DoFObjects<dim>::fe_index_is_active (const ::DoFHandler<spacedim> &,
+    DoFObjects<dim>::fe_index_is_active (const dealii::DoFHandler<spacedim> &,
                                         const unsigned int,
                                         const unsigned int fe_index) const
     {
@@ -211,12 +213,12 @@ namespace internal
     inline
     unsigned int
     DoFObjects<dim>::
-    get_dof_index (const ::DoFHandler<spacedim> &dof_handler,
+    get_dof_index (const dealii::DoFHandler<spacedim> &dof_handler,
                   const unsigned int       obj_index,
                   const unsigned int       fe_index,
                   const unsigned int       local_index) const
     {
-      Assert (fe_index == ::DoFHandler<spacedim>::default_fe_index,
+      Assert (fe_index == dealii::DoFHandler<spacedim>::default_fe_index,
              ExcMessage ("Only the default FE index is allowed for non-hp DoFHandler objects"));
       Assert (local_index<dof_handler.get_fe().template n_dofs_per_object<dim>(),
              ExcIndexRange (local_index, 0, dof_handler.get_fe().template n_dofs_per_object<dim>()));
@@ -231,4 +233,7 @@ namespace internal
 
   }
 }
+
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index cbefc4e832bd174ddd7044f6fe43c9bb92382353..7aabd175af6e09b7a3010265d4c83e0094fa83a6 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2003, 2004, 2005 by the deal.II authors
+//    Copyright (C) 2003, 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -22,6 +22,7 @@
 
 #include <vector>
 
+DEAL_II_NAMESPACE_OPEN
 
 /**
  * Implementation of a number of renumbering algorithms for the degrees of
@@ -671,5 +672,6 @@ class DoFRenumbering
     DeclException0 (ExcNotDGFEM);
 };
 
+DEAL_II_NAMESPACE_CLOSE
 
 #endif
index 45a0f8386e3cc527a62608a6fb1dae36faa6dbed..a1f3439ed115995ddb5e8e3af2af00ab49470a6b 100644 (file)
@@ -23,6 +23,8 @@
 #include <set>
 #include <map>
 
+DEAL_II_NAMESPACE_OPEN
+
 template<int dim, class T> class Table;
 class SparsityPattern;
 template <typename number> class Vector;
@@ -1892,5 +1894,6 @@ DoFTools::map_support_points_to_dofs (
 }
 
 
+DEAL_II_NAMESPACE_CLOSE
 
 #endif
index c35b51a2e2312c8f807f5a57264ccb50109c9ec2..91bbfab6d5f7f262166d82f47a91e269623e437b 100644 (file)
@@ -16,6 +16,8 @@
 #include <base/config.h>
 #include <map>
 
+DEAL_II_NAMESPACE_OPEN
+
 template <int dim> class Function;
 
 
@@ -50,5 +52,6 @@ struct FunctionMap
     typedef std::map<unsigned char, const Function<dim>*> type;
 };
 
+DEAL_II_NAMESPACE_CLOSE
 
 #endif
index 1d3de9bf6577307149924375ef7843917c3edd0c..86868b83d7a6f2b04e0989a996e6ea4b6289d4c2 100644 (file)
@@ -21,6 +21,7 @@
 
 #include <vector>
 
+DEAL_II_NAMESPACE_OPEN
 
 namespace hp
 {
@@ -97,7 +98,7 @@ namespace internal
                                           */
         unsigned int memory_consumption () const;
 
-       template <int> friend class ::hp::DoFHandler;   
+       template <int> friend class dealii::hp::DoFHandler;     
     };
 
 /**
@@ -120,7 +121,7 @@ namespace internal
                                           */
         unsigned int memory_consumption () const;
 
-       template <int> friend class ::hp::DoFHandler;   
+       template <int> friend class dealii::hp::DoFHandler;     
     };
 
 /**
@@ -144,11 +145,13 @@ namespace internal
                                           */
         unsigned int memory_consumption () const;
 
-       template <int> friend class ::hp::DoFHandler;   
+       template <int> friend class dealii::hp::DoFHandler;     
     };
     
   } // namespace hp
   
 } // namespace internal
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index c49c8e165f165f9bf63d420606cea416626bad97..8c378a10fd5edb4806171aed7f2b7800a25bbcca 100644 (file)
@@ -27,6 +27,7 @@
 #include <map>
 #include <set>
 
+DEAL_II_NAMESPACE_OPEN
 
 namespace internal
 {
@@ -114,7 +115,7 @@ namespace hp
                                        * The default index of the
                                        * finite element to be used on
                                        * a given cell. For the usual,
-                                       * non-hp ::DoFHandler class
+                                       * non-hp dealii::DoFHandler class
                                        * that only supports the same
                                        * finite element to be used on
                                        * all cells, the index of the
@@ -1269,17 +1270,17 @@ namespace hp
                                        /**
                                         * Make accessor objects friends.
                                         */
-      template <int structdim, class DH> friend class ::DoFAccessor;
+      template <int structdim, class DH> friend class dealii::DoFAccessor;
 
                                        /**
                                         * Make accessor objects friends.
                                         */
-      template <int dim1, class DH> friend class ::DoFObjectAccessor;
+      template <int dim1, class DH> friend class dealii::DoFObjectAccessor;
 
                                        /**
                                         * Make accessor objects friends.
                                         */
-      template <class DH> friend class ::DoFCellAccessor;
+      template <class DH> friend class dealii::DoFCellAccessor;
 
                                        /**
                                         * Likewise for DoFLevel
@@ -1450,7 +1451,7 @@ namespace hp
                        const unsigned int fe_index,
                        const unsigned int local_index) const
   {
-    Assert (fe_index != ::hp::DoFHandler<dim>::default_fe_index,
+    Assert (fe_index != dealii::hp::DoFHandler<dim>::default_fe_index,
            ExcMessage ("You need to specify a FE index when working "
                        "with hp DoFHandlers"));
     Assert (finite_elements != 0,
@@ -1503,7 +1504,7 @@ namespace hp
                        const unsigned int local_index,
                        const unsigned int global_index)
   {
-    Assert (fe_index != ::hp::DoFHandler<dim>::default_fe_index,
+    Assert (fe_index != dealii::hp::DoFHandler<dim>::default_fe_index,
            ExcMessage ("You need to specify a FE index when working "
                        "with hp DoFHandlers"));
     Assert (finite_elements != 0,
@@ -1649,7 +1650,7 @@ namespace hp
   fe_is_active_on_vertex (const unsigned int vertex_index,
                          const unsigned int fe_index) const
   {
-    Assert (fe_index != ::hp::DoFHandler<dim>::default_fe_index,
+    Assert (fe_index != dealii::hp::DoFHandler<dim>::default_fe_index,
            ExcMessage ("You need to specify a FE index when working "
                        "with hp DoFHandlers"));
     Assert (finite_elements != 0,
@@ -1697,6 +1698,8 @@ namespace hp
     
 }
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
 
   
index a0e0abee0d9463301f317dae6a3d68b42ce659dc..47e9c32f2570e9bd33e0575001741823c988302c 100644 (file)
@@ -19,6 +19,7 @@
 
 #include <vector>
 
+DEAL_II_NAMESPACE_OPEN
 
 namespace internal
 {
@@ -179,7 +180,7 @@ namespace internal
                                           * resize arrays as
                                           * necessary.
                                           */
-        template <int> friend class ::hp::DoFHandler;
+        template <int> friend class dealii::hp::DoFHandler;
     };
 
 
@@ -213,7 +214,7 @@ namespace internal
                                           * resize arrays as
                                           * necessary.
                                           */
-        template <int> friend class ::hp::DoFHandler;
+        template <int> friend class dealii::hp::DoFHandler;
     };
 
 
@@ -248,11 +249,13 @@ namespace internal
                                           * resize arrays as
                                           * necessary.
                                           */
-        template <int> friend class ::hp::DoFHandler;
+        template <int> friend class dealii::hp::DoFHandler;
     };
 
   } // namespace hp
   
 } // namespace internal
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index 62ac5fec429e2768b9637b32347307a0274d2945..970af611885f28ddc3358f63e76d979a4cb2aca2 100644 (file)
@@ -19,6 +19,7 @@
 
 #include <vector>
 
+DEAL_II_NAMESPACE_OPEN
 
 namespace internal
 {
@@ -142,7 +143,7 @@ namespace internal
                                          */
         template <int spacedim>
         void
-        set_dof_index (const ::hp::DoFHandler<spacedim> &dof_handler,
+        set_dof_index (const dealii::hp::DoFHandler<spacedim> &dof_handler,
                       const unsigned int               obj_index,
                       const unsigned int               fe_index,
                       const unsigned int               local_index,
@@ -174,7 +175,7 @@ namespace internal
                                          */
         template <int spacedim>
         unsigned int
-        get_dof_index (const ::hp::DoFHandler<spacedim> &dof_handler,
+        get_dof_index (const dealii::hp::DoFHandler<spacedim> &dof_handler,
                       const unsigned int               obj_index,
                       const unsigned int               fe_index,
                       const unsigned int               local_index,
@@ -205,7 +206,7 @@ namespace internal
                                           */
         template <int spacedim>
         unsigned int
-        n_active_fe_indices (const ::hp::DoFHandler<spacedim> &dof_handler,
+        n_active_fe_indices (const dealii::hp::DoFHandler<spacedim> &dof_handler,
                              const unsigned int               obj_index) const;
 
                                         /**
@@ -215,7 +216,7 @@ namespace internal
                                          */
         template <int spacedim>
         unsigned int
-        nth_active_fe_index (const ::hp::DoFHandler<spacedim> &dof_handler,
+        nth_active_fe_index (const dealii::hp::DoFHandler<spacedim> &dof_handler,
                             const unsigned int               obj_level,
                              const unsigned int               obj_index,
                             const unsigned int               n) const;
@@ -228,7 +229,7 @@ namespace internal
                                           */
         template <int spacedim>
         bool
-        fe_index_is_active (const ::hp::DoFHandler<spacedim> &dof_handler,
+        fe_index_is_active (const dealii::hp::DoFHandler<spacedim> &dof_handler,
                             const unsigned int               obj_index,
                             const unsigned int               fe_index,
                            const unsigned int               obj_level) const;
@@ -246,7 +247,7 @@ namespace internal
                                           * resize arrays as
                                           * necessary.
                                           */
-        template <int> friend class ::hp::DoFHandler;
+        template <int> friend class dealii::hp::DoFHandler;
     };
 
 
@@ -257,13 +258,13 @@ namespace internal
     inline
     unsigned int
     DoFObjects<dim>::
-    get_dof_index (const ::hp::DoFHandler<spacedim> &dof_handler,
+    get_dof_index (const dealii::hp::DoFHandler<spacedim> &dof_handler,
                    const unsigned int                obj_index,
                    const unsigned int                fe_index,
                    const unsigned int                local_index,
                    const unsigned int                obj_level) const
     {
-      Assert (fe_index != ::hp::DoFHandler<spacedim>::default_fe_index,
+      Assert (fe_index != dealii::hp::DoFHandler<spacedim>::default_fe_index,
               ExcMessage ("You need to specify a FE index when working "
                           "with hp DoFHandlers"));
       Assert (&dof_handler != 0,
@@ -338,14 +339,14 @@ namespace internal
     inline
     void
     DoFObjects<dim>::
-    set_dof_index (const ::hp::DoFHandler<spacedim> &dof_handler,
+    set_dof_index (const dealii::hp::DoFHandler<spacedim> &dof_handler,
                    const unsigned int                obj_index,
                    const unsigned int                fe_index,
                    const unsigned int                local_index,
                    const unsigned int                global_index,
                    const unsigned int                obj_level)
     {
-      Assert (fe_index != ::hp::DoFHandler<spacedim>::default_fe_index,
+      Assert (fe_index != dealii::hp::DoFHandler<spacedim>::default_fe_index,
               ExcMessage ("You need to specify a FE index when working "
                           "with hp DoFHandlers"));
       Assert (&dof_handler != 0,
@@ -423,7 +424,7 @@ namespace internal
     inline
     unsigned int
     DoFObjects<dim>::
-    n_active_fe_indices (const ::hp::DoFHandler<spacedim> &dof_handler,
+    n_active_fe_indices (const dealii::hp::DoFHandler<spacedim> &dof_handler,
                          const unsigned int                obj_index) const
     {
       Assert (dim <= spacedim, ExcInternalError());
@@ -486,7 +487,7 @@ namespace internal
     inline
     unsigned int
     DoFObjects<dim>::
-    nth_active_fe_index (const ::hp::DoFHandler<spacedim> &dof_handler,
+    nth_active_fe_index (const dealii::hp::DoFHandler<spacedim> &dof_handler,
                          const unsigned int                obj_level,
                          const unsigned int                obj_index,
                          const unsigned int                n) const
@@ -566,7 +567,7 @@ namespace internal
     inline
     bool
     DoFObjects<dim>::
-    fe_index_is_active (const ::hp::DoFHandler<spacedim> &dof_handler,
+    fe_index_is_active (const dealii::hp::DoFHandler<spacedim> &dof_handler,
                         const unsigned int                obj_index,
                         const unsigned int                fe_index,
                         const unsigned int                obj_level) const
@@ -578,7 +579,7 @@ namespace internal
                           "this DoFHandler"));
       Assert (obj_index < dof_offsets.size(),
               ExcIndexRange (obj_index, 0, dof_offsets.size()));
-      Assert (fe_index != ::hp::DoFHandler<spacedim>::default_fe_index,
+      Assert (fe_index != dealii::hp::DoFHandler<spacedim>::default_fe_index,
               ExcMessage ("You need to specify a FE index when working "
                           "with hp DoFHandlers"));
       Assert (fe_index < dof_handler.get_fe().size(),
@@ -638,7 +639,6 @@ namespace internal
   }
 }
 
-#endif
-
-
+DEAL_II_NAMESPACE_CLOSE
 
+#endif
index aa3efe0c05e6fe5bd7a63b2b5861ab91390c8a4d..6b1eb6e037e2dec1265fed8d6b2d6efa1798d1ae 100644 (file)
@@ -16,6 +16,8 @@
 #include <base/config.h>
 #include <fe/fe_base.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 template <int dim> class FEValuesData;
 template <int dim> class FEValuesBase;
 template <int dim> class FEValues;
@@ -2619,4 +2621,6 @@ FiniteElement<dim>::is_primitive () const
 }
 
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index 862e99130dba4bb9acb37c0c62e8e960f5ba53c6..ab716f7a5a77366110bc07261c3f48c67bc49b81 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2003, 2004, 2005 by the deal.II authors
+//    Copyright (C) 2003, 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -24,6 +24,8 @@
 
 #include <vector>
 
+DEAL_II_NAMESPACE_OPEN
+
 template <int dim> class MappingQ;
 
 
@@ -387,4 +389,6 @@ std::vector<unsigned int> FE_ABF<1>::get_dpo_vector (const unsigned int);
 
 #endif // DOXYGEN
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index 4a40d6a78822e0ac176ed36145ad3a9979770327..6eebc85d31044a816c41cf05bcf4264b23a8dac0 100644 (file)
@@ -28,6 +28,8 @@
 #include <string>
 #include <vector>
 
+DEAL_II_NAMESPACE_OPEN
+
 template<int dim> class FESystem;
 
 
@@ -832,5 +834,6 @@ face_to_equivalent_cell_index (const unsigned int index) const
 
 
 
+DEAL_II_NAMESPACE_CLOSE
 
 #endif
index 2150e91391d33d15325b6aee0378d1dab4b2a3f9..4d5288fdd801e704f5de9817de57d1b56173e014 100644 (file)
@@ -17,6 +17,7 @@
 #include <boost/shared_ptr.hpp>
 #include <fe/fe.h>
 
+DEAL_II_NAMESPACE_OPEN
 
 namespace hp
 {
@@ -361,5 +362,6 @@ namespace hp
 
 } // namespace hp
 
+DEAL_II_NAMESPACE_CLOSE
   
 #endif
index a8ee8f2c83b5d6c04a40b9c370401a20a883d278..1279e405bf77dd4bb3e050a28a956d300ee56b7e 100644 (file)
@@ -17,6 +17,8 @@
 #include <base/polynomial_space.h>
 #include <fe/fe_poly.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 template <int dim> class MappingQ;
 
 /*!@addtogroup fe */
@@ -373,4 +375,7 @@ const unsigned int FE_DGP<3>::Matrices::n_projection_matrices;
 #endif
 
 #endif // DOXYGEN
+
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index df79182e7e3f401c0b4174aaf4d146f39ab2c2e7..f1741d86d06c666bfefff4a91e39c601aa65a242 100644 (file)
@@ -17,6 +17,8 @@
 #include <base/polynomials_p.h>
 #include <fe/fe_poly.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 template <int dim> class MappingQ;
 
 
@@ -355,5 +357,6 @@ class FE_DGPMonomial : public FE_Poly<PolynomialsP<dim>,dim>
 
 /*@}*/
 
+DEAL_II_NAMESPACE_CLOSE
 
 #endif
index b1510bf9ba214047f170abba146fb602fbe07f55..1860978cbe691f8308c21bb94ef3067805f68a8e 100644 (file)
@@ -18,6 +18,8 @@
 #include <base/polynomial_space.h>
 #include <fe/fe.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 template <int dim> class PolynomialSpace;
 template <int dim> class MappingQ;
 
@@ -650,4 +652,6 @@ const unsigned int FE_DGPNonparametric<3>::Matrices::n_projection_matrices;
 
 #endif // DOXYGEN
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index b4498b4c3386893156f80af456dfb865fa2e759c..6608df10c26cd218a9775f78d73d6b4f26b7f4e8 100644 (file)
@@ -17,6 +17,8 @@
 #include <base/tensor_product_polynomials.h>
 #include <fe/fe_poly.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 template <int dim> class MappingQ;
 template <int dim> class Quadrature;
 
@@ -382,4 +384,6 @@ class FE_DGQ : public FE_Poly<TensorProductPolynomials<dim>,dim>
 
 /*@}*/
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index f0eec112e183609c1a34e32089aa691ced0f3d92..2b65530bf3eb2e895efbf173ce5aca8d4e7789b1 100644 (file)
@@ -17,6 +17,8 @@
 #include <base/geometry_info.h>
 #include <fe/fe.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 template <int dim> class MappingQ;
 
 
@@ -715,4 +717,7 @@ const unsigned int FE_Nedelec<3>::Matrices::n_constraint_matrices;
 
 #endif
 #endif // DOXYGEN
+
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index 075e2848553099184bda17b461464ac09f6ea838..dcaa39a3e72ad41d7d832c8d0a4ff610ddf7a883 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2004, 2005 by the deal.II authors
+//    Copyright (C) 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -16,6 +16,8 @@
 
 #include <fe/fe.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 /*!@addtogroup febase */
 /*@{*/
 
@@ -392,4 +394,6 @@ class FE_Poly : public FiniteElement<dim>
 
 /*@}*/
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index d2dcb4170508106960fea3b1762f9a1371906413..450e1715a13bed67c4bd34800b8ad53da3e61eef 100644 (file)
@@ -15,6 +15,8 @@
 #include <fe/fe_values.h>
 #include <fe/fe_poly.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 template <class POLY, int dim>
 FE_Poly<POLY,dim>::FE_Poly (const POLY& poly_space,
                            const FiniteElementData<dim> &fe_data,
@@ -399,3 +401,4 @@ FE_Poly<POLY,dim>::element_multiplicity (const unsigned int index) const
 }
 
 
+DEAL_II_NAMESPACE_CLOSE
index 787ae1a97657d474fc921e2c4a726dfbd6f9ed11..9a55a5569906b4301301ea1535ab97bc0b3847f4 100644 (file)
@@ -17,6 +17,8 @@
 #include <lac/full_matrix.h>
 #include <fe/fe.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 /*!@addtogroup febase */
 /*@{*/
 
@@ -408,4 +410,6 @@ class FE_PolyTensor : public FiniteElement<dim>
 
 /*@}*/
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index 257749bbe0ff9d4887793f36d93ea9064287cc3b..5babd3ffedee76ab42eeb8e65a1573a5ac8ac415 100644 (file)
@@ -17,6 +17,8 @@
 #include <base/tensor_product_polynomials.h>
 #include <fe/fe_poly.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 
 /*!@addtogroup fe */
 /*@{*/
@@ -569,4 +571,6 @@ template <>
 void FE_Q<3>::initialize_constraints ();
 
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index af16fac6d1193cf464c484c8dabc408dc080b54e..1367ec6eccfb6abb7757439387521ce0cd980645 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2002, 2003, 2004, 2005 by the deal.II authors
+//    Copyright (C) 2002, 2003, 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -17,6 +17,8 @@
 #include <base/tensor_product_polynomials.h>
 #include <fe/fe_poly.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 template <int dim> class MappingQ;
 
 
@@ -455,4 +457,6 @@ template <>
 std::vector<unsigned int>
 FE_Q_Hierarchical<1>::face_fe_q_hierarchical_to_hierarchic_numbering (const unsigned int);
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index 71b3e9af17c0110ae7332bf4d5e3a02a27929af5..336ada9d2945cba77e064360f48c902089b56efb 100644 (file)
@@ -24,6 +24,8 @@
 
 #include <vector>
 
+DEAL_II_NAMESPACE_OPEN
+
 template <int dim> class MappingQ;
 
 
@@ -460,4 +462,6 @@ std::vector<unsigned int> FE_RaviartThomas<1>::get_dpo_vector (const unsigned in
 
 #endif // DOXYGEN
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index 77673d4352e29a3ff07adda6cfba7c81ae2c9aa9..8968067916c4029e4e873fd1f2806ebb27684564 100644 (file)
@@ -22,6 +22,7 @@
 #include <vector>
 #include <utility>
 
+DEAL_II_NAMESPACE_OPEN
 
 /**
  * This class provides an interface to group several elements together
@@ -1063,6 +1064,7 @@ class FESystem : public FiniteElement<dim>
 template <> void FESystem<1>::initialize_unit_face_support_points ();
 
 
+DEAL_II_NAMESPACE_CLOSE
 
 /*----------------------------  fe_system.h  ---------------------------*/
 #endif
index e8d54b79fe351a9f8cd856f933265d08c56eefbb..ac7f35606a2863d68e5b14c1a04eb23f9bc3b9ff 100644 (file)
 #include <base/geometry_info.h>
 
 #include <vector>
-
 #include <boost/shared_ptr.hpp>
 
+
+DEAL_II_NAMESPACE_OPEN
+
 template <typename number> class FullMatrix;
 template <typename number> class Vector;
 template <int dim> class Quadrature;
@@ -1120,6 +1122,8 @@ FETools::FEFactory<FE>::get (const unsigned int degree) const
 
 /*@}*/
 
+DEAL_II_NAMESPACE_CLOSE
+
 /*----------------------------   fe_tools.h     ---------------------------*/
 /* end of #ifndef __deal2__fe_tools_H */
 #endif
index a83e7634ea5e7f1c2f15e44a4edc3f171bcf1e99..df31c2bf091581f6d9920c8bf91337c9adf6b460 100644 (file)
@@ -16,6 +16,7 @@
 
 #include <base/config.h>
 
+DEAL_II_NAMESPACE_OPEN
 
 /*!@addtogroup feaccess */
 /*@{*/
@@ -285,4 +286,6 @@ operator &= (UpdateFlags &f1, UpdateFlags f2)
 
 /*@}*/
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index 5941ecd692c1eeda082210ff9bfb4027c00a0588..26c74270cc9374151a5fa093ce2ae6f6a0c1315e 100644 (file)
@@ -40,6 +40,8 @@
 #include <algorithm>
 #include <memory>
 
+DEAL_II_NAMESPACE_OPEN
+
 template <int dim> class Quadrature;
 
 //TODO: Add access to mapping values to FEValuesBase
@@ -2761,5 +2763,6 @@ FEFaceValuesBase<dim>::boundary_form (const unsigned int i) const
 
 #endif // DOXYGEN
 
+DEAL_II_NAMESPACE_CLOSE
 
 #endif
index cfdb197aa47074cf4c368caff8656f0551a9de9c..3b3727ccffdc0b9236e4e6075a041b5a40213d68 100644 (file)
@@ -23,6 +23,8 @@
 #include <map>
 #include <boost/shared_ptr.hpp>
 
+DEAL_II_NAMESPACE_OPEN
+
 template <int dim> class MappingQ1;
 template <int dim> class FiniteElement;
 
@@ -39,7 +41,7 @@ namespace internal
  * that is common to them. The main task of this class is to provide a
  * table where for every combination of finite element, mapping, and
  * quadrature object from their corresponding collection objects there
- * is a matching ::FEValues, ::FEFaceValues, or ::FESubfaceValues
+ * is a matching dealii::FEValues, dealii::FEFaceValues, or dealii::FESubfaceValues
  * object. To make things more efficient, however, these FE*Values
  * objects are only created once requested (lazy allocation).
  *
@@ -48,8 +50,8 @@ namespace internal
  * i.e. for usual @p hp::FEValues it is equal to the first one, while
  * for face integration it is one less. The third template parameter
  * indicates the type of underlying non-hp FE*Values base type,
- * i.e. it could either be ::FEValues, ::FEFaceValues, or
- * ::FESubfaceValues.
+ * i.e. it could either be dealii::FEValues, dealii::FEFaceValues, or
+ * dealii::FESubfaceValues.
  * 
  * @ingroup hp
  *
@@ -65,9 +67,9 @@ namespace internal
                                           * indicated by the parameters
                                           * to the constructor.
                                           */
-        FEValuesBase (const ::hp::MappingCollection<dim> &mapping_collection,
-                      const ::hp::FECollection<dim>      &fe_collection,
-                      const ::hp::QCollection<q_dim>     &q_collection,
+        FEValuesBase (const dealii::hp::MappingCollection<dim> &mapping_collection,
+                      const dealii::hp::FECollection<dim>      &fe_collection,
+                      const dealii::hp::QCollection<q_dim>     &q_collection,
                       const UpdateFlags             update_flags);
                                          /**
                                           * Constructor. Set the fields
@@ -78,8 +80,8 @@ namespace internal
                                           * object for the mapping
                                           * object.
                                           */
-        FEValuesBase (const ::hp::FECollection<dim> &fe_collection,
-                      const ::hp::QCollection<q_dim> &q_collection,
+        FEValuesBase (const dealii::hp::FECollection<dim> &fe_collection,
+                      const dealii::hp::QCollection<q_dim> &q_collection,
                       const UpdateFlags         update_flags);
         
                                          /**
@@ -123,14 +125,14 @@ namespace internal
                                           * collection of finite
                                           * elements to be used.
                                           */
-        const SmartPointer<const ::hp::FECollection<dim> > fe_collection;
+        const SmartPointer<const dealii::hp::FECollection<dim> > fe_collection;
         
                                          /**
                                           * A pointer to the
                                           * collection of mappings to
                                           * be used.
                                           */
-        const SmartPointer<const ::hp::MappingCollection<dim> > mapping_collection;
+        const SmartPointer<const dealii::hp::MappingCollection<dim> > mapping_collection;
     
                                          /**
                                           * Copy of the quadrature
@@ -138,7 +140,7 @@ namespace internal
                                           * provided to the
                                           * constructor.
                                           */
-        const ::hp::QCollection<q_dim> q_collection;
+        const dealii::hp::QCollection<q_dim> q_collection;
 
       private:
                                          /**
@@ -196,7 +198,7 @@ namespace hp
  * @ingroup hp
  */  
   template <int dim>
-  class FEValues : public internal::hp::FEValuesBase<dim,dim,::FEValues<dim> >
+  class FEValues : public internal::hp::FEValuesBase<dim,dim,dealii::FEValues<dim> >
   {
     public:
                                        /**
@@ -219,9 +221,9 @@ namespace hp
                                         * <tt>DoFHandler::get_fe()</tt>
                                         * function.
                                         */
-      FEValues (const ::hp::MappingCollection<dim> &mapping_collection,
-                const ::hp::FECollection<dim>  &fe_collection,
-                const ::hp::QCollection<dim>       &q_collection,
+      FEValues (const dealii::hp::MappingCollection<dim> &mapping_collection,
+                const dealii::hp::FECollection<dim>  &fe_collection,
+                const dealii::hp::QCollection<dim>       &q_collection,
                 const UpdateFlags             update_flags);
 
 
@@ -387,7 +389,7 @@ namespace hp
                                         * these last three arguments.
                                         */
       void
-      reinit (const typename ::DoFHandler<dim>::cell_iterator &cell,
+      reinit (const typename dealii::DoFHandler<dim>::cell_iterator &cell,
               const unsigned int q_index = deal_II_numbers::invalid_unsigned_int,
               const unsigned int mapping_index = deal_II_numbers::invalid_unsigned_int,
               const unsigned int fe_index = deal_II_numbers::invalid_unsigned_int);
@@ -471,7 +473,7 @@ namespace hp
  * @ingroup hp
  */  
   template <int dim>
-  class FEFaceValues : public internal::hp::FEValuesBase<dim,dim-1,::FEFaceValues<dim> >
+  class FEFaceValues : public internal::hp::FEValuesBase<dim,dim-1,dealii::FEFaceValues<dim> >
   {
     public:
                                        /**
@@ -662,7 +664,7 @@ namespace hp
                                         * these last three arguments.
                                         */
       void
-      reinit (const typename ::DoFHandler<dim>::cell_iterator &cell,
+      reinit (const typename dealii::DoFHandler<dim>::cell_iterator &cell,
               const unsigned int face_no,
               const unsigned int q_index = deal_II_numbers::invalid_unsigned_int,
               const unsigned int mapping_index = deal_II_numbers::invalid_unsigned_int,
@@ -749,7 +751,7 @@ namespace hp
  * @ingroup hp
  */  
   template <int dim>
-  class FESubfaceValues : public internal::hp::FEValuesBase<dim,dim-1,::FESubfaceValues<dim> >
+  class FESubfaceValues : public internal::hp::FEValuesBase<dim,dim-1,dealii::FESubfaceValues<dim> >
   {
     public:
                                        /**
@@ -920,7 +922,7 @@ namespace hp
                                         * these last three arguments.
                                         */
       void
-      reinit (const typename ::DoFHandler<dim>::cell_iterator &cell,
+      reinit (const typename dealii::DoFHandler<dim>::cell_iterator &cell,
               const unsigned int face_no,
               const unsigned int subface_no,
               const unsigned int q_index = deal_II_numbers::invalid_unsigned_int,
@@ -1023,5 +1025,6 @@ namespace internal
   
 }
 
+DEAL_II_NAMESPACE_CLOSE
 
 #endif
index bb0660c0e3c734d3e49ecb74c6087e084083f47d..8f5016af4dafbecc998281a8d81300369532ebbe 100644 (file)
@@ -22,6 +22,8 @@
 
 #include <cmath>
 
+DEAL_II_NAMESPACE_OPEN
+
 template <int dim> class Quadrature;
 template <int dim> class FEValuesData;
 template <int dim> class FEValues;
@@ -541,4 +543,6 @@ Mapping<dim>::InternalDataBase::clear_first_cell ()
 }
 
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index f3c5c32ab5e64517a1d471d40d92d8b2e6e06f37..e0cb99d4c65dddf7d074d5e4473a3080e76eca02 100644 (file)
@@ -17,6 +17,7 @@
 #include <base/config.h>
 #include <fe/mapping_q.h>
 
+DEAL_II_NAMESPACE_OPEN
 
 /*!@addtogroup mapping */
 /*@{*/
@@ -135,4 +136,6 @@ template <> void MappingC1<2>::add_quad_support_points (
 
 #endif // DOXYGEN
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index 967b58c862dcb60d1c0dc9ad1de585e1edaf6c84..bdc3ff0a540bf6955f7d3ce7f8860517bf8f513e 100644 (file)
@@ -19,6 +19,7 @@
 #include <cmath>
 #include <fe/mapping.h>
 
+DEAL_II_NAMESPACE_OPEN
 
 /*!@addtogroup mapping */
 /*@{*/
@@ -251,4 +252,6 @@ template <> void MappingCartesian<1>::fill_fe_subface_values (
 
 #endif // DOXYGEN  
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index e1bc9eda17427a17a327935f3a65e6d5bc66adae..63929c5e782923c3d738157a737300bd713391b1 100644 (file)
@@ -21,6 +21,7 @@
 #include <vector>
 #include <boost/shared_ptr.hpp>
 
+DEAL_II_NAMESPACE_OPEN
 
 namespace hp
 {
@@ -189,4 +190,6 @@ namespace hp
 } // namespace hp
 
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index a98a841d533ec93bb1c3d4015a06718a9bccf13f..fe0eef6225fdc71a28bf1cfbb1aba619cf797c4b 100644 (file)
@@ -18,6 +18,8 @@
 #include <base/table.h>
 #include <fe/mapping_q1.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 template <int dim> class TensorProductPolynomials;
 
 
@@ -560,4 +562,6 @@ template<> void MappingQ<3>::add_quad_support_points(
 
 #endif // DOXYGEN
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index 415e236fa4a94e664e487ac98901a2b4698f21d7..69298495e761dff1649926a563ef897346967a57 100644 (file)
@@ -23,6 +23,7 @@
 
 #include <cmath>
 
+DEAL_II_NAMESPACE_OPEN
 
 /*!@addtogroup mapping */
 /*@{*/
@@ -743,4 +744,6 @@ template <> void MappingQ1<1>::fill_fe_subface_values (
 
 #endif // DOXYGEN
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index 24e447d4ce644dd7e426fc2013d93ac45c1b74c6..ab701da551c3cf6f24a7519635115dce7f82c0cd 100644 (file)
@@ -17,6 +17,7 @@
 #include <base/smartpointer.h>
 #include <fe/mapping_q1.h> 
 
+DEAL_II_NAMESPACE_OPEN
 
 /*!@addtogroup mapping */
 /*@{*/
@@ -168,4 +169,6 @@ class MappingQ1Eulerian : public MappingQ1<dim>
 
 /*@}*/
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index 0be7a119b564a0b94a455e5b00f0b56275b19f59..7aeb9a01353bd536b33b5c5971f37e179a2131a6 100644 (file)
@@ -22,6 +22,7 @@
 #include <vector>
 #include <boost/shared_ptr.hpp>
 
+DEAL_II_NAMESPACE_OPEN
 
 namespace hp
 {
@@ -192,4 +193,6 @@ namespace hp
 } // namespace hp
 
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index 501b755e03167313fa34f8d92d71b29cad644ec3..5c10346a9017bfa145b0b0403405cc95a6665110 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2002, 2003, 2004, 2005 by the deal.II authors
+//    Copyright (C) 2002, 2003, 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -18,6 +18,9 @@
 #include <base/exceptions.h>
 #include <grid/tria_iterator_base.h>
 
+DEAL_II_NAMESPACE_OPEN
+
+
 /**
  * In this namespace a number of classes is declared that may be used
  * as filters in the FilteredIterator class. The filters either
@@ -1069,6 +1072,8 @@ namespace IteratorFilters
 }
 
 
+DEAL_II_NAMESPACE_CLOSE
+
 /*------------------------- filtered_iterator.h ------------------------*/
 #endif
 /*------------------------- filtered_iterator.h ------------------------*/
index dc94e1e7176595dadac08b7a4fca36514d29b76f..e6697bf84305c0bfac4cccb7de3fcc14fa926bed 100644 (file)
@@ -19,6 +19,7 @@
 #include <base/point.h>
 #include <map>
 
+DEAL_II_NAMESPACE_OPEN
 
 template <int dim> class Triangulation;
 template <typename number> class Vector;
@@ -707,4 +708,6 @@ class GridGenerator
 
 
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index 333ba455a35e78315366e5a76708eba03ed1d5c4..bf609456896e6ee0f7cdd38a466eede3c0017a14 100644 (file)
@@ -21,6 +21,8 @@
 #include <vector>
 #include <string>
 
+DEAL_II_NAMESPACE_OPEN
+
 template <int dim> class Point;
 template <int dim> class Triangulation;
 template <int dim> class CellData;
@@ -457,4 +459,6 @@ GridIn<3>::debug_output_grid (const std::vector<CellData<3> > &cells,
 
 #endif // DOXYGEN
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index a4485ffbc9a8f5730efd9e799e6f4757574ce344..c4ffd123568fd121fc182259efc3a0c336112490 100644 (file)
@@ -20,6 +20,8 @@
 #include <base/point.h>
 #include <string>
 
+DEAL_II_NAMESPACE_OPEN
+
 class ParameterHandler;
 template <int dim> class Triangulation;
 template <int dim> class Mapping;
@@ -1310,4 +1312,6 @@ class GridOut
 
 
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index de5f6b280fe77bd17841280bf3b5f423e57ab08d..fd031eab82969a7f9b28edad1669acf629adaeed 100644 (file)
@@ -19,6 +19,7 @@
 
 #include <vector>
 
+DEAL_II_NAMESPACE_OPEN
 
 // forward declarations
 template <int dim> class Triangulation;
@@ -285,5 +286,6 @@ class GridRefinement
 };
 
 
+DEAL_II_NAMESPACE_CLOSE
 
 #endif //__deal2__grid_refinement_h
index 42fcb5a8e4fd0dc4fd54f17ba63f5f7e2d470e1f..79407be8895905f0aff6fd0b9175b267ef7812f9 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 by the deal.II authors
+//    Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -19,6 +19,7 @@
 
 #include <vector>
 
+DEAL_II_NAMESPACE_OPEN
 
 
 
@@ -686,5 +687,6 @@ class GridReordering
 };
 
 
+DEAL_II_NAMESPACE_CLOSE
 
 #endif
index 6c69b7b6b054efbdddd99b2f0a5411ef91f4bd33..f1321e154831ecc18d4485412e9b953bc9bd908d 100644 (file)
@@ -20,6 +20,7 @@
 #include <map>
 #include <vector>
 
+DEAL_II_NAMESPACE_OPEN
 
 
 namespace internal
@@ -826,4 +827,6 @@ namespace internal
 }  // namespace internal
 
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index 3ec7300797195ef13d7e48d484ea36d2a175a270..44c785fdbaf05e1bc8520f9d83be45056bbb13a5 100644 (file)
@@ -22,6 +22,7 @@
 
 #include <list>
 
+DEAL_II_NAMESPACE_OPEN
 
 
 /**
@@ -614,6 +615,7 @@ void GridTools::transform (const Predicate    &predicate,
 }
 
 
+DEAL_II_NAMESPACE_CLOSE
 
 /*----------------------------   grid_tools.h     ---------------------------*/
 /* end of #ifndef __deal2__grid_tools_H */
index 62c754b9a48759610a0e80cca8506c1125cfbeaa..9f3b80a5188c5d365e34d8becad15e721fcaf295 100644 (file)
@@ -19,6 +19,8 @@
 #include <grid/tria_accessor.h>
 #include <grid/tria_iterator.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 
 /**
  * This class provides a map between two grids which are derived from
@@ -226,4 +228,6 @@ class InterGridMap
 };
 
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index d7daa1b39d47fa5298be93be33d22d6073f38c3b..f497e23e415fe630ac8d905e7520c798f9a2ce3a 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2005 by the deal.II authors
+//    Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -15,6 +15,7 @@
 
 #include <base/config.h>
 
+DEAL_II_NAMESPACE_OPEN
 
 // This is a list of magic numbers used throughout the library.
 // They are collected in one file to avoid double usage.
@@ -36,4 +37,6 @@ const unsigned int mn_persistent_tria_flags_begin= 0xa200;
 const unsigned int mn_persistent_tria_flags_end  = 0xa201;
 
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index a56fd4bdb3fdf3acc037303d038594976111f665..4bce1e0340a359ccf058605338484d4b2256aa5b 100644 (file)
@@ -19,6 +19,7 @@
 #include <grid/tria.h>
 #include <vector>
 
+DEAL_II_NAMESPACE_OPEN
 
 /**
  * This class handles the history of a triangulation and can rebuild it after
@@ -299,4 +300,6 @@ class PersistentTriangulation : public Triangulation<dim>
 };
 
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index f10f0335c21749414d8d44277471ee02a2617061..7b0ed29f317feb3f9d34d3fcbecb0ca75207eb67 100644 (file)
 #include <vector>
 #include <list>
 
+DEAL_II_NAMESPACE_OPEN
+
 template <int dim> class Boundary;
 template <int dim> class StraightBoundary;
+
+template <int, int> class TriaObjectAccessor;
+
 namespace internal
 {
   namespace Triangulation
@@ -3283,4 +3288,6 @@ template <> void Triangulation<2>::update_number_cache_hexes ();
 
 #endif // DOXYGEN
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index 4b9a4d829c3fdf91abf84ca464ce2898b4285587..da1a4559ae1e66da644275076dc62494059354fb 100644 (file)
 #include <base/exceptions.h>
 #include <grid/tria_iterator_base.h>
 
+namespace std
+{
+  template<class T1, class T2>
+  struct pair;
+}
+
+DEAL_II_NAMESPACE_OPEN
 
 template <int dim> class Point;
 
@@ -25,6 +32,8 @@ template <int dim> class Triangulation;
 template <int dim, typename Accessor> class TriaRawIterator;
 template <int dim, typename Accessor> class TriaIterator;
 template <int dim, typename Accessor> class TriaActiveIterator;
+
+
 namespace internal
 {
   namespace Triangulation
@@ -42,12 +51,6 @@ template <int dim>              class TriaObjectAccessor<2, dim>;
 template <int dim>              class TriaObjectAccessor<3, dim>;
 
 
-namespace std
-{
-  template<class T1, class T2>
-  struct pair;
-}
-
 // note: the file tria_accessor.templates.h is included at the end of
 // this file.  this includes a lot of templates. originally, this was
 // only done in debug mode, but led to cyclic reduction problems and
@@ -2949,10 +2952,11 @@ template <> double TriaObjectAccessor<2, 3>::measure () const;
 template <> double TriaObjectAccessor<3, 3>::measure () const;
 
 
+#endif // DOXYGEN
+
+DEAL_II_NAMESPACE_CLOSE
 
 // include more templates in debug and optimized mode
 #  include "tria_accessor.templates.h"
 
-#endif // DOXYGEN
-
 #endif
index efadec64c44b8be839af4dbb06598b50a15e1484..a34928c5eb18dca47a4fec9fda7de71a7ca3afd1 100644 (file)
@@ -25,6 +25,7 @@
 
 #include <cmath>
 
+DEAL_II_NAMESPACE_OPEN
 
 /*------------------------ Functions: TriaAccessor ---------------------------*/
 
@@ -1178,5 +1179,6 @@ CellAccessor<dim>::active () const
   return !this->has_children();
 }
 
+DEAL_II_NAMESPACE_CLOSE
 
 #endif
index 7f51c9d91c1a0a1e3021c116285b0b4e8b64775e..94af30b95a5b277c3d2facaf29ee99dae7d0c19d 100644 (file)
@@ -21,6 +21,7 @@
 #include <base/point.h>
 #include <grid/tria.h>
 
+DEAL_II_NAMESPACE_OPEN
 
 template <int dim> class Triangulation;
 
@@ -397,4 +398,6 @@ get_intermediate_points_on_quad (const Triangulation<3>::quad_iterator &quad,
 
 #endif // DOXYGEN
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index e29b7a79ca0b9f5cedf098e13a4853ced8805359..862e63dbcbba479ccc0fb67d01eab332e8a84b5f 100644 (file)
@@ -17,6 +17,7 @@
 #include <base/config.h>
 #include <grid/tria_boundary.h>
 
+DEAL_II_NAMESPACE_OPEN
 
 /**
  * Boundary object for the hull of a cylinder.  In three dimensions,
@@ -558,4 +559,6 @@ get_normals_at_vertices (const Triangulation<1>::face_iterator &,
 
 #endif // DOXYGEN
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index 2a0c8a56ba27321159bf7e8bdf0bc698786ec9e5..a095481006e3d7e26880043e0315a9d577494aa8 100644 (file)
@@ -19,6 +19,8 @@
 #include <grid/tria_hex.h>
 #include <grid/tria_objects.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 namespace internal
 {
   namespace Triangulation
@@ -125,4 +127,7 @@ namespace internal
     };
   }
 }
+
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index d96d63913bd276daf4db6dbadbbe258bef498e01..d26e6903f9d3fc8dff03450b6c17337b69786887 100644 (file)
@@ -17,6 +17,8 @@
 #include <base/config.h>
 #include <base/exceptions.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 namespace internal
 {
   namespace Triangulation
@@ -150,4 +152,6 @@ namespace internal
   
 }
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index 8c315f169389e5993d1b8f35217a7f45d5d09b3c..2c8ab299eb4f152541a2f92346bd2b49a9026ed7 100644 (file)
@@ -32,6 +32,8 @@
 #  include <iostream>
 #endif
 
+DEAL_II_NAMESPACE_OPEN
+
 template <int dim> class Triangulation;
 
 // note: in non-debug mode, i.e. with optimizations, the file
@@ -1171,6 +1173,8 @@ std::ostream & operator << (std::ostream                           &out,
 }
 
 
+DEAL_II_NAMESPACE_CLOSE
+
 
 // if in optimized mode: include more templates
 #ifndef DEBUG
@@ -1179,6 +1183,5 @@ std::ostream & operator << (std::ostream                           &out,
 
 
 /*----------------------------   tria-iterator.h     ---------------------------*/
-
 #endif
 /*----------------------------   tria-iterator.h     ---------------------------*/
index 10a26299e2bfc6413175c7c1d7de2f00213d71e3..449638e15eaed19a88d9f27e3885e1ca90f87f62 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2005 by the deal.II authors
+//    Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -18,6 +18,8 @@
 #include <grid/tria.h>
 #include <grid/tria_iterator.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 
 /* Note: This file only contains template definitions and will thus
    not produce an object file. It is rather thought to be included
@@ -405,5 +407,6 @@ TriaActiveIterator<dim,Accessor> TriaActiveIterator<dim,Accessor>::operator -- (
   return tmp;
 }
 
+DEAL_II_NAMESPACE_CLOSE
 
 #endif
index 82f815a14f1d4937ace6331872a8a664d6ae0c03..0b47e36f83912f9bf3719c15a4a91dcc67aa61b7 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 by the deal.II authors
+//    Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -16,6 +16,7 @@
 
 #include <base/config.h>
 
+DEAL_II_NAMESPACE_OPEN
 
 /**
  * Namespace in which an enumeration is declared that denotes the
@@ -43,4 +44,6 @@ namespace IteratorState
 
 
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index f3a26696b7606d7c96b41d41cb857bfdd6499f2f..47fa4e30aaa03a0b47089a0f27d2854eff00b10d 100644 (file)
@@ -14,6 +14,8 @@
 #define __deal2__tria_iterator_selector_h
 
 
+DEAL_II_NAMESPACE_OPEN
+
 template <int dim> class CellAccessor;
 template <int dim> class TriaAccessor;
 template <int, int> class TriaObjectAccessor;
@@ -25,7 +27,6 @@ template <int dim, typename Accessor> class TriaRawIterator;
 template <int dim, typename Accessor> class TriaIterator;
 template <int dim, typename Accessor> class TriaActiveIterator;
 
-
 namespace internal 
 {
   namespace Triangulation
@@ -242,4 +243,6 @@ namespace internal
   
 }
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif // __deal2__tria_iterator_selector_h
index 97482a6f683fed081af6e15d80688eafd7d671e7..df0154c0cc8b044bdfe3b07f89b989aae065f44e 100644 (file)
@@ -22,6 +22,8 @@
 #include <base/point.h>
 #include <grid/tria_objects.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 namespace internal
 {
   namespace Triangulation
@@ -294,4 +296,6 @@ namespace internal
   }
 }
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index 0b2bf11bfc85f26a362543b78d894c289ddb2f87..b528ed26c86ade83992d1454b65c825aa59d0156 100644 (file)
@@ -17,6 +17,7 @@
 #include <base/config.h>
 #include <base/exceptions.h>
 
+DEAL_II_NAMESPACE_OPEN
 
 namespace internal
 {
@@ -125,4 +126,6 @@ namespace internal
   
 }
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index 5e47374a61acb505d3fac66f8fa4df152bd30cba..f3065e94120755d93c7ff3a467b760ffd25dbb19 100644 (file)
@@ -21,6 +21,8 @@
 #include <grid/tria_hex.h>
 #include <vector>
 
+DEAL_II_NAMESPACE_OPEN
+
 namespace internal
 {
   namespace Triangulation
@@ -271,4 +273,6 @@ namespace internal
   }
 }
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index 887abf2a755dbf6a2fb2ac96ae5132f53c1123b7..9dbf31bd8326e1b23fe04eb4eae5a60d3bb7fe22 100644 (file)
@@ -17,6 +17,7 @@
 #include <base/config.h>
 #include <base/exceptions.h>
 
+DEAL_II_NAMESPACE_OPEN
 
 namespace internal
 {
@@ -136,4 +137,6 @@ namespace internal
   
 }
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index 89ba51aae3acd3cb3c33eb8ad40119158fa022f4..9bcd3fcfb305899041ecca9e06450e2e4efa5f69 100644 (file)
@@ -23,6 +23,7 @@
 #include <base/smartpointer.h>
 #include <lac/vector.h>
 
+DEAL_II_NAMESPACE_OPEN
 
 /*!@addtogroup mg */
 /*@{*/
@@ -237,5 +238,6 @@ class MGSmootherBase : public Subscriptor
 
 /*@}*/
 
+DEAL_II_NAMESPACE_CLOSE
 
 #endif
index bb9178ccfc2cc74afdcc9c92cde8a7293e5a05a0..f3a21e94fb8e850a4a7f0e8c1bfe552161ddb85e 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2005 by the deal.II authors
+//    Copyright (C) 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -23,6 +23,8 @@
 #include <multigrid/mg_level_object.h>
 #include <vector>
 
+DEAL_II_NAMESPACE_OPEN
+
 template <int dim> class MGDoFHandler;
 
 
@@ -333,4 +335,6 @@ MGSmootherBlock<MATRIX, RELAX, number>::smooth(
 
 #endif // DOXYGEN
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index 3ea09baf49b1ade58a5ccc5bf758c24d1a6f4a7b..bf0c217ec72716056223c56b1e5bf4b313ad961e 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2002, 2003, 2004, 2005 by the deal.II authors
+//    Copyright (C) 2002, 2003, 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -18,6 +18,8 @@
 #include <lac/matrix_lib.h>
 #include <multigrid/mg_base.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 /*!@addtogroup mg */
 /*@{*/
 
@@ -311,4 +313,6 @@ MGCoarseGridHouseholder<number, VECTOR>::operator() (
 
 #endif // DOXYGEN
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index 5c6427ef11e73db04bfb05f17f5ff6da1b9699a8..a7cce9d46ed61ba0679b1082e4a7ac8fc2057172 100644 (file)
@@ -17,6 +17,8 @@
 #include <base/config.h>
 #include <dofs/dof_accessor.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 template <int dim> class MGDoFHandler;
 
 template <int celldim, int dim> class MGDoFObjectAccessor;
@@ -641,5 +643,6 @@ MGDoFCellAccessor<2>::face (const unsigned int i) const;
 template<> MGDoFCellAccessor<3>::face_iterator
 MGDoFCellAccessor<3>::face (const unsigned int i) const;
 
+DEAL_II_NAMESPACE_CLOSE
 
 #endif
index 9ec4d78644b776daa963e0333feb4d2f3e34e8a5..e6430092c805b4913c38fa71f436a951cd41a2f2 100644 (file)
@@ -18,6 +18,7 @@
 #include <dofs/dof_handler.h>
 #include <multigrid/mg_dof_iterator_selector.h>
 
+DEAL_II_NAMESPACE_OPEN
 
 /*!@addtogroup mg */
 /*@{*/
@@ -1292,8 +1293,9 @@ template <>
 void MGDoFHandler<3>::renumber_dofs (const unsigned int  level,
                                     const std::vector<unsigned int>  &new_numbers);
 
+DEAL_II_NAMESPACE_CLOSE
 
-/*----------------------------   mg_dof.h     ---------------------------*/
 
+/*----------------------------   mg_dof.h     ---------------------------*/
 #endif
 /*----------------------------   mg_dof.h     ---------------------------*/
index 1b789736a141bda3ae6ffd8c24be1dd4b76af54f..319edfa2fd3ed486b8cd57f221df16eea9bc62c7 100644 (file)
@@ -16,6 +16,8 @@
 
 #include <base/config.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 template <int celldim, int dim> class MGDoFAccessor;
 template <int celldim, int dim> class MGDoFObjectAccessor;
 template <int dim>              class MGDoFObjectAccessor<0, dim>;
@@ -203,5 +205,7 @@ namespace internal
 }
 
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
 /*----------------------------   mg_dof_iterator_selector.h     ---------------------------*/
index 18fe2696f8f8587797245cb8e1f72d2f4816d787..6cf3501f722c798203f9ce2bcdc9ea56bf799418 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2003, 2004, 2005 by the deal.II authors
+//    Copyright (C) 2003, 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
 #include <base/subscriptor.h>
 #include <vector>
 
-
 #include <boost/shared_ptr.hpp>
 
+DEAL_II_NAMESPACE_OPEN
+
+
 /*!@addtogroup mg */
 /*@{*/
 
@@ -217,5 +219,6 @@ MGLevelObject<Object>::memory_consumption () const
   return result;
 }
 
+DEAL_II_NAMESPACE_CLOSE
 
 #endif
index 7033be170170da95a9e6b9a80907e6cd000ed92f..1949783debc914436ebcedcfe771c77629d714c8 100644 (file)
@@ -17,6 +17,8 @@
 #include <multigrid/mg_base.h>
 #include <multigrid/mg_level_object.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 /*!@addtogroup mg */
 /*@{*/
 
@@ -358,4 +360,6 @@ Tvmult_add  (const unsigned int level,
   m[level].block(row, col).Tvmult_add(dst, src);
 }
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index 0af2635caad5c3b6210563c3dfda8dff172ea267..3f4ee6d31bbbbb44b1e02846f0063c4a5efc7fe4 100644 (file)
@@ -22,6 +22,8 @@
 #include <multigrid/mg_level_object.h>
 #include <vector>
 
+DEAL_II_NAMESPACE_OPEN
+
 template <int dim> class MGDoFHandler;
 
 
@@ -586,4 +588,6 @@ memory_consumption () const
 
 #endif // DOXYGEN
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index ca4a0a29aa03baed0c8ac5555f6df18fa8adb45b..fbf7c86ac3b9533d2f66536fc6fa29b603ae2f73 100644 (file)
@@ -22,6 +22,8 @@
 #include <vector>
 #include <set>
 
+DEAL_II_NAMESPACE_OPEN
+
 template <class Object> class MGLevelObject;
 template <int dim> class MGDoFHandler;
 template <typename number> class Vector;
@@ -343,4 +345,6 @@ class MGTools
 
 /*@}*/
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index 3be072a0f3b3de4bacb3d195c5f90ff1bae43185..7efcd83005edd1d90a69be9dac19dd5ea3c81f39 100644 (file)
@@ -35,6 +35,9 @@
 #include <boost/shared_ptr.hpp>
 
 
+DEAL_II_NAMESPACE_OPEN
+
+
 template <int dim> class MGDoFHandler;
 
 /*
@@ -691,5 +694,6 @@ MGTransferSelect<number>::select(const unsigned int component,
                          : mg_component;
 }
 
+DEAL_II_NAMESPACE_CLOSE
 
 #endif
index 07e5339c2b5dd393e4e04de56b5f4ac99abf7316..92306c1cd232a81b497955eb1b9a5096a2bfb75d 100644 (file)
@@ -25,6 +25,7 @@
 
 #include <algorithm>
 
+DEAL_II_NAMESPACE_OPEN
 
 /* --------------------- MGTransferPrebuilt -------------- */
 
@@ -681,5 +682,6 @@ MGTransferBlock<number>::copy_from_mg_add (
     }
 }
 
+DEAL_II_NAMESPACE_CLOSE
 
 #endif
index 6ddb8b22276d9b82ad37380cf5c63bd88278b557..2641bcb6c82ff7a7e34cab1cc5cb8c493bd6a9d5 100644 (file)
@@ -25,6 +25,8 @@
 
 #include <vector>
 
+DEAL_II_NAMESPACE_OPEN
+
 /*!@addtogroup mg */
 /*@{*/
 
@@ -637,4 +639,6 @@ PreconditionMG<dim, VECTOR, TRANSFER>::Tvmult_add (
 
 #endif // DOXYGEN
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index 0db7beffdcdc464aff152f54a80c97becbd5a78d..e53e8ccc0e26726e9af39a44afd4658f34b48e15 100644 (file)
 
 #include "iostream"
 
-using namespace std;
-
-
-
-
-
-
-
+DEAL_II_NAMESPACE_OPEN
 
 
 template <class VECTOR>
@@ -415,5 +408,6 @@ Multigrid<VECTOR>::Tvmult_add(VECTOR&, const VECTOR&) const
   Assert(false, ExcNotImplemented());
 }
 
+DEAL_II_NAMESPACE_CLOSE
 
 #endif
index 378083901ac901bfcf22f6cdd964cbd1a541f136..32857b8a0ad3dcc74fb9e886fc8d2b26b4fe02c3 100644 (file)
@@ -24,6 +24,7 @@
 
 #include <boost/shared_ptr.hpp>
 
+DEAL_II_NAMESPACE_OPEN
 
 template <int> class FEValuesBase;
 
@@ -705,7 +706,7 @@ class DataOut_DoFData : public DataOutInterface<patch_dim,patch_space_dim>
                                      * Abbreviate the somewhat lengthy
                                      * name for the Patch class.
                                      */
-    typedef ::DataOutBase::Patch<patch_dim,patch_space_dim> Patch;
+    typedef dealii::DataOutBase::Patch<patch_dim,patch_space_dim> Patch;
 
                                     /**
                                      * Pointer to the dof handler object.
@@ -1077,4 +1078,6 @@ merge_patches (const DataOut_DoFData<DH2,patch_dim,patch_space_dim> &source,
 }
 
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index 4fc41b5358ec23dadb76f77c12adbfde8738b937..ca124d9d93f5263e8e54d3712d94b96e6b95be52 100644 (file)
@@ -20,6 +20,7 @@
 #include <string>
 #include <vector>
 
+DEAL_II_NAMESPACE_OPEN
 
 
 /**
@@ -212,4 +213,6 @@ class DataOutFaces : public DataOut_DoFData<DH,DH::dimension-1,
 };
 
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index 9385c6c5a1286c728e4e88cc61736fe004e607c7..b02ffdf0e0ff695f1785b0d61393aef2970a483f 100644 (file)
@@ -20,6 +20,7 @@
 #include <string>
 #include <vector>
 
+DEAL_II_NAMESPACE_OPEN
 
 
 /**
@@ -201,4 +202,6 @@ class DataOutRotation : public DataOut_DoFData<DH,DH::dimension+1>
 };
 
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index 3bfaa4e8bf3291980f5b03ac0a5270b89667c2f9..593d07e151929cf8c9d2140cd8b4e8b82726be69 100644 (file)
@@ -22,6 +22,8 @@
 #include <string>
 #include <vector>
 
+DEAL_II_NAMESPACE_OPEN
+
 template <int dim> class DoFHandler;
 
 /**
@@ -376,7 +378,7 @@ class DataOutStack : public DataOutInterface<dim+1>
                                      * List of patches of all past and
                                      * present parameter value data sets.
                                      */
-    std::vector< ::DataOutBase::Patch<dim+1,dim+1> >   patches;
+    std::vector< dealii::DataOutBase::Patch<dim+1,dim+1> >   patches;
 
                                     /**
                                      * Structure holding data vectors
@@ -422,7 +424,7 @@ class DataOutStack : public DataOutInterface<dim+1>
                                      * the base class DataOutBase) to
                                      * the actual output function.
                                      */
-    virtual const std::vector< ::DataOutBase::Patch<dim+1,dim+1> > & get_patches () const;
+    virtual const std::vector< dealii::DataOutBase::Patch<dim+1,dim+1> > & get_patches () const;
 
 
                                     /**
@@ -435,4 +437,6 @@ class DataOutStack : public DataOutInterface<dim+1>
 };
 
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index 62098de3d6a9c7f3cfc93cafd1dfd02834b5a8f4..431afbd25fc89d3e54ecdb37268d62af5abae670 100644 (file)
@@ -20,6 +20,8 @@
 #include <fe/mapping.h>
 #include <utility>
 
+DEAL_II_NAMESPACE_OPEN
+
 template <int dim> class DoFHandler;
 namespace hp
 {
@@ -709,4 +711,6 @@ double
 DerivativeApproximation::SecondDerivative<3>::derivative_norm (const Derivative &d);
 
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index 0e08823211208429c65dc1fad82ec5aba01d6b6b..83f5b4bd3bba8e6abf49d7fdff5eb9778ab2a40a 100644 (file)
@@ -23,6 +23,7 @@
 #include <iomanip>
 #include <fstream>
 
+DEAL_II_NAMESPACE_OPEN
 
 
 /**
@@ -127,4 +128,6 @@ DoFPrintSolverStep<dim, SOLVER, VECTOR>::print_vectors (const unsigned int step,
   out.write (of);
 }
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index df175f1bced3e9c552a09333c54b910669edfef0..2d17e5f29aa42dfed0fd744bb5cbb6621363fb43 100644 (file)
@@ -21,6 +21,8 @@
 #include <dofs/function_map.h>
 #include <map>
 
+DEAL_II_NAMESPACE_OPEN
+
 
 template <int> class DoFHandler;
 template <int> class Mapping;
@@ -875,4 +877,6 @@ class KellyErrorEstimator<1>
 
 
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index cf2c2cc3c2c9690bb695e36dc042eed8e0020fef..c28b285f9414ceffe2149830dbd443a380d262e9 100644 (file)
@@ -20,6 +20,8 @@
 #include <vector>
 #include <string>
 
+DEAL_II_NAMESPACE_OPEN
+
 
 /**
  * This class provides some facilities to generate 2d and 3d histograms.
@@ -261,4 +263,6 @@ class Histogram
 };
 
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index 0923ac3eb9d62119fae093b0e519f2b98f23295d..6688d1a102a8daa36556dc3da67ddeef35ef69d6 100644 (file)
 #include <base/exceptions.h>
 #include <base/thread_management.h>
 #include <dofs/function_map.h>
+
 #include <map>
 
+DEAL_II_NAMESPACE_OPEN
+
 
 // forward declarations
 template <int dim> class Quadrature;
@@ -906,4 +909,6 @@ class MatrixTools : public MatrixCreator
 
 
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index b98dd1372ac4010310cbcb097c413996a9bd2309..951d9b65b958259f5b429fe58fd3e45942d57716 100644 (file)
@@ -25,6 +25,7 @@
 
 #include <vector>
 
+DEAL_II_NAMESPACE_OPEN
 
 /**
  * Transfers a discrete FE function (like a solution vector) by interpolation
@@ -476,7 +477,9 @@ class SolutionTransfer
 };
 
 
-/*----------------------------   solutiontransfer.h     ---------------------------*/
+DEAL_II_NAMESPACE_CLOSE
+
 
+/*----------------------------   solutiontransfer.h     ---------------------------*/
 #endif
 /*----------------------------   solutiontransfer.h     ---------------------------*/
index cbaa190fe28eba38b7f1b3897edca2f84cae7a98..8b6bc59bc63888d412b0828cfdd1f00f14d43c45 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 by the deal.II authors
+//    Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -25,6 +25,8 @@
 #include <vector>
 #include <utility>
 
+DEAL_II_NAMESPACE_OPEN
+
 // forward declarations
 class TimeStepBase;
 template <typename number> class Vector;
@@ -1974,8 +1976,8 @@ void TimeDependent::do_loop (InitFunctionObject      init_function,
        };
 }
 
+DEAL_II_NAMESPACE_CLOSE
 
 /*----------------------------   time-dependent.h     ---------------------------*/
-
 #endif
 /*----------------------------   time-dependent.h     ---------------------------*/
index 705241e595c9ec03cde7892b3c30a1a3d9d3de36..f823aa6f36fab3c5802926352831222bde011055 100644 (file)
@@ -21,6 +21,8 @@
 #include <vector>
 #include <set>
 
+DEAL_II_NAMESPACE_OPEN
+
 template <int dim> class Point;
 template <int dim> class Function;
 template <int dim> class FunctionMap;
@@ -1220,5 +1222,6 @@ class VectorTools
 };
 
 
+DEAL_II_NAMESPACE_CLOSE
 
 #endif
index 473f24f7a13a6094304b21aadbf721e229c7cf95..9b9004629dcd4e0dca5e6f1c5fed8a5ef70586d5 100644 (file)
@@ -41,6 +41,7 @@
 #include <vector>
 #include <cmath>
 
+DEAL_II_NAMESPACE_OPEN
 
 //TODO[RH]: Use StaticQ1Mapping where appropriate
 
@@ -308,7 +309,7 @@ namespace internal
 #if deal_II_dimension == 1
 
     void
-    interpolate_zero_boundary_values (const ::DoFHandler<1>         &dof_handler,
+    interpolate_zero_boundary_values (const dealii::DoFHandler<1>         &dof_handler,
                                       std::map<unsigned int,double> &boundary_values)
     {
                                        // we only need to find the
@@ -317,7 +318,7 @@ namespace internal
                                        // dof indices. that's easy :-)
       for (unsigned direction=0; direction<2; ++direction)
         {
-          ::DoFHandler<1>::cell_iterator
+          dealii::DoFHandler<1>::cell_iterator
               cell = dof_handler.begin(0);
           while (!cell->at_boundary(direction))
             cell = cell->neighbor(direction);
@@ -331,7 +332,7 @@ namespace internal
     
     template <int dim>
     void
-    interpolate_zero_boundary_values (const ::DoFHandler<dim>       &dof_handler,
+    interpolate_zero_boundary_values (const dealii::DoFHandler<dim>       &dof_handler,
                                       std::map<unsigned int,double> &boundary_values)
     {
       const FiniteElement<dim> &fe = dof_handler.get_fe();
@@ -357,7 +358,7 @@ namespace internal
                                       // that is actually wholly on
                                       // the boundary, not only by
                                       // one line or one vertex
-      typename ::DoFHandler<dim>::active_face_iterator
+      typename dealii::DoFHandler<dim>::active_face_iterator
         face = dof_handler.begin_active_face(),
         endf = dof_handler.end_face();
       std::vector<unsigned int> face_dof_indices (fe.dofs_per_face);
@@ -1426,13 +1427,13 @@ namespace internal
     template <int dim, class InVector, class OutVector, class DH>
     static
     void
-    do_integrate_difference (const ::hp::MappingCollection<dim>    &mapping,
+    do_integrate_difference (const dealii::hp::MappingCollection<dim>    &mapping,
                              const DH              &dof,
                              const InVector        &fe_function,
                              const Function<dim>   &exact_solution,
                              OutVector             &difference,
-                             const ::hp::QCollection<dim> &q,
-                             const ::VectorTools::NormType &norm,
+                             const dealii::hp::QCollection<dim> &q,
+                             const dealii::VectorTools::NormType &norm,
                              const Function<dim>   *weight,
                              const double           exponent_1)
     {
@@ -1458,12 +1459,12 @@ namespace internal
   
       switch (norm)
         {
-          case ::VectorTools::L2_norm:
-          case ::VectorTools::H1_seminorm:
-          case ::VectorTools::H1_norm:
+          case dealii::VectorTools::L2_norm:
+          case dealii::VectorTools::H1_seminorm:
+          case dealii::VectorTools::H1_norm:
                 exponent = 2.;
                 break;
-          case ::VectorTools::L1_norm:
+          case dealii::VectorTools::L1_norm:
                 exponent = 1.;
                 break;
           default:
@@ -1474,14 +1475,14 @@ namespace internal
                                               update_JxW_values);
       switch (norm)
         {
-          case ::VectorTools::H1_seminorm:
-          case ::VectorTools::W1p_seminorm:
-          case ::VectorTools::W1infty_seminorm:
+          case dealii::VectorTools::H1_seminorm:
+          case dealii::VectorTools::W1p_seminorm:
+          case dealii::VectorTools::W1infty_seminorm:
                 update_flags |= UpdateFlags (update_gradients);
                 break;
-          case ::VectorTools::H1_norm:
-          case ::VectorTools::W1p_norm:
-          case ::VectorTools::W1infty_norm:
+          case dealii::VectorTools::H1_norm:
+          case dealii::VectorTools::W1p_norm:
+          case dealii::VectorTools::W1infty_norm:
                 update_flags |= UpdateFlags (update_gradients);
                                                  // no break!
           default:
@@ -1489,8 +1490,8 @@ namespace internal
                 break;
         }  
 
-      ::hp::FECollection<dim> fe_collection (dof.get_fe());
-      ::hp::FEValues<dim> x_fe_values(mapping, fe_collection, q, update_flags);
+      dealii::hp::FECollection<dim> fe_collection (dof.get_fe());
+      dealii::hp::FEValues<dim> x_fe_values(mapping, fe_collection, q, update_flags);
 
       const unsigned int max_n_q_points = q.max_n_quadrature_points ();
       
@@ -1526,7 +1527,7 @@ namespace internal
                                            // initialize for this cell
           x_fe_values.reinit (cell);
 
-          const ::FEValues<dim> &fe_values  = x_fe_values.get_present_fe_values ();
+          const dealii::FEValues<dim> &fe_values  = x_fe_values.get_present_fe_values ();
           const unsigned int   n_q_points = fe_values.n_quadrature_points;
           
                                            // resize all out scratch
@@ -1628,7 +1629,7 @@ namespace internal
       
           switch (norm)
             {
-              case ::VectorTools::mean:
+              case dealii::VectorTools::mean:
                     std::fill_n (psi_scalar.begin(), n_q_points, 0.0);
                                                      // Compute values in
                                                      // quadrature points
@@ -1642,9 +1643,9 @@ namespace internal
                                                fe_values.get_JxW_values().begin(),
                                                0.0);
                     break;
-              case ::VectorTools::Lp_norm:
-              case ::VectorTools::L1_norm:
-              case ::VectorTools::W1p_norm:
+              case dealii::VectorTools::Lp_norm:
+              case dealii::VectorTools::L1_norm:
+              case dealii::VectorTools::W1p_norm:
                     std::fill_n (psi_scalar.begin(), n_q_points, 0.0);
                                                      // Compute values in
                                                      // quadrature points
@@ -1664,8 +1665,8 @@ namespace internal
                     if (!(update_flags & update_gradients))
                       diff = std::pow(diff, 1./exponent);
                     break;
-              case ::VectorTools::L2_norm:
-              case ::VectorTools::H1_norm:
+              case dealii::VectorTools::L2_norm:
+              case dealii::VectorTools::H1_norm:
                     std::fill_n (psi_scalar.begin(), n_q_points, 0.0);
                                                      // Compute values in
                                                      // quadrature points
@@ -1681,11 +1682,11 @@ namespace internal
                                                      // Compute the root only,
                                                      // if no derivative
                                                      // values are added later
-                    if (norm == ::VectorTools::L2_norm)
+                    if (norm == dealii::VectorTools::L2_norm)
                       diff=std::sqrt(diff);
                     break;
-              case ::VectorTools::Linfty_norm:
-              case ::VectorTools::W1infty_norm:
+              case dealii::VectorTools::Linfty_norm:
+              case dealii::VectorTools::W1infty_norm:
                     std::fill_n (psi_scalar.begin(), n_q_points, 0.0);
                     for (unsigned int k=0; k<n_components; ++k)
                       for (unsigned int q=0; q<n_q_points; ++q)
@@ -1698,9 +1699,9 @@ namespace internal
                                                      // Maximum on one cell
                     diff = *std::max_element (psi_scalar.begin(), psi_scalar.end());
                     break;
-              case ::VectorTools::H1_seminorm:
-              case ::VectorTools::W1p_seminorm:
-              case ::VectorTools::W1infty_seminorm:
+              case dealii::VectorTools::H1_seminorm:
+              case dealii::VectorTools::W1p_seminorm:
+              case dealii::VectorTools::W1infty_seminorm:
                     break;
               default:
                     Assert (false, ExcNotImplemented());
@@ -1709,8 +1710,8 @@ namespace internal
 
           switch (norm)
             {
-              case ::VectorTools::W1p_seminorm:
-              case ::VectorTools::W1p_norm:
+              case dealii::VectorTools::W1p_seminorm:
+              case dealii::VectorTools::W1p_norm:
                     std::fill_n (psi_scalar.begin(), n_q_points, 0.0);
                     for (unsigned int k=0; k<n_components; ++k)
                       for (unsigned int q=0; q<n_q_points; ++q)
@@ -1723,8 +1724,8 @@ namespace internal
                                                 0.0);
                     diff = std::pow(diff, 1./exponent);
                     break;
-              case ::VectorTools::H1_seminorm:
-              case ::VectorTools::H1_norm:
+              case dealii::VectorTools::H1_seminorm:
+              case dealii::VectorTools::H1_norm:
                                                      // take square of integrand
                     std::fill_n (psi_scalar.begin(), n_q_points, 0.0);
                     for (unsigned int k=0; k<n_components; ++k)
@@ -1739,8 +1740,8 @@ namespace internal
                                                 0.0);
                     diff = std::sqrt(diff);
                     break;
-              case ::VectorTools::W1infty_seminorm:
-              case ::VectorTools::W1infty_norm:
+              case dealii::VectorTools::W1infty_seminorm:
+              case dealii::VectorTools::W1infty_norm:
                     Assert(false, ExcNotImplemented());
                     std::fill_n (psi_scalar.begin(), n_q_points, 0.0);
                     for (unsigned int k=0; k<n_components; ++k)
@@ -1816,12 +1817,12 @@ VectorTools::integrate_difference (const DoFHandler<dim>    &dof,
 
 template <int dim, class InVector, class OutVector>
 void
-VectorTools::integrate_difference (const ::hp::MappingCollection<dim>    &mapping,
-                                  const ::hp::DoFHandler<dim> &dof,
+VectorTools::integrate_difference (const dealii::hp::MappingCollection<dim>    &mapping,
+                                  const dealii::hp::DoFHandler<dim> &dof,
                                   const InVector        &fe_function,
                                   const Function<dim>   &exact_solution,
                                   OutVector             &difference,
-                                  const ::hp::QCollection<dim> &q,
+                                  const dealii::hp::QCollection<dim> &q,
                                   const NormType        &norm,
                                   const Function<dim>   *weight,
                                   const double           exponent)
@@ -1836,11 +1837,11 @@ VectorTools::integrate_difference (const ::hp::MappingCollection<dim>    &mappin
 
 template <int dim, class InVector, class OutVector>
 void
-VectorTools::integrate_difference (const ::hp::DoFHandler<dim>    &dof,
+VectorTools::integrate_difference (const dealii::hp::DoFHandler<dim>    &dof,
                                   const InVector           &fe_function,
                                   const Function<dim>      &exact_solution,
                                   OutVector                &difference,
-                                  const ::hp::QCollection<dim>    &q,
+                                  const dealii::hp::QCollection<dim>    &q,
                                   const NormType           &norm,
                                   const Function<dim>      *weight,
                                   const double              exponent)
@@ -2066,4 +2067,6 @@ VectorTools::compute_mean_value (const DoFHandler<dim> &dof,
   return compute_mean_value(mapping, dof, quadrature, v, component);
 }
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index a042a436c110bb85c904de3955a847326c84e247..b0f24874c5d6f613772b67bd33e3e8da66431320 100644 (file)
@@ -29,6 +29,8 @@
 
 #include <vector>
 
+DEAL_II_NAMESPACE_OPEN
+
 
 /*------------------------- Functions: DoFCellAccessor -----------------------*/
 
@@ -1071,3 +1073,4 @@ template class TriaRawIterator   <deal_II_dimension,DoFCellAccessor<hp::DoFHandl
 template class TriaIterator      <deal_II_dimension,DoFCellAccessor<hp::DoFHandler<deal_II_dimension> > >;
 template class TriaActiveIterator<deal_II_dimension,DoFCellAccessor<hp::DoFHandler<deal_II_dimension> > >;
 
+DEAL_II_NAMESPACE_CLOSE
index 278ec77cf6da7be00878a3a72e78dfc6712228fc..5fb4f604079ccc60e4123b929869afef1a8bc2a6 100644 (file)
@@ -43,6 +43,8 @@
 #  include <iostream>
 #endif
 
+DEAL_II_NAMESPACE_OPEN
+
 
 bool
 ConstraintMatrix::check_zero_weight (const std::pair<unsigned int, double> &p)
@@ -1474,3 +1476,5 @@ MATRIX_FUNCTIONS(PETScWrappers::BlockSparseMatrix);
 MATRIX_FUNCTIONS(PETScWrappers::MPI::SparseMatrix);
 MATRIX_FUNCTIONS(PETScWrappers::MPI::BlockSparseMatrix);
 #endif
+
+DEAL_II_NAMESPACE_CLOSE
index cf2031c34982ae094a1099a2cce88a73b198d096..c8468a649c26a46ece15388e586a3e60ec37f56b 100644 (file)
@@ -16,6 +16,8 @@
 #include <base/memory_consumption.h>
 #include <dofs/dof_faces.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 
 namespace internal
 {
@@ -55,3 +57,5 @@ namespace internal
     
   }
 }
+
+DEAL_II_NAMESPACE_CLOSE
index 05c93a1e3b23a4ea34cb44b03c07c4498fdd29f4..5c685424a47665462fb933fd1ee33b00e5b8d42c 100644 (file)
@@ -27,6 +27,8 @@
 #include <set>
 #include <algorithm>
 
+DEAL_II_NAMESPACE_OPEN
+
 
 //TODO[WB]: do not use a plain pointer for faces, but rather an auto_ptr or some such thing
 
@@ -47,7 +49,7 @@ namespace internal
   template <int dim>
   const unsigned int * dummy ()
   {
-    return &::DoFHandler<dim>::invalid_dof_index;
+    return &dealii::DoFHandler<dim>::invalid_dof_index;
   }
 
   template const unsigned int * dummy<deal_II_dimension> ();
@@ -2443,3 +2445,5 @@ void DoFHandler<dim>::clear_space ()
 
 /*-------------- Explicit Instantiations -------------------------------*/
 template class DoFHandler<deal_II_dimension>;
+
+DEAL_II_NAMESPACE_CLOSE
index 53a392dd300d15391b01c830af94b961bc43f8af..1767ec8ba8c0e176fdf9c4abb41b09ae0b7d5cdb 100644 (file)
@@ -16,6 +16,7 @@
 #include <base/memory_consumption.h>
 #include <dofs/dof_levels.h>
 
+DEAL_II_NAMESPACE_OPEN
 
 namespace internal
 {
@@ -31,3 +32,5 @@ namespace internal
   }
   
 }
+
+DEAL_II_NAMESPACE_CLOSE
index 9564d00d398b0194329085e9d4f2f75a7bea0616..3e273ccd2167dd1748992e6b561020656bbd364c 100644 (file)
@@ -4,6 +4,8 @@
 #include <base/memory_consumption.h>
 #include <dofs/dof_levels.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 
 namespace internal
 {
@@ -46,3 +48,5 @@ namespace internal
   }
   
 }
+
+DEAL_II_NAMESPACE_CLOSE
index d513077c734928b0e49225cc150e37a71cafe2ec..f9f189f9aedfeb7adc93a307a7d82a8fb226b3b3 100644 (file)
@@ -18,6 +18,8 @@
 #include <dofs/dof_handler.h>
 #include <fe/fe.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 namespace internal
 {
   namespace DoFHandler
@@ -35,13 +37,13 @@ namespace internal
     template <int spacedim>
     void
     DoFObjects<dim>::
-    set_dof_index (const ::DoFHandler<spacedim> &dof_handler,
+    set_dof_index (const dealii::DoFHandler<spacedim> &dof_handler,
                   const unsigned int       obj_index,
                   const unsigned int       fe_index,
                   const unsigned int       local_index,
                   const unsigned int       global_index)
     {
-      Assert (fe_index == ::DoFHandler<spacedim>::default_fe_index,
+      Assert (fe_index == dealii::DoFHandler<spacedim>::default_fe_index,
              ExcMessage ("Only the default FE index is allowed for non-hp DoFHandler objects"));
       Assert (local_index<dof_handler.get_fe().template n_dofs_per_object<dim>(),
              ExcIndexRange (local_index, 0, dof_handler.get_fe().template n_dofs_per_object<dim>()));
@@ -61,7 +63,7 @@ namespace internal
     template
     unsigned int
     DoFObjects<1>::
-    get_dof_index (const ::DoFHandler<deal_II_dimension> &dof_handler,
+    get_dof_index (const dealii::DoFHandler<deal_II_dimension> &dof_handler,
                   const unsigned int       obj_index,
                   const unsigned int       fe_index,
                   const unsigned int       local_index) const;
@@ -69,7 +71,7 @@ namespace internal
     template
     void
     DoFObjects<1>::
-    set_dof_index (const ::DoFHandler<deal_II_dimension> &dof_handler,
+    set_dof_index (const dealii::DoFHandler<deal_II_dimension> &dof_handler,
                   const unsigned int       obj_index,
                   const unsigned int       fe_index,
                   const unsigned int       local_index,
@@ -82,7 +84,7 @@ namespace internal
     template
     unsigned int
     DoFObjects<2>::
-    get_dof_index (const ::DoFHandler<deal_II_dimension> &dof_handler,
+    get_dof_index (const dealii::DoFHandler<deal_II_dimension> &dof_handler,
                   const unsigned int       obj_index,
                   const unsigned int       fe_index,
                   const unsigned int       local_index) const;
@@ -90,7 +92,7 @@ namespace internal
     template
     void
     DoFObjects<2>::
-    set_dof_index (const ::DoFHandler<deal_II_dimension> &dof_handler,
+    set_dof_index (const dealii::DoFHandler<deal_II_dimension> &dof_handler,
                   const unsigned int       obj_index,
                   const unsigned int       fe_index,
                   const unsigned int       local_index,
@@ -105,7 +107,7 @@ namespace internal
     template
     unsigned int
     DoFObjects<3>::
-    get_dof_index (const ::DoFHandler<deal_II_dimension> &dof_handler,
+    get_dof_index (const dealii::DoFHandler<deal_II_dimension> &dof_handler,
                   const unsigned int       obj_index,
                   const unsigned int       fe_index,
                   const unsigned int       local_index) const;
@@ -113,7 +115,7 @@ namespace internal
     template
     void
     DoFObjects<3>::
-    set_dof_index (const ::DoFHandler<deal_II_dimension> &dof_handler,
+    set_dof_index (const dealii::DoFHandler<deal_II_dimension> &dof_handler,
                   const unsigned int       obj_index,
                   const unsigned int       fe_index,
                   const unsigned int       local_index,
@@ -123,3 +125,5 @@ namespace internal
 
   }
 }
+
+DEAL_II_NAMESPACE_CLOSE
index f20f06061d438758e8922b2bf1819bf8102fc4a5..3a514b3552718dba28ea3710bc9292549756e0f9 100644 (file)
@@ -51,6 +51,8 @@
 extern "C" long int lrand48 (void);
 #endif
 
+DEAL_II_NAMESPACE_OPEN
+
 
 
 // The following two classes are defined to be used in the compute_*
@@ -1467,3 +1469,4 @@ void DoFRenumbering::cell_wise_dg<deal_II_dimension>
  const unsigned int,
  const std::vector<MGDoFHandler<deal_II_dimension>::cell_iterator>&);
 
+DEAL_II_NAMESPACE_CLOSE
index 311a4db48f29d31083906000fa755387439c1fcc..5d447075bda08c48544f0b9a278e987f0e1ef886 100644 (file)
@@ -37,6 +37,8 @@
 #include <algorithm>
 #include <numeric>
 
+DEAL_II_NAMESPACE_OPEN
+
 //#define WOLFGANG
 
 
@@ -1768,13 +1770,13 @@ namespace internal
       };
 
 
-      template <int dim> struct DoFHandlerSupportsDifferentP< ::DoFHandler<dim> >
+      template <int dim> struct DoFHandlerSupportsDifferentP< dealii::DoFHandler<dim> >
       {
           static const bool value = false;
       };
 
 
-      template <int dim> struct DoFHandlerSupportsDifferentP< ::MGDoFHandler<dim> >
+      template <int dim> struct DoFHandlerSupportsDifferentP< dealii::MGDoFHandler<dim> >
       {
           static const bool value = false;
       };
@@ -1791,7 +1793,7 @@ namespace internal
                                         */
       template <int dim>
       unsigned int
-      n_finite_elements (const ::hp::DoFHandler<dim> &dof_handler)
+      n_finite_elements (const dealii::hp::DoFHandler<dim> &dof_handler)
       {
         return dof_handler.get_fe().size();
       }
@@ -1949,7 +1951,7 @@ namespace internal
 #if deal_II_dimension == 1
     static
     void
-    make_hp_hanging_node_constraints (const ::DoFHandler<1> &,
+    make_hp_hanging_node_constraints (const dealii::DoFHandler<1> &,
                                      ConstraintMatrix    &)
     {
                                       // nothing to do for regular
@@ -1960,9 +1962,9 @@ namespace internal
 
     static
     void
-    make_oldstyle_hanging_node_constraints (const ::DoFHandler<1> &,
+    make_oldstyle_hanging_node_constraints (const dealii::DoFHandler<1> &,
                                            ConstraintMatrix    &,
-                                           ::internal::int2type<1>)
+                                           dealii::internal::int2type<1>)
     {
                                       // nothing to do for regular
                                       // dof handlers in 1d
@@ -1971,7 +1973,7 @@ namespace internal
 
     static
     void
-    make_hp_hanging_node_constraints (const ::MGDoFHandler<1> &,
+    make_hp_hanging_node_constraints (const dealii::MGDoFHandler<1> &,
                                      ConstraintMatrix    &)
     {
                                       // nothing to do for regular
@@ -1982,9 +1984,9 @@ namespace internal
 
     static
     void
-    make_oldstyle_hanging_node_constraints (const ::MGDoFHandler<1> &,
+    make_oldstyle_hanging_node_constraints (const dealii::MGDoFHandler<1> &,
                                            ConstraintMatrix    &,
-                                           ::internal::int2type<1>)
+                                           dealii::internal::int2type<1>)
     {
                                       // nothing to do for regular
                                       // dof handlers in 1d
@@ -1993,7 +1995,7 @@ namespace internal
 
     static
     void
-    make_hp_hanging_node_constraints (const ::hp::DoFHandler<1> &/*dof_handler*/,
+    make_hp_hanging_node_constraints (const dealii::hp::DoFHandler<1> &/*dof_handler*/,
                                      ConstraintMatrix        &/*constraints*/)
     {
                                       // we may have to compute
@@ -2007,9 +2009,9 @@ namespace internal
 
     static
     void
-    make_oldstyle_hanging_node_constraints (const ::hp::DoFHandler<1> &/*dof_handler*/,
+    make_oldstyle_hanging_node_constraints (const dealii::hp::DoFHandler<1> &/*dof_handler*/,
                                            ConstraintMatrix        &/*constraints*/,
-                                           ::internal::int2type<1>)
+                                           dealii::internal::int2type<1>)
     {
                                       // we may have to compute
                                       // constraints for
@@ -2027,7 +2029,7 @@ namespace internal
     void
     make_oldstyle_hanging_node_constraints (const DH         &dof_handler,
                                            ConstraintMatrix &constraints,
-                                           ::internal::int2type<2>)
+                                           dealii::internal::int2type<2>)
     {
       const unsigned int dim = 2;
   
@@ -2173,7 +2175,7 @@ namespace internal
     void
     make_oldstyle_hanging_node_constraints (const DH         &dof_handler,
                                            ConstraintMatrix &constraints,
-                                           ::internal::int2type<3>)
+                                           dealii::internal::int2type<3>)
     {
       const unsigned int dim = 3;
   
@@ -3036,7 +3038,7 @@ DoFTools::make_hanging_node_constraints (const DH &dof_handler,
     internal::DoFTools::
       make_oldstyle_hanging_node_constraints (dof_handler,
                                              constraints,
-                                             ::internal::int2type<DH::dimension>());
+                                             dealii::internal::int2type<DH::dimension>());
 }
 
 
@@ -5548,3 +5550,5 @@ DoFTools::convert_couplings_to_blocks (
   const hp::DoFHandler<deal_II_dimension>&, const Table<2, Coupling>&,
   std::vector<Table<2,Coupling> >&);
 
+
+DEAL_II_NAMESPACE_CLOSE
index d4aaf05d11859e3dd0ed9f5f29a48f087900bf63..d21b41e7fb846abca003a1ed97f814b16f246f20 100644 (file)
@@ -15,6 +15,7 @@
 #include <base/memory_consumption.h>
 #include <dofs/hp_dof_faces.h>
 
+DEAL_II_NAMESPACE_OPEN
 
 namespace internal
 {
@@ -54,3 +55,5 @@ namespace internal
 
   }
 }
+
+DEAL_II_NAMESPACE_CLOSE
index 06d7393c8b597b25a371f4fb50f934e73d49687b..418b2fb6a2a805033c88eb996db65f8c1ee3c6ae 100644 (file)
@@ -29,6 +29,7 @@
 #include <algorithm>
 #include <functional>
 
+DEAL_II_NAMESPACE_OPEN
 
 namespace internal
 {
@@ -4391,3 +4392,5 @@ namespace hp
 /*-------------- Explicit Instantiations -------------------------------*/
   template class DoFHandler<deal_II_dimension>;
 }
+
+DEAL_II_NAMESPACE_CLOSE
index 0033a41da5b877d89052560dcf73740b8b4bee3b..b380a423cff0694319bf8cb3915a91a3e6284d94 100644 (file)
@@ -15,6 +15,7 @@
 #include <base/memory_consumption.h>
 #include <dofs/hp_dof_levels.h>
 
+DEAL_II_NAMESPACE_OPEN
 
 namespace internal
 {
@@ -29,3 +30,5 @@ namespace internal
     
   }
 }
+
+DEAL_II_NAMESPACE_CLOSE
index 99e204e78c35664671bca49bc6c7506f4e7811ee..93bb07d2d9ff46ee6cb0e93781e5af9bbd55e038 100644 (file)
@@ -15,6 +15,7 @@
 #include <base/memory_consumption.h>
 #include <dofs/hp_dof_levels.h>
 
+DEAL_II_NAMESPACE_OPEN
 
 namespace internal
 {
@@ -58,3 +59,5 @@ namespace internal
 
   }
 }
+
+DEAL_II_NAMESPACE_CLOSE
index f4fe776aaf27978441cdc24e6fd17cf5f1bde69d..3fbbe635ebaef460e55beddf0c1262d5cad49066 100644 (file)
@@ -17,6 +17,7 @@
 #include <dofs/hp_dof_levels.h>
 #include <dofs/hp_dof_handler.h>
 
+DEAL_II_NAMESPACE_OPEN
 
 //TODO: Several of the functions in this file are identical. some template trickery should make it possible to merge them
 
@@ -59,3 +60,5 @@ namespace internal
 #endif
   }
 }
+
+DEAL_II_NAMESPACE_CLOSE
index 51a512399a97accc1e40a500104582da15823f1e..199a8b9ab3bb69f09c75a6cdc01ac76c1186c661 100644 (file)
@@ -27,6 +27,7 @@
 #include <functional>
 #include <numeric>
 
+DEAL_II_NAMESPACE_OPEN
 
 
 /*------------------------------- FiniteElement ----------------------*/
@@ -965,3 +966,5 @@ FiniteElement<dim>::base_element(const unsigned index) const
 /*------------------------------- Explicit Instantiations -------------*/
 
 template class FiniteElement<deal_II_dimension>;
+
+DEAL_II_NAMESPACE_CLOSE
index ea3a6929177809c0422baac97f59f7ee90b6b9a8..b3df34b66d97572bc19ca94ad33f1a89f3ab7e9e 100644 (file)
@@ -31,7 +31,8 @@
 #endif
 
 #include <iostream>
-using namespace std;
+
+DEAL_II_NAMESPACE_OPEN
 
 
 template <int dim>
@@ -766,3 +767,5 @@ FE_ABF<dim>::memory_consumption () const
 
 
 template class FE_ABF<deal_II_dimension>;
+
+DEAL_II_NAMESPACE_CLOSE
index ef885c58d3f5a23f9d823a4967ffa45a03522a32..e0c758090f5c2ed5ee2d4e5c75aef9745cf2ba66 100644 (file)
@@ -14,6 +14,7 @@
 #include <base/memory_consumption.h>
 #include <fe/fe_collection.h>
 
+DEAL_II_NAMESPACE_OPEN
 
 namespace hp
 {
@@ -89,3 +90,5 @@ namespace hp
   template class FECollection<deal_II_dimension>;
   
 }
+
+DEAL_II_NAMESPACE_CLOSE
index 00c9cba3b58d683d438e8504cb24ec0a2ce5c44c..7f6c9e04daeb771908cbe292d6c83300d53c04df 100644 (file)
@@ -15,6 +15,7 @@
 #include <base/geometry_info.h>
 #include <fe/fe.h>
 
+DEAL_II_NAMESPACE_OPEN
 
 template<int dim>
 FiniteElementData<dim>::FiniteElementData ()
@@ -141,3 +142,5 @@ face_to_cell_index (const unsigned int face_index,
 template class FiniteElementData<1>;
 template class FiniteElementData<2>;
 template class FiniteElementData<3>;
+
+DEAL_II_NAMESPACE_CLOSE
index 9f21d1801b3e775badfdb38a916b6209359a463a..ffd381a2a4639d51ff55cee0184f7882c6f2bc58 100644 (file)
@@ -16,6 +16,7 @@
 
 #include <sstream>
 
+DEAL_II_NAMESPACE_OPEN
 
 template <int dim>
 FE_DGP<dim>::FE_DGP (const unsigned int degree)
@@ -252,3 +253,5 @@ FE_DGP<dim>::memory_consumption () const
 
 
 template class FE_DGP<deal_II_dimension>;
+
+DEAL_II_NAMESPACE_CLOSE
index fb42e547cb0c7579032d0cf1ea98809bf859bf8f..3321f574df0cb0c43459c7234832cd7f034a9349 100644 (file)
@@ -16,6 +16,7 @@
 
 #include <sstream>
 
+DEAL_II_NAMESPACE_OPEN
 
 // namespace for some functions that are used in this file.
 namespace 
@@ -462,3 +463,5 @@ FE_DGPMonomial<dim>::memory_consumption () const
 
 
 template class FE_DGPMonomial<deal_II_dimension>;
+
+DEAL_II_NAMESPACE_CLOSE
index 402e9ca2a7c69c9a6c10e380195abaa547457176..618aea00fd1453d8600364879be3f084a89361a4 100644 (file)
@@ -22,6 +22,7 @@
 
 #include <sstream>
 
+DEAL_II_NAMESPACE_OPEN
 
 template <int dim>
 FE_DGPNonparametric<dim>::FE_DGPNonparametric (const unsigned int degree)
@@ -591,3 +592,5 @@ FE_DGPNonparametric<dim>::get_degree () const
 
 
 template class FE_DGPNonparametric<deal_II_dimension>;
+
+DEAL_II_NAMESPACE_CLOSE
index ac8a77a31cf0a6570193940999efc27cd792d105..06a96b2e84ca709499c60fd2afa4ba7c8b612139 100644 (file)
@@ -20,6 +20,7 @@
 #include <iostream>
 #include <sstream>
 
+DEAL_II_NAMESPACE_OPEN
 
 
 // namespace for some functions that are used in this file. they are
@@ -59,7 +60,7 @@ namespace
   inline Point<1>
   generate_unit_point (const unsigned int i,
                       const unsigned int N,
-                      const ::internal::int2type<1>  )
+                      const dealii::internal::int2type<1>  )
   {
     Assert (i<N, ExcInternalError());
     if (N==1)
@@ -78,7 +79,7 @@ namespace
   inline Point<2>
   generate_unit_point (const unsigned int i,
                       const unsigned int N,
-                      const ::internal::int2type<2>  )
+                      const dealii::internal::int2type<2>  )
   {
     Assert (i<N, ExcInternalError());
     
@@ -104,7 +105,7 @@ namespace
   inline Point<3>
   generate_unit_point (const unsigned int i,
                       const unsigned int N,
-                      const ::internal::int2type<3>  )
+                      const dealii::internal::int2type<3>  )
   {
     Assert (i<N, ExcInternalError());
     if (N==1)
@@ -384,7 +385,7 @@ get_interpolation_matrix (const FiniteElement<dim> &x_source_fe,
                                        // cell and evaluate the
                                        // shape functions there
       const Point<dim> p = generate_unit_point (j, this->dofs_per_cell,
-                                                ::internal::int2type<dim>());
+                                                dealii::internal::int2type<dim>());
       for (unsigned int i=0; i<this->dofs_per_cell; ++i)
         cell_interpolation(j,i)
           = this->poly_space.compute_value (i, p);
@@ -650,3 +651,5 @@ FE_DGQ<dim>::memory_consumption () const
 
 
 template class FE_DGQ<deal_II_dimension>;
+
+DEAL_II_NAMESPACE_CLOSE
index 82121c041b4a9448454a4fdbab1323cad5d1c1ef..a571b499fd35d397308ba88b476934fc4126de95 100644 (file)
@@ -24,6 +24,7 @@
 
 #include <sstream>
 
+DEAL_II_NAMESPACE_OPEN
 
 
 //TODO: Remove doubled degrees
@@ -1488,5 +1489,7 @@ FE_Nedelec<dim>::get_degree () const
 }
 
 
-
 template class FE_Nedelec<deal_II_dimension>;
+
+DEAL_II_NAMESPACE_CLOSE
+
index 831395c5d7ff8309d69706c50c95ecf43f6bc77a..d03f549421bf3b474356c711224af249712ae2fc 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2002, 2003, 2004, 2005 by the deal.II authors
+//    Copyright (C) 2002, 2003, 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -21,6 +21,7 @@
 
 #include <fe/fe_nedelec.h>
 
+DEAL_II_NAMESPACE_OPEN
 
 template <>
 const double * const
@@ -44,6 +45,7 @@ template <>
 const double * const
 FE_Nedelec<1>::Matrices::constraint_matrices[] = {0};
 
+DEAL_II_NAMESPACE_CLOSE
 
 #else // #if deal_II_dimension
 // On gcc2.95 on Alpha OSF1, the native assembler does not like empty
index 9eecf7abe5c8f76352b421a7c689a15304b6b5a9..2dbf6c59b72d22d1cb9342e2ff5a4f2e7c9ac9e1 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2002, 2003, 2005 by the deal.II authors
+//    Copyright (C) 2002, 2003, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -18,6 +18,8 @@
 
 #include <fe/fe_nedelec.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 // Transfer matrices for finite elements: have one matrix for each of
 // the four child cells which tells us how the degrees of freedom on
 // the child cell are obtained from the degrees of freedom on the
@@ -129,6 +131,7 @@ FE_Nedelec<2>::Matrices::n_constraint_matrices
 sizeof(FE_Nedelec<2>::Matrices::constraint_matrices[0]);
 
 
+DEAL_II_NAMESPACE_CLOSE
 
 #else // #if deal_II_dimension
 // On gcc2.95 on Alpha OSF1, the native assembler does not like empty
index ee8d0f9f57ce867a26656b16c3fe8afc751f8aa6..ba4326da90b40c3bebae8670d0013b7e635df333 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2002, 2003, 2005 by the deal.II authors
+//    Copyright (C) 2002, 2003, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -19,6 +19,9 @@
 
 #include <fe/fe_nedelec.h>
 
+DEAL_II_NAMESPACE_OPEN
+
+
 // Transfer matrices for finite elements: have one matrix for each of
 // the four child cells which tells us how the degrees of freedom on
 // the child cell are obtained from the degrees of freedom on the
@@ -231,6 +234,7 @@ FE_Nedelec<3>::Matrices::n_constraint_matrices
 sizeof(FE_Nedelec<3>::Matrices::constraint_matrices[0]);
 
 
+DEAL_II_NAMESPACE_CLOSE
 
 #else // #if deal_II_dimension
 // On gcc2.95 on Alpha OSF1, the native assembler does not like empty
index 266c40c2bfd81b51a10db31eae9b6d2e9ac3b88e..ee3e6496b2d47f28de6681f4096db302b77af93f 100644 (file)
 
 #include <fe/fe_poly.templates.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 template class FE_Poly<TensorProductPolynomials<deal_II_dimension>, deal_II_dimension>;
 template class FE_Poly<PolynomialSpace<deal_II_dimension>, deal_II_dimension>;
 template class FE_Poly<PolynomialsP<deal_II_dimension>, deal_II_dimension>;
+
+DEAL_II_NAMESPACE_CLOSE
index a0eadc134e799f63111e08a3ce5538a63182b56d..6524780e86e63e7e27431c9ece45b53500220d82 100644 (file)
@@ -21,6 +21,7 @@
 
 #include <base/logstream.h>
 
+DEAL_II_NAMESPACE_OPEN
 
 namespace
 {
@@ -932,3 +933,5 @@ FE_PolyTensor<POLY,dim>::update_each (const UpdateFlags flags) const
 
 template class FE_PolyTensor<PolynomialsRaviartThomas<deal_II_dimension>,deal_II_dimension>;
 template class FE_PolyTensor<PolynomialsABF<deal_II_dimension>,deal_II_dimension>;
+
+DEAL_II_NAMESPACE_CLOSE
index 1c565d2d1af7caf637abfb6da1a37cddc880dead..ceb3474d86e6c6029947ec35f0f742c933d82ca8 100644 (file)
@@ -21,6 +21,7 @@
 
 #include <sstream>
 
+DEAL_II_NAMESPACE_OPEN
 
 //TODO: we should have a copy constructor for this class. In hp methods, we often do things like
 //      fe_collection.push_back(FE_Q<dim>(7))
@@ -119,7 +120,7 @@ namespace FE_Q_Helper
     Point<1>
     generate_unit_point (const unsigned int i,
                         const unsigned int N,
-                        const ::internal::int2type<1>  )
+                        const dealii::internal::int2type<1>  )
     {
       Assert (i<N, ExcInternalError());
       const double h = 1./(N-1);
@@ -137,7 +138,7 @@ namespace FE_Q_Helper
     Point<2>
     generate_unit_point (const unsigned int i,
                         const unsigned int N,
-                        const ::internal::int2type<2>  )
+                        const dealii::internal::int2type<2>  )
     {
       Assert (i<N, ExcInternalError());
       Assert (N>=4, ExcInternalError());
@@ -161,7 +162,7 @@ namespace FE_Q_Helper
     Point<3>
     generate_unit_point (const unsigned int i,
                         const unsigned int N,
-                        const ::internal::int2type<3>  )
+                        const dealii::internal::int2type<3>  )
     {
       Assert (i<N, ExcInternalError());
       Assert (N>=8, ExcInternalError());
@@ -288,7 +289,7 @@ get_interpolation_matrix (const FiniteElement<dim> &x_source_fe,
                                    // shape functions there
       const Point<dim>
        p = FE_Q_Helper::generate_unit_point (index_map[j], this->dofs_per_cell,
-                                             ::internal::int2type<dim>());
+                                             dealii::internal::int2type<dim>());
       for (unsigned int i=0; i<this->dofs_per_cell; ++i)
         cell_interpolation(j,i) = this->poly_space.compute_value (i, p);
 
@@ -1214,7 +1215,7 @@ FE_Q<dim>::initialize_embedding ()
                                           // functions there
          const Point<dim> p_subcell
            = FE_Q_Helper::generate_unit_point (index_map[j], this->dofs_per_cell,
-                                               ::internal::int2type<dim>());
+                                               dealii::internal::int2type<dim>());
          const Point<dim> p_cell =
            GeometryInfo<dim>::child_to_cell_coordinates (p_subcell, child);
 
@@ -1379,7 +1380,7 @@ FE_Q<dim>::initialize_restriction ()
     {
       const Point<dim> p_cell
        = FE_Q_Helper::generate_unit_point (i, this->dofs_per_cell,
-                                           ::internal::int2type<dim>());
+                                           dealii::internal::int2type<dim>());
       unsigned int mother_dof = 0;
       for (; mother_dof<this->dofs_per_cell; ++mother_dof)
         {
@@ -1605,3 +1606,5 @@ FE_Q<dim>::memory_consumption () const
 
 
 template class FE_Q<deal_II_dimension>;
+
+DEAL_II_NAMESPACE_CLOSE
index 86d0830b1fd5358cae57d73deb89cae6cf65e90b..1732be649736c4364265ae31146cd5a7e7c7d693 100644 (file)
@@ -16,6 +16,7 @@
 #include <cmath>
 #include <sstream>
 
+DEAL_II_NAMESPACE_OPEN
 
 namespace 
 {
@@ -991,3 +992,5 @@ FE_Q_Hierarchical<dim>::memory_consumption () const
 
 
 template class FE_Q_Hierarchical<deal_II_dimension>;
+
+DEAL_II_NAMESPACE_CLOSE
index 7f0d221eacfb4fd52e4461e71a2524b7d200582a..da36be37bb837fc170651dc75eea4a3196f21ac3 100644 (file)
@@ -27,6 +27,7 @@
 #include <sstream>
 #include <iostream>
 
+DEAL_II_NAMESPACE_OPEN
 
 template <int dim>
 FE_RaviartThomas<dim>::FE_RaviartThomas (const unsigned int deg)
@@ -635,3 +636,5 @@ FE_RaviartThomas<dim>::memory_consumption () const
 
 
 template class FE_RaviartThomas<deal_II_dimension>;
+
+DEAL_II_NAMESPACE_CLOSE
index c27861e07478622b9bbe65ca84ff5da23b88fb5d..2edc2b892af9076254802da49c61fbc379e7dab0 100644 (file)
@@ -25,6 +25,9 @@
 
 #include <sstream>
 
+DEAL_II_NAMESPACE_OPEN
+
+
 template <int dim>
 FE_RaviartThomasNodal<dim>::FE_RaviartThomasNodal (const unsigned int deg)
                :
@@ -353,3 +356,5 @@ FE_RaviartThomasNodal<dim>::initialize_support_points (const unsigned int deg)
 
 
 template class FE_RaviartThomasNodal<deal_II_dimension>;
+
+DEAL_II_NAMESPACE_CLOSE
index 0f17d4981e3987918c46eb3ce0476fe88a25cc7b..74db54ecd3de62a7b57e7e3899d5a88eec9e5b4b 100644 (file)
@@ -23,6 +23,7 @@
 
 #include <sstream>
 
+DEAL_II_NAMESPACE_OPEN
 
 /* ----------------------- FESystem::InternalData ------------------- */
 
@@ -2948,3 +2949,5 @@ FESystem<dim>::memory_consumption () const
 
 // explicit instantiations
 template class FESystem<deal_II_dimension>;
+
+DEAL_II_NAMESPACE_CLOSE
index c46d112199cefa21d577e968e562588f33d149f8..2e3e4611320a382efb02c1725821467d5b7187a4 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2005 by the deal.II authors
+//    Copyright (C) 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -15,6 +15,7 @@
 #include <fe/fe.h>
 #include <fe/fe_tools.h>
 
+DEAL_II_NAMESPACE_OPEN
 
 
 template <int dim>
@@ -241,3 +242,5 @@ void
 FETools::lexicographic_to_hierarchic_numbering<3>
 (const FiniteElementData<3> &fe,
  std::vector<unsigned int> &l2h);
+
+DEAL_II_NAMESPACE_CLOSE
index d423671632e9d2a24e89b9ddcf577f70da2092d9..1983c6187449b4246e826eb39878d7be8d182bdf 100644 (file)
@@ -44,6 +44,9 @@
 #include <boost/shared_ptr.hpp>
 
 
+DEAL_II_NAMESPACE_OPEN
+
+
 // This is the map used by FETools::get_fe_from_name and
 // FETools::add_fe_name. Since FEFactoryBase has a template parameter
 // dim, it could not be a member variable of FETools. On the other
@@ -55,6 +58,7 @@ static std::map<const std::string,
 fe_name_map;
 
 
+
 namespace 
 {
   template <int dim>
@@ -2051,3 +2055,5 @@ compute_interpolation_to_quadrature_points_matrix (const FiniteElement<deal_II_d
 
 
 /*----------------------------   fe_tools.cc     ---------------------------*/
+
+DEAL_II_NAMESPACE_CLOSE
index 9f7e38aaf155f659d23b5847813ee86fddf0d4d4..84aeac4bf5b0340d061eca290417af9cd33dfe69 100644 (file)
@@ -31,6 +31,7 @@
 
 #include <iomanip>
 
+DEAL_II_NAMESPACE_OPEN
 
 /* ---------------- FEValuesBase<dim>::CellIteratorBase --------- */
 
@@ -1807,6 +1808,7 @@ template class FEFaceValues<deal_II_dimension>;
 template class FESubfaceValues<deal_II_dimension>;
 #endif
 
+DEAL_II_NAMESPACE_CLOSE
 
 //---------------------------------------------------------------------------
 
@@ -1838,3 +1840,4 @@ template class FESubfaceValues<deal_II_dimension>;
 #include "fe_values.instance.h"
 #undef IN
 #endif
+
index f02bebe622631d89991f03cbf745f0efb60e16d5..1cc5a87cf673f09e43c16647685ae08fca150a01 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 by the deal.II authors
+//    Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -15,6 +15,7 @@
 
 // Definition of vector type macros is in fe_values.cc
 
+DEAL_II_NAMESPACE_OPEN
 
 template
 void FEValuesBase<deal_II_dimension>::get_function_values<IN>
@@ -77,3 +78,5 @@ void FEValuesBase<deal_II_dimension>::get_function_2nd_derivatives<IN>
 template
 void FEValuesBase<deal_II_dimension>::get_function_2nd_derivatives<IN>
 (const IN&, std::vector<std::vector<Tensor<2,deal_II_dimension> > > &, bool) const;
+
+DEAL_II_NAMESPACE_CLOSE
index 08a8d6bc0ef5fa250f0e98c575d01ffc08146cce..c80396fd44273c9cbaa46518cc3c5fd2ee2e8615 100644 (file)
@@ -15,6 +15,7 @@
 #include <fe/hp_fe_values.h>
 #include <fe/mapping_q1.h>
 
+DEAL_II_NAMESPACE_OPEN
 
 namespace internal
 {
@@ -25,9 +26,9 @@ namespace internal
 
     template <int dim, int q_dim, class FEValues>
     FEValuesBase<dim,q_dim,FEValues>::
-    FEValuesBase (const ::hp::MappingCollection<dim> &mapping_collection,
-                  const ::hp::FECollection<dim>      &fe_collection,
-                  const ::hp::QCollection<q_dim>     &q_collection,
+    FEValuesBase (const dealii::hp::MappingCollection<dim> &mapping_collection,
+                  const dealii::hp::FECollection<dim>      &fe_collection,
+                  const dealii::hp::QCollection<q_dim>     &q_collection,
                   const UpdateFlags                   update_flags)
                     :
                     fe_collection (&fe_collection),
@@ -45,12 +46,12 @@ namespace internal
 
     template <int dim, int q_dim, class FEValues>
     FEValuesBase<dim,q_dim,FEValues>::
-    FEValuesBase (const ::hp::FECollection<dim>      &fe_collection,
-                  const ::hp::QCollection<q_dim> &q_collection,
+    FEValuesBase (const dealii::hp::FECollection<dim>      &fe_collection,
+                  const dealii::hp::QCollection<q_dim> &q_collection,
                   const UpdateFlags         update_flags)
                     :
                     fe_collection (&fe_collection),
-                    mapping_collection (&::hp::StaticMappingQ1<dim>::mapping_collection),
+                    mapping_collection (&dealii::hp::StaticMappingQ1<dim>::mapping_collection),
                     q_collection (q_collection),
                     fe_values_table (fe_collection.size(),
                                      1,
@@ -117,7 +118,7 @@ namespace hp
                            const hp::QCollection<dim>       &q_collection,
                            const UpdateFlags                 update_flags)
                   :
-                  internal::hp::FEValuesBase<dim,dim,::FEValues<dim> > (mapping,
+                  internal::hp::FEValuesBase<dim,dim,dealii::FEValues<dim> > (mapping,
                                                                        fe_collection,
                                                                        q_collection,
                                                                        update_flags)
@@ -129,7 +130,7 @@ namespace hp
                            const hp::QCollection<dim>      &q_collection,
                            const UpdateFlags            update_flags)
                   :
-                  internal::hp::FEValuesBase<dim,dim,::FEValues<dim> > (fe_collection,
+                  internal::hp::FEValuesBase<dim,dim,dealii::FEValues<dim> > (fe_collection,
                                                                        q_collection,
                                                                        update_flags)
   {}
@@ -183,7 +184,7 @@ namespace hp
 
   template <int dim>
   void
-  FEValues<dim>::reinit (const typename ::DoFHandler<dim>::cell_iterator &cell,
+  FEValues<dim>::reinit (const typename dealii::DoFHandler<dim>::cell_iterator &cell,
                          const unsigned int q_index,
                          const unsigned int mapping_index,
                          const unsigned int fe_index)
@@ -309,7 +310,7 @@ namespace hp
                                    const hp::QCollection<dim-1> &q_collection,
                                    const UpdateFlags         update_flags)
                   :
-                  internal::hp::FEValuesBase<dim,dim-1,::FEFaceValues<dim> > (mapping,
+                  internal::hp::FEValuesBase<dim,dim-1,dealii::FEFaceValues<dim> > (mapping,
                                                                              fe_collection,
                                                                              q_collection,
                                                                              update_flags)
@@ -321,7 +322,7 @@ namespace hp
                                    const hp::QCollection<dim-1> &q_collection,
                                    const UpdateFlags         update_flags)
                   :
-                  internal::hp::FEValuesBase<dim,dim-1,::FEFaceValues<dim> > (fe_collection,
+                  internal::hp::FEValuesBase<dim,dim-1,dealii::FEFaceValues<dim> > (fe_collection,
                                                                              q_collection,
                                                                              update_flags)
   {}
@@ -376,7 +377,7 @@ namespace hp
 
   template <int dim>
   void
-  FEFaceValues<dim>::reinit (const typename ::DoFHandler<dim>::cell_iterator &cell,
+  FEFaceValues<dim>::reinit (const typename dealii::DoFHandler<dim>::cell_iterator &cell,
                              const unsigned int face_no,
                              const unsigned int q_index,
                              const unsigned int mapping_index,
@@ -505,7 +506,7 @@ namespace hp
                                          const hp::QCollection<dim-1> &q_collection,
                                          const UpdateFlags         update_flags)
                   :
-                  internal::hp::FEValuesBase<dim,dim-1,::FESubfaceValues<dim> > (mapping,
+                  internal::hp::FEValuesBase<dim,dim-1,dealii::FESubfaceValues<dim> > (mapping,
                                                                                 fe_collection,
                                                                                 q_collection,
                                                                                 update_flags)
@@ -517,7 +518,7 @@ namespace hp
                                          const hp::QCollection<dim-1> &q_collection,
                                          const UpdateFlags         update_flags)
                   :
-                  internal::hp::FEValuesBase<dim,dim-1,::FESubfaceValues<dim> > (fe_collection,
+                  internal::hp::FEValuesBase<dim,dim-1,dealii::FESubfaceValues<dim> > (fe_collection,
                                                                                 q_collection,
                                                                                 update_flags)
   {}
@@ -573,7 +574,7 @@ namespace hp
 
   template <int dim>
   void
-  FESubfaceValues<dim>::reinit (const typename ::DoFHandler<dim>::cell_iterator &cell,
+  FESubfaceValues<dim>::reinit (const typename dealii::DoFHandler<dim>::cell_iterator &cell,
                                 const unsigned int face_no,
                                 const unsigned int subface_no,
                                 const unsigned int q_index,
@@ -703,12 +704,12 @@ namespace internal
   namespace hp
   {
     template class FEValuesBase<deal_II_dimension,deal_II_dimension,
-                                ::FEValues<deal_II_dimension> >;
+                                dealii::FEValues<deal_II_dimension> >;
 #if deal_II_dimension >= 2
     template class FEValuesBase<deal_II_dimension,deal_II_dimension-1,
-                                ::FEFaceValues<deal_II_dimension> >;
+                                dealii::FEFaceValues<deal_II_dimension> >;
     template class FEValuesBase<deal_II_dimension,deal_II_dimension-1,
-                                ::FESubfaceValues<deal_II_dimension> >;
+                                dealii::FESubfaceValues<deal_II_dimension> >;
 #endif
   }
 }
@@ -721,3 +722,5 @@ namespace hp
   template class FESubfaceValues<deal_II_dimension>;
 #endif
 }
+
+DEAL_II_NAMESPACE_CLOSE
index 9a8b8d4d11ef66446723d71d7da66f218708cbac..aa7a4d831055fbb76733dee08481a48f57cb9e81 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2001, 2002, 2003, 2005 by the deal.II authors
+//    Copyright (C) 2001, 2002, 2003, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -14,6 +14,8 @@
 #include <grid/tria.h>
 #include <fe/mapping.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 
 template <int dim>
 Mapping<dim>::~Mapping ()
@@ -52,3 +54,5 @@ Mapping<dim>::InternalDataBase::memory_consumption () const
 
 
 template class Mapping<deal_II_dimension>;
+
+DEAL_II_NAMESPACE_CLOSE
index d989af09ab5a381e01ac51df1d42143c701fa098..01397f323be9a90166784e5aea1348e320110ec5 100644 (file)
@@ -18,6 +18,7 @@
 #include <fe/mapping_c1.h>
 #include <cmath>
 
+DEAL_II_NAMESPACE_OPEN
 
 
 
@@ -253,3 +254,5 @@ MappingC1<dim>::clone () const
 
 // explicit instantiations
 template class MappingC1<deal_II_dimension>;
+
+DEAL_II_NAMESPACE_CLOSE
index 58a0d82229aa78d2ec14a81addbbf04b0bc35b1a..0e8094359b80d56106062416280ccd8f38d83692 100644 (file)
@@ -26,6 +26,7 @@
 #include <algorithm>
 
 
+DEAL_II_NAMESPACE_OPEN
 
 
 template <int dim>
@@ -623,3 +624,5 @@ MappingCartesian<dim>::clone () const
 // explicit instantiations
 
 template class MappingCartesian<deal_II_dimension>;
+
+DEAL_II_NAMESPACE_CLOSE
index 8f0a99dc274f72f8f232f734362c25f3279afa99..377fa779e707c942eaf9c6e0c92ca45ef08efce3 100644 (file)
@@ -14,6 +14,8 @@
 #include <base/memory_consumption.h>
 #include <fe/mapping_collection.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 
 namespace hp
 {
@@ -92,3 +94,5 @@ namespace hp
   template struct StaticMappingQ1<deal_II_dimension>;
   
 }
+
+DEAL_II_NAMESPACE_CLOSE
index 794c1277202f4f060a97b165fca68fe020312488..42af4fedd7f464917d04e1e2acad49e9d8493459 100644 (file)
@@ -27,6 +27,8 @@
 #include <numeric>
 #include <memory>
 
+DEAL_II_NAMESPACE_OPEN
+
 
 template <int dim>
 const bool MappingQ<dim>::use_mapping_q_on_all_cells;
@@ -1359,3 +1361,5 @@ MappingQ<dim>::clone () const
   
 // explicit instantiation
 template class MappingQ<deal_II_dimension>;
+
+DEAL_II_NAMESPACE_CLOSE
index 83f6a877c19110ed0f00f2a74a99b5884f4d9147..e715a28f3a9de02d6166622495a879919822057d 100644 (file)
@@ -26,6 +26,7 @@
 #include <algorithm>
 #include <memory>
 
+DEAL_II_NAMESPACE_OPEN
 
 
 
@@ -1091,3 +1092,4 @@ template struct StaticMappingQ1<deal_II_dimension>;
 
 
 
+DEAL_II_NAMESPACE_CLOSE
index 1fac0108ec669524b6e2a3c4b69896c47d2ac1b2..033a0009302316b3a0e36f51aca5222bd0e68fb0 100644 (file)
@@ -20,6 +20,7 @@
 #include <dofs/dof_accessor.h>
 #include <fe/fe.h>
 
+DEAL_II_NAMESPACE_OPEN
 
 
 template <int dim, class EulerVectorType>
@@ -118,3 +119,5 @@ template class MappingQ1Eulerian<deal_II_dimension, Vector<double> >;
 #ifdef DEAL_II_USE_PETSC
 template class MappingQ1Eulerian<deal_II_dimension, PETScWrappers::Vector>;
 #endif
+
+DEAL_II_NAMESPACE_CLOSE
index a8066cc9e5ea536dc18ea2ac7e04d1a3512bb68c..c39e9bb4241edc48b4eae2cb49035e6e2a45487c 100644 (file)
@@ -14,6 +14,7 @@
 #include <base/memory_consumption.h>
 #include <fe/q_collection.h>
 
+DEAL_II_NAMESPACE_OPEN
 
 
 namespace hp
@@ -80,3 +81,4 @@ namespace hp
 
   
 }
+DEAL_II_NAMESPACE_CLOSE
index 42dbef82972e7ee3136abeede2901e3dc2b94608..9f34e64200f81faaac2f22a3a7e84448862a49ab 100644 (file)
@@ -34,6 +34,9 @@
 
 #include <cmath>
 
+DEAL_II_NAMESPACE_OPEN
+
+
 
 template <int dim>
 void
@@ -1782,3 +1785,5 @@ template void
 GridGenerator::
 laplace_transformation<deal_II_dimension> (Triangulation<deal_II_dimension> &,
                                           const std::map<unsigned int,Point<deal_II_dimension> > &);
+
+DEAL_II_NAMESPACE_CLOSE
index ee28d683c720f35c3dedc326c5e7271365abf570..d7d7edc34639f6c6745d8b8cac47dc512372913b 100644 (file)
@@ -26,6 +26,8 @@
 #include <netcdfcpp.h>
 #endif
 
+DEAL_II_NAMESPACE_OPEN
+
 
 template <int dim>
 GridIn<dim>::GridIn () :
@@ -1566,3 +1568,5 @@ std::string GridIn<dim>::get_format_names ()
 
 //explicit instantiations
 template class GridIn<deal_II_dimension>;
+
+DEAL_II_NAMESPACE_CLOSE
index 4b17b0cfc02e09cef9a56ac1946bb8e1b1ff38ae..b79d3b930bd1fea46d6ec8ae13a68e1e19570ccc 100644 (file)
@@ -15,6 +15,9 @@
 #include <grid/grid_out.h>
 #include <base/parameter_handler.h>
 
+DEAL_II_NAMESPACE_OPEN
+
+
 namespace GridOutFlags
 {
   DX::DX (const bool write_cells,
@@ -526,3 +529,5 @@ GridOut::memory_consumption () const
          sizeof(eps_flags_3) +
          sizeof(xfig_flags));
 }
+
+DEAL_II_NAMESPACE_CLOSE
index 159c5681174bfde528ef006714187e0d2bd91027..e680ac11a979ff6b04155e1ed50c504a4b5f4ccc 100644 (file)
@@ -28,6 +28,8 @@
 #include <ctime>
 #include <cmath>
 
+DEAL_II_NAMESPACE_OPEN
+
 
 #if deal_II_dimension == 1
 
@@ -1728,3 +1730,5 @@ template void GridOut::write<deal_II_dimension>
 template void GridOut::write<deal_II_dimension>
 (const Triangulation<deal_II_dimension> &,
  std::ostream &, const Mapping<deal_II_dimension> *) const;
+
+DEAL_II_NAMESPACE_CLOSE
index 8bde6b636227473d9d15ebab1a62a6367d66e90b..d624f626e990c0f4c22fb47d5272f1263e635f7b 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 by the deal.II authors
+//    Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -25,6 +25,8 @@
 #include <functional>
 #include <fstream>
 
+DEAL_II_NAMESPACE_OPEN
+
 
 
 namespace 
@@ -195,7 +197,7 @@ GridRefinement::refine_and_coarsen_fixed_number (Triangulation<dim> &tria,
 
   if (refine_cells || coarsen_cells)
     {
-      ::Vector<typename Vector::value_type> tmp(criteria);
+      dealii::Vector<typename Vector::value_type> tmp(criteria);
       if (refine_cells)
        {
          std::nth_element (tmp.begin(), tmp.begin()+refine_cells,
@@ -234,7 +236,7 @@ GridRefinement::refine_and_coarsen_fixed_fraction (Triangulation<dim> &tria,
                                   // error, which is what we have to sum
                                   // up and compare with
                                   // @p{fraction_of_error*total_error}.
-  ::Vector<typename Vector::value_type> tmp(criteria);
+  dealii::Vector<typename Vector::value_type> tmp(criteria);
   const double total_error = tmp.l1_norm();
 
                                   // sort the largest criteria to the
@@ -242,13 +244,13 @@ GridRefinement::refine_and_coarsen_fixed_fraction (Triangulation<dim> &tria,
   std::sort (tmp.begin(), tmp.end(), std::greater<double>());
 
                                   // compute thresholds
-  typename ::Vector<typename Vector::value_type>::const_iterator pp=tmp.begin();
+  typename dealii::Vector<typename Vector::value_type>::const_iterator pp=tmp.begin();
   for (double sum=0; (sum<top_fraction*total_error) && (pp!=(tmp.end()-1)); ++pp)
     sum += *pp;
   double top_threshold = ( pp != tmp.begin () ?
                           (*pp+*(pp-1))/2 :
                           *pp );
-  typename ::Vector<typename Vector::value_type>::const_iterator qq=(tmp.end()-1);
+  typename dealii::Vector<typename Vector::value_type>::const_iterator qq=(tmp.end()-1);
   for (double sum=0; (sum<bottom_fraction*total_error) && (qq!=tmp.begin()); --qq)
     sum += *qq;
   double bottom_threshold = ( qq != (tmp.end()-1) ?
@@ -467,3 +469,6 @@ GridRefinement::
 refine_and_coarsen_optimize (Triangulation<deal_II_dimension> &,
                              const PETScWrappers::Vector &);
 #endif
+
+DEAL_II_NAMESPACE_CLOSE
+
index 0fcb4d0a9f33970287a2f7fc12d4212017fd9b87..e1167574b7674d272627ad1edda9b87c201fa786 100644 (file)
@@ -20,6 +20,8 @@
 #include <iostream>
 #include <fstream>
 
+DEAL_II_NAMESPACE_OPEN
+
 
 #if deal_II_dimension == 1
 
@@ -1496,3 +1498,5 @@ GridReordering<3>::invert_all_cells_of_negative_grid(
 
 #endif // deal_II_dimension == 3
 
+DEAL_II_NAMESPACE_CLOSE
+
index 2e65959efb0f25a6eaec94a1cdc15828d39edeaa..221dd51bc815a656ebafae758b1385681203d2f2 100644 (file)
@@ -29,6 +29,8 @@
 
 #include <cmath>
 
+DEAL_II_NAMESPACE_OPEN
+
 
 // This anonymous namespace contains utility functions to extract the
 // triangulation from any container such as DoFHandler, MGDoFHandler,
@@ -1080,3 +1082,6 @@ GridTools::minimal_cell_diameter (const Triangulation<deal_II_dimension> &triang
 template
 double
 GridTools::maximal_cell_diameter (const Triangulation<deal_II_dimension> &triangulation);
+
+DEAL_II_NAMESPACE_CLOSE
+
index 409e6a5563e2e1c818be8302b2eeb121f095cc5b..0a77d6db36e3d58f2f8dd5868d869c532e3dc311 100644 (file)
@@ -25,6 +25,9 @@
 #include <multigrid/mg_dof_handler.h>
 #include <multigrid/mg_dof_accessor.h>
 
+DEAL_II_NAMESPACE_OPEN
+
+
 // helper function to aquire the number of levels within a grid
 template <class GridClass>
 unsigned int
@@ -228,3 +231,6 @@ template class InterGridMap<DoFHandler<deal_II_dimension> >;
 
 template class InterGridMap<hp::DoFHandler<deal_II_dimension> >;
 template class InterGridMap<MGDoFHandler<deal_II_dimension> >;
+
+DEAL_II_NAMESPACE_CLOSE
+
index cd3bd6ac690ea56a7ed436346d98d4d42c213e65..38ddf1d56d19e9977da0534864d9848f8b7a8f8b 100644 (file)
@@ -17,6 +17,8 @@
 #include <grid/magic_numbers.h>
 #include <iostream>
 
+DEAL_II_NAMESPACE_OPEN
+
 
 template <int dim>
 const unsigned int
@@ -236,3 +238,6 @@ PersistentTriangulation<dim>::memory_consumption () const
 
 // explicit instantiations
 template class PersistentTriangulation<deal_II_dimension>;
+
+DEAL_II_NAMESPACE_CLOSE
+
index 5abb299596617ff7488fc61d6662bca250051ebd..00cb017d0bc514cc0f3ccb5f9026aa40aab9e8a4 100644 (file)
@@ -30,6 +30,8 @@
 
 #include <numeric>
 
+DEAL_II_NAMESPACE_OPEN
+
 
 
 bool
@@ -112,3 +114,6 @@ namespace internal
     }
   }
 }
+
+DEAL_II_NAMESPACE_CLOSE
+
index e0b0d2c30290366230fb9d0cb6519f1f9ec16159..851ed5a2c77efb5740793725e792dbd62e40e4e2 100644 (file)
@@ -29,6 +29,8 @@
 #include <cmath>
 #include <iostream>
 
+DEAL_II_NAMESPACE_OPEN
+
 
 // initialize the @p{straight_boundary} pointer of the triangulation
 // class. for the reasons why it is done like this, see the
@@ -9250,3 +9252,6 @@ Triangulation<dim>::remove_refinement_listener (RefinementListener &listener) co
 
 // explicit instantiations
 template class Triangulation<deal_II_dimension>;
+
+DEAL_II_NAMESPACE_CLOSE
+
index 7c447b85601eb4c3ada988499b95ec87129bdc8b..812bfca840145eb0c97f9ce6a6ab46ffaedec3e5 100644 (file)
@@ -24,6 +24,8 @@
 
 #include <cmath>
 
+DEAL_II_NAMESPACE_OPEN
+
 
 template <int dim>
 const unsigned int TriaAccessor<dim>::objectdim;
@@ -2269,3 +2271,6 @@ template class TriaRawIterator<deal_II_dimension,TriaObjectAccessor<3, deal_II_d
 template class TriaIterator<deal_II_dimension,TriaObjectAccessor<3, deal_II_dimension> >;
 template class TriaActiveIterator<deal_II_dimension,TriaObjectAccessor<3, deal_II_dimension> >;
 #endif
+
+DEAL_II_NAMESPACE_CLOSE
+
index 78e5b89276d55cb287c2d6408b0f59f0a065c8f8..a4ce3d3890c0289a8e4fcb1c7d26429855a86c8a 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 by the deal.II authors
+//    Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -19,6 +19,8 @@
 #include <grid/tria_accessor.h>
 #include <cmath>
 
+DEAL_II_NAMESPACE_OPEN
+
 
 
 /* -------------------------- Boundary --------------------- */
@@ -320,3 +322,6 @@ get_normals_at_vertices (const Triangulation<3>::face_iterator &face,
 // explicit instantiations
 template class Boundary<deal_II_dimension>;
 template class StraightBoundary<deal_II_dimension>;
+
+DEAL_II_NAMESPACE_CLOSE
+
index f65247d4e7c58749d4c9b1ea03dbb5dba610cd85..fc58f0772ab1c10169704d5b20a50e17add94351 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 by the deal.II authors
+//    Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -19,6 +19,8 @@
 #include <base/tensor.h>
 #include <cmath>
 
+DEAL_II_NAMESPACE_OPEN
+
 
 template <int dim>
 CylinderBoundary<dim>::CylinderBoundary (const double radius,
@@ -812,3 +814,6 @@ template class CylinderBoundary<deal_II_dimension>;
 template class HalfHyperBallBoundary<deal_II_dimension>;
 template class HyperShellBoundary<deal_II_dimension>;
 template class HalfHyperShellBoundary<deal_II_dimension>;
+
+DEAL_II_NAMESPACE_CLOSE
+
index c9292bd06234b31e92f8c116210f680105e99846..f86469b22443d458d5a821c5eee85e54c601bb9c 100644 (file)
@@ -14,6 +14,8 @@
 #include <base/memory_consumption.h>
 #include <grid/tria_faces.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 
 namespace internal
 {
@@ -53,3 +55,6 @@ namespace internal
 
   }
 }
+
+DEAL_II_NAMESPACE_CLOSE
+
index 9c0573d60b43297f4e4bec4ceadefff25b34d0e4..45e6f2bf804bd7be7a61503ed4781b80a71ca149 100644 (file)
@@ -15,6 +15,8 @@
 #include <base/memory_consumption.h>
 #include <grid/tria_levels.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 namespace internal
 {
   namespace Triangulation
@@ -101,3 +103,6 @@ namespace internal
 
   }
 }
+
+DEAL_II_NAMESPACE_CLOSE
+
index 02943daa0daf9c3ba4b369ac300561668bbfddaf..81de320c5d5cd011d87003264907b6af28398fe2 100644 (file)
@@ -15,6 +15,9 @@
 #include <base/memory_consumption.h>
 #include <grid/tria_levels.h>
 
+DEAL_II_NAMESPACE_OPEN
+
+
 namespace internal
 {
   namespace Triangulation
@@ -55,3 +58,6 @@ namespace internal
 
   }
 }
+
+DEAL_II_NAMESPACE_CLOSE
+
index 29335a90d7a43da50019e416ef54728a56eb203b..bed78dfc3a75e5d2a9043cd2ac58c2646be0e4d9 100644 (file)
@@ -18,6 +18,8 @@
 #include <algorithm>
 #include <functional>
 
+DEAL_II_NAMESPACE_OPEN
+
 
 namespace internal
 {
@@ -334,3 +336,6 @@ namespace internal
     template class TriaObjects<Quad>;
   }
 }
+
+DEAL_II_NAMESPACE_CLOSE
+
index 4823583dcf133ec5712f32c7198754735d5f6bef..8b011beb66b0b8baae0a1bcef40542b71e14f7a5 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 1999, 2000, 2001, 2002, 2003, 2005 by the deal.II authors
+//    Copyright (C) 1999, 2000, 2001, 2002, 2003, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -16,6 +16,8 @@
 #include <lac/vector.h>
 #include <lac/block_vector.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 
 template <class VECTOR>
 MGTransferBase<VECTOR>::~MGTransferBase()
@@ -58,3 +60,5 @@ template class MGCoarseGridBase<Vector<double> >;
 template class MGCoarseGridBase<Vector<float> >;
 template class MGCoarseGridBase<BlockVector<double> >;
 template class MGCoarseGridBase<BlockVector<float> >;
+
+DEAL_II_NAMESPACE_CLOSE
index 6500466da94f8ea6e10a997195bf5d45e5103bdf..d281a0daecbcdab3853701a1d15ec2867c21a766 100644 (file)
@@ -24,6 +24,9 @@
 #include <lac/full_matrix.h>
 #include <lac/sparse_matrix.h>
 
+DEAL_II_NAMESPACE_OPEN
+
+
 //TODO:[GK] Inline simple functions in 1d and 3d
 
 /* ------------------------ MGDoFAccessor --------------------------- */
@@ -743,3 +746,5 @@ template class TriaRawIterator   <3,MGDoFCellAccessor<3> >;
 template class TriaIterator      <3,MGDoFCellAccessor<3> >;
 template class TriaActiveIterator<3,MGDoFCellAccessor<3> >;
 #endif
+
+DEAL_II_NAMESPACE_CLOSE
index d4c699166cab45634365bcf01423d416b07985e3..1b30ab5afe495c333c5487067afde29d04ae2f87 100644 (file)
 #include <lac/sparse_matrix.h>
 #include <base/exceptions.h>
 
-
 #include <algorithm>
 
+DEAL_II_NAMESPACE_OPEN
+
+
 
 /* ------------------------ MGVertexDoFs ----------------------------------- */
 
@@ -2382,3 +2384,5 @@ void MGDoFHandler<dim>::clear_space ()
 
 // explicit instantiations
 template class MGDoFHandler<deal_II_dimension>;
+
+DEAL_II_NAMESPACE_CLOSE
index 40a5410af3cae60beb0e94bb06bd442d2de8784c..8e9faf576439af4cc402f108097b1b51db7b813b 100644 (file)
@@ -34,6 +34,8 @@
 #include <algorithm>
 #include <numeric>
 
+DEAL_II_NAMESPACE_OPEN
+
 
 #if deal_II_dimension == 1
 
@@ -1341,6 +1343,7 @@ MGTools::reinit_vector (const MGDoFHandler<dim> &mg_dof,
 }
 
 
+DEAL_II_NAMESPACE_CLOSE
 
 
 
@@ -1365,6 +1368,8 @@ MGTools::reinit_vector (const MGDoFHandler<dim> &mg_dof,
 #undef PATTERN
 
 
+DEAL_II_NAMESPACE_OPEN
+
 template void
 MGTools::compute_row_length_vector(
   const MGDoFHandler<deal_II_dimension>&, unsigned int,
@@ -1422,3 +1427,5 @@ template void MGTools::make_boundary_list(
   const FunctionMap<deal_II_dimension>::type&,
   std::vector<std::set<unsigned int> >&,
   const std::vector<bool>&);
+
+DEAL_II_NAMESPACE_CLOSE
index e916067704c6bec6d3237b35974a0aad7ca4cdde..94bc6f4acf5b57e54b19abccb41439fd930e3f7e 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 by the deal.II authors
+//    Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -27,6 +27,8 @@
 
 #include <algorithm>
 
+DEAL_II_NAMESPACE_OPEN
+
 
 //////////////////////////////////////////////////////////////////////
 
@@ -134,3 +136,4 @@ template MGSmootherContinuous<BlockVector<double> >::MGSmootherContinuous (
   const unsigned int);
 #endif
 
+DEAL_II_NAMESPACE_CLOSE
index d73e79f7f2c21e1562f81ff8f7cd68ddb520cf52..00aca6f0f601157ded28ea2eeef387cfa80a6126 100644 (file)
@@ -24,6 +24,8 @@
 #include <algorithm>
 #include <numeric>
 
+DEAL_II_NAMESPACE_OPEN
+
 
 template <typename number>
 void
@@ -439,3 +441,5 @@ template void MGTools::apply_boundary_values (
 template void MGTools::apply_boundary_values (
   const std::set<unsigned int>&,
   BlockSparseMatrix<double>&, const bool);
+
+DEAL_II_NAMESPACE_CLOSE
index c3e08fe9aecac3b77cdc67aba404ecdf991fd238..397d6c622b651ac8721caacc7f850dada069d960 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2002, 2003, 2005 by the deal.II authors
+//    Copyright (C) 2002, 2003, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -16,6 +16,9 @@
 // Call this file after defining PATTERN to the desired sparsity
 // pattern type.
 
+DEAL_II_NAMESPACE_OPEN
+
+
 
 template void
 MGTools::make_sparsity_pattern<deal_II_dimension> (
@@ -54,3 +57,5 @@ MGTools::make_flux_sparsity_pattern_edge<deal_II_dimension> (
 
 #endif
 
+
+DEAL_II_NAMESPACE_CLOSE
index bf6101ae42c8699c80c097a7db58a4028ab28bdd..c3a782ca01cfb6ec2c0e9d0d61c322720d1d70c4 100644 (file)
@@ -29,6 +29,8 @@
 
 #include <algorithm>
 
+DEAL_II_NAMESPACE_OPEN
+
 
 
 template <int dim>
@@ -529,3 +531,5 @@ MGTransferSelect<double>::copy_from_mg_add (
   const MGDoFHandler<deal_II_dimension>&,
   BlockVector<double>&,
   const MGLevelObject<Vector<double> >&) const;
+
+DEAL_II_NAMESPACE_CLOSE
index 94fc01bbca070375818b71d6ac17eaea2c555132..291d56830198f066c6794a58a53127a5b58d0ec4 100644 (file)
@@ -26,6 +26,9 @@
 #include <multigrid/mg_transfer.h>
 #include <multigrid/mg_transfer.templates.h>
 
+DEAL_II_NAMESPACE_OPEN
+
+
 
 template <typename number>
 template <int dim>
@@ -292,3 +295,5 @@ MGTransferPrebuilt<BlockVector<double> >::copy_from_mg_add (
   const MGDoFHandler<deal_II_dimension>&,
   BlockVector<double>&,
   const MGLevelObject<BlockVector<double> >&) const;
+
+DEAL_II_NAMESPACE_CLOSE
index 1772228711c9ff137ca7b6f815a440dfc9df2111..7e0cbfbc3ccd5908a77569ada9b4ed1621112c03 100644 (file)
@@ -21,6 +21,9 @@
 #include <multigrid/mg_transfer.templates.h>
 #include <multigrid/multigrid.templates.h>
 
+DEAL_II_NAMESPACE_OPEN
+
+
 // Warning: the following function is for debugging purposes only. It
 // will be compiled only, if the additional and undocumented compiler
 // flag MG_DEBUG is set. Furthermore, as soon as this function is
@@ -301,3 +304,5 @@ void MGSmootherContinuous<BlockVector<double> >::set_zero_interior_boundary (
 template
 void MGSmootherContinuous<BlockVector<float> >::set_zero_interior_boundary (
   const unsigned int, BlockVector<float>&) const;
+
+DEAL_II_NAMESPACE_CLOSE
index 657904c23734a24979ed849045cf5f2854547adc..a38984342d5bf12aa4ba7b8a85f9303833d46787 100644 (file)
@@ -32,6 +32,7 @@
 
 #include <sstream>
 
+DEAL_II_NAMESPACE_OPEN
 
 
 template <class DH, int patch_dim, int patch_space_dim>
@@ -349,7 +350,7 @@ get_dataset_names () const
 
 template <class DH,
          int patch_dim, int patch_space_dim>
-const std::vector< ::DataOutBase::Patch<patch_dim, patch_space_dim> > &
+const std::vector< dealii::DataOutBase::Patch<patch_dim, patch_space_dim> > &
 DataOut_DoFData<DH,patch_dim,patch_space_dim>::get_patches () const
 {
   return patches;
@@ -406,7 +407,7 @@ void DataOut<dim,DH>::build_some_patches (Data &data)
 
   const unsigned int n_q_points = patch_points.n_quadrature_points;
   
-  typename std::vector< ::DataOutBase::Patch<DH::dimension> >::iterator patch = this->patches.begin();
+  typename std::vector< dealii::DataOutBase::Patch<DH::dimension> >::iterator patch = this->patches.begin();
   cell_iterator cell=first_cell();
   
                                   // get first cell in this thread
@@ -529,7 +530,7 @@ void DataOut<dim,DH>::build_some_patches (Data &data)
               ||
               ((*data.cell_to_patch_index_map)[neighbor->level()][neighbor->index()]
                ==
-               ::DataOutBase::Patch<DH::dimension>::no_neighbor))
+               dealii::DataOutBase::Patch<DH::dimension>::no_neighbor))
             continue;
 
                                            // now, there is a
@@ -597,7 +598,7 @@ void DataOut<dim,DH>::build_patches (const Mapping<DH::dimension> &mapping,
                                   // clear the patches array
   if (true)
     {
-      std::vector< ::DataOutBase::Patch<DH::dimension> > dummy;
+      std::vector< dealii::DataOutBase::Patch<DH::dimension> > dummy;
       this->patches.swap (dummy);
     };
   
@@ -620,7 +621,7 @@ void DataOut<dim,DH>::build_patches (const Mapping<DH::dimension> &mapping,
                                 static_cast<unsigned int>(cell->index()));
       
       cell_to_patch_index_map[l].resize (max_index+1,
-                                         ::DataOutBase::Patch<DH::dimension>::no_neighbor);
+                                         dealii::DataOutBase::Patch<DH::dimension>::no_neighbor);
     };
                                   
   unsigned int n_patches = 0;
@@ -648,7 +649,7 @@ void DataOut<dim,DH>::build_patches (const Mapping<DH::dimension> &mapping,
                                    //
                                    // then number the patches
                                    // consecutively
-  ::DataOutBase::Patch<DH::dimension>  default_patch;
+  dealii::DataOutBase::Patch<DH::dimension>  default_patch;
   default_patch.n_subdivisions = n_subdivisions;
   default_patch.data.reinit (n_datasets, n_q_points);
   this->patches.insert (this->patches.end(), n_patches, default_patch);
@@ -764,3 +765,5 @@ INSTANTIATE_VECTORS(hp::DoFHandler<deal_II_dimension>,deal_II_dimension-1,deal_I
 #endif
 
 template class DataOut<deal_II_dimension, hp::DoFHandler<deal_II_dimension> >;
+
+DEAL_II_NAMESPACE_CLOSE
index 7db06d6390c390b4e631494b48920c19730fd7a5..2d84ea7f88466c452c253c82d5bb5c33ac7a462b 100644 (file)
@@ -26,6 +26,8 @@
 #include <fe/hp_fe_values.h>
 #include <fe/mapping_q1.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 
 
 template <int dim, class DH>
@@ -61,7 +63,7 @@ void DataOutFaces<dim,DH>::build_some_patches (Data &data)
 
   const unsigned int n_q_points = patch_points.n_quadrature_points;
   
-  typename std::vector< ::DataOutBase::Patch<DH::dimension-1,DH::dimension> >::iterator patch = this->patches.begin();
+  typename std::vector< dealii::DataOutBase::Patch<DH::dimension-1,DH::dimension> >::iterator patch = this->patches.begin();
   FaceDescriptor face=first_face();
 
                                   // get first face in this thread
@@ -182,7 +184,7 @@ void DataOutFaces<dim,DH>::build_patches (const unsigned int nnnn_subdivisions,
                                   // clear the patches array
   if (true)
     {
-      std::vector< ::DataOutBase::Patch<DH::dimension-1,DH::dimension> > dummy;
+      std::vector< dealii::DataOutBase::Patch<DH::dimension-1,DH::dimension> > dummy;
       this->patches.swap (dummy);
     };
   
@@ -216,7 +218,7 @@ void DataOutFaces<dim,DH>::build_patches (const unsigned int nnnn_subdivisions,
                                   // values. note that the evaluation
                                   // points on the face have to be
                                   // repeated in angular direction
-  ::DataOutBase::Patch<DH::dimension-1,DH::dimension>  default_patch;
+  dealii::DataOutBase::Patch<DH::dimension-1,DH::dimension>  default_patch;
   default_patch.n_subdivisions = n_subdivisions;
   default_patch.data.reinit (n_datasets, n_q_points);
   this->patches.insert (this->patches.end(), n_patches, default_patch);
@@ -317,3 +319,5 @@ DataOutFaces<dim,DH>::next_face (const FaceDescriptor &old_face)
 template class DataOutFaces<deal_II_dimension, DoFHandler<deal_II_dimension> >;
 template class DataOutFaces<deal_II_dimension, hp::DoFHandler<deal_II_dimension> >;
 #endif
+
+DEAL_II_NAMESPACE_CLOSE
index 8b375a3658d48aabd5faac80af1022e2feba7e67..7d0b806c1b94aa84bbaa46ba0317a6cddd226c81 100644 (file)
@@ -28,6 +28,9 @@
 
 #include <cmath>
 
+DEAL_II_NAMESPACE_OPEN
+
+
 //TODO: Update documentation
 //TODO: Unify code for dimensions
 
@@ -86,7 +89,7 @@ void DataOutRotation<dim,DH>::build_some_patches (Data &data)
   
   
   unsigned int cell_number = 0;
-  typename std::vector< ::DataOutBase::Patch<DH::dimension+1> >::iterator
+  typename std::vector< dealii::DataOutBase::Patch<DH::dimension+1> >::iterator
     patch = this->patches.begin();
   cell_iterator cell=first_cell();
 
@@ -355,7 +358,7 @@ void DataOutRotation<dim,DH>::build_patches (
                                   // clear the patches array
   if (true)
     {
-      std::vector< ::DataOutBase::Patch<DH::dimension+1> > dummy;
+      std::vector< dealii::DataOutBase::Patch<DH::dimension+1> > dummy;
       this->patches.swap (dummy);
     };
   
@@ -395,7 +398,7 @@ void DataOutRotation<dim,DH>::build_patches (
                                   // values. note that the evaluation
                                   // points on the cell have to be
                                   // repeated in angular direction
-  ::DataOutBase::Patch<DH::dimension+1>  default_patch;
+  dealii::DataOutBase::Patch<DH::dimension+1>  default_patch;
   default_patch.n_subdivisions = n_subdivisions;
   default_patch.data.reinit (n_datasets,
                             n_q_points * (n_subdivisions+1));
@@ -441,3 +444,5 @@ DataOutRotation<dim,DH>::next_cell (const cell_iterator &cell)
 
 // explicit instantiations
 template class DataOutRotation<deal_II_dimension, DoFHandler<deal_II_dimension> >;
+
+DEAL_II_NAMESPACE_CLOSE
index 6767b332eaac002efca3ea4a9da777dd836cbe2b..9d400bc4118032ed0f85101ff7688edf4b234363 100644 (file)
@@ -27,6 +27,8 @@
 
 #include <sstream>
 
+DEAL_II_NAMESPACE_OPEN
+
 
 template <int dim, class DH>
 unsigned int
@@ -287,14 +289,14 @@ void DataOutStack<dim,DH>::build_patches (const unsigned int nnnn_subdivisions)
                                   // patch with n_q_points (in the the plane
                                   // of the cells) times n_subdivisions+1 (in
                                   // the time direction) points
-  ::DataOutBase::Patch<dim+1,dim+1>  default_patch;
+  dealii::DataOutBase::Patch<dim+1,dim+1>  default_patch;
   default_patch.n_subdivisions = n_subdivisions;
   default_patch.data.reinit (n_datasets, n_q_points*(n_subdivisions+1));
   patches.insert (patches.end(), n_patches, default_patch);
 
                                   // now loop over all cells and
                                   // actually create the patches
-  typename std::vector< ::DataOutBase::Patch<dim+1,dim+1> >::iterator
+  typename std::vector< dealii::DataOutBase::Patch<dim+1,dim+1> >::iterator
     patch = patches.begin() + (patches.size()-n_patches);
   unsigned int cell_number = 0;
   for (typename DH::active_cell_iterator cell=dof_handler->begin_active();
@@ -439,7 +441,7 @@ DataOutStack<dim,DH>::memory_consumption () const
 
 
 template <int dim, class DH>
-const std::vector< ::DataOutBase::Patch<dim+1,dim+1> > &
+const std::vector< dealii::DataOutBase::Patch<dim+1,dim+1> > &
 DataOutStack<dim,DH>::get_patches () const
 {
   return patches;
@@ -480,3 +482,5 @@ add_data_vector<double> (const Vector<double> &vec,
 template void DataOutStack<deal_II_dimension,hp::DoFHandler<deal_II_dimension> >::
 add_data_vector<float> (const Vector<float>  &vec,
                        const std::string    &name);
+
+DEAL_II_NAMESPACE_CLOSE
index 8bffc3207f33e3d87131fb9026cff50bb2e6b288..fd60e8db2dfceb09c56b1a5e9c890737db866487 100644 (file)
@@ -33,6 +33,8 @@
 
 #include <cmath>
 
+DEAL_II_NAMESPACE_OPEN
+
 
 
 template <typename T>
@@ -158,7 +160,8 @@ derivative_norm (const Derivative &d)
                                   //
                                   // if the d_11=a, d_22=b,
                                   // d_12=d_21=c
-  const double radicand = ::sqr(d[0][0] - d[1][1]) + 4*::sqr(d[0][1]);
+  const double radicand = dealii::sqr(d[0][0] - d[1][1]) +
+                         4*dealii::sqr(d[0][1]);
   const double eigenvalues[2]
     = { 0.5*(d[0][0] + d[1][1] + std::sqrt(radicand)),
        0.5*(d[0][0] + d[1][1] - std::sqrt(radicand))  };
@@ -1073,3 +1076,5 @@ DerivativeApproximation::SecondDerivative<deal_II_dimension>::update_flags;
 template
 const UpdateFlags
 DerivativeApproximation::ThirdDerivative<deal_II_dimension>::update_flags;
+
+DEAL_II_NAMESPACE_CLOSE
index dae3f3143b6bc13df33ea8e762e77df32b662cd8..7c4d86ca39e6dd18358dfa54eae1e7b4695640b8 100644 (file)
@@ -37,6 +37,8 @@
 #include <cmath>
 #include <vector>
 
+DEAL_II_NAMESPACE_OPEN
+
 
 
 static
@@ -1135,7 +1137,7 @@ integrate_over_regular_face (const DH                                 &dof_handl
     for (unsigned int component=0; component<n_components; ++component)
       if (component_mask[component] == true)
        for (unsigned int p=0; p<n_q_points; ++p)
-         face_integral[n] += ::sqr(per_thread_data.phi[n][p][component]) *
+         face_integral[n] += dealii::sqr(per_thread_data.phi[n][p][component]) *
                              per_thread_data.JxW_values[p];
 
                                   // double check that the element
@@ -1313,7 +1315,7 @@ integrate_over_irregular_face (const DH                                 &dof_han
        for (unsigned int component=0; component<n_components; ++component)
          if (component_mask[component] == true)
            for (unsigned int p=0; p<n_q_points; ++p)
-             face_integral[n] += ::sqr(per_thread_data.phi[n][p][component]) *
+             face_integral[n] += dealii::sqr(per_thread_data.phi[n][p][component]) *
                                  per_thread_data.JxW_values[p];
 
       face_integrals[neighbor_child->face(neighbor_neighbor)] = face_integral;
@@ -1430,3 +1432,5 @@ INSTANTIATE(PETScWrappers::BlockVector,DoFHandler<deal_II_dimension>);
 INSTANTIATE(PETScWrappers::Vector,hp::DoFHandler<deal_II_dimension>);
 INSTANTIATE(PETScWrappers::BlockVector,hp::DoFHandler<deal_II_dimension>);
 #endif
+
+DEAL_II_NAMESPACE_CLOSE
index 6b21b843117ce7ff313478cd93feb263e2026c4d..b510fd8a23478af27872be06b2ad1c29f0ae8c90 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 1999, 2000, 2001, 2002, 2003, 2005 by the deal.II authors
+//    Copyright (C) 1999, 2000, 2001, 2002, 2003, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -18,6 +18,8 @@
 #include <algorithm>
 #include <cmath>
 
+DEAL_II_NAMESPACE_OPEN
+
 
 template <typename number>
 inline
@@ -339,3 +341,5 @@ template
 void Histogram::evaluate<double> (const Vector<double>   &values,
                                  const unsigned int      n_intervals,
                                  const IntervalSpacing   interval_spacing);
+
+DEAL_II_NAMESPACE_CLOSE
index 01d9af4f07de745d7aa71962d2ca9cbfa2125514..d335079911985a403606261f2194ef95d11668c3 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2001, 2002, 2003, 2004, 2005 by the deal.II authors
+//    Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -28,6 +28,8 @@
 
 #include <algorithm>
 
+DEAL_II_NAMESPACE_OPEN
+
 
 //TODO:[WB] I don't think that the optimized storage of diagonals is needed (GK)
 template <typename number>
@@ -824,3 +826,5 @@ MatrixTools::apply_boundary_values<float> (const std::map<unsigned int,double> &
                                           BlockVector<float>   &solution,
                                           BlockVector<float>   &right_hand_side,
                                           const bool        preserve_symmetry);
+
+DEAL_II_NAMESPACE_CLOSE
index 439f384a906b95f23f66417d7221e07e778714ea..1a90e9627a7fc8cc32631c2995f90d71674b09d8 100644 (file)
@@ -38,6 +38,7 @@
 #include <cmath>
 
 
+DEAL_II_NAMESPACE_OPEN
 
 template <int dim>
 inline
@@ -1455,3 +1456,5 @@ void MatrixCreator::create_laplace_matrix<deal_II_dimension>
  const Function<deal_II_dimension>      &rhs,
  Vector<double>           &rhs_vector,
  const Function<deal_II_dimension> * const coefficient);
+
+DEAL_II_NAMESPACE_CLOSE
index a426a20fc417aa528aa0f3181d2f5add4e347d16..f11630816a6934b1bd22b2041ae5ddb6218a6b9c 100644 (file)
@@ -22,6 +22,7 @@
 #include <lac/vector.h>
 #include <numerics/solution_transfer.h>
 
+DEAL_II_NAMESPACE_OPEN
 
 
 
@@ -420,3 +421,5 @@ template class SolutionTransfer<deal_II_dimension, float>;
 template class SolutionTransfer<deal_II_dimension, double>;
 
 /*----------------------------   solution_transfer.cc     ----------------------*/
+
+DEAL_II_NAMESPACE_CLOSE
index eaa2372dbd3c645e57c7197c01a2f7866c3df0a5..edf06a5a5d609842ca66ec1b612b047551ffcd71 100644 (file)
@@ -25,6 +25,7 @@
 #include <algorithm>
 #include <numeric>
 
+DEAL_II_NAMESPACE_OPEN
 
 TimeDependent::TimeSteppingData::TimeSteppingData (const unsigned int look_ahead,
                                                   const unsigned int look_back)
@@ -585,7 +586,7 @@ namespace
       {
        Assert(old_cell->n_children()==new_cell->n_children(), ExcNotImplemented());
        for (unsigned int c=0; c<new_cell->n_children(); ++c)
-         ::mirror_refinement_flags<dim> (new_cell->child(c), old_cell->child(c));
+         dealii::mirror_refinement_flags<dim> (new_cell->child(c), old_cell->child(c));
       }
   }
 
@@ -603,7 +604,7 @@ namespace
 
        Assert(cell2->n_children()==cell1->n_children(), ExcNotImplemented());
        for (unsigned int c=0; c<cell1->n_children(); ++c) 
-         grids_changed |= ::adapt_grid_cells<dim> (cell1->child(c),
+         grids_changed |= dealii::adapt_grid_cells<dim> (cell1->child(c),
                                                    cell2->child(c));
        return grids_changed;
       };
@@ -711,7 +712,7 @@ namespace
            typename Triangulation<dim>::cell_iterator(tria1.end()) :
            tria1.begin(1));
     for (; cell1!=endc; ++cell1, ++cell2)
-      grids_changed |= ::adapt_grid_cells<dim> (cell1, cell2);
+      grids_changed |= dealii::adapt_grid_cells<dim> (cell1, cell2);
 
     return grids_changed;
   }
@@ -834,7 +835,7 @@ void TimeStepBase_Tria<dim>::refine_grid (const RefinementData refinement_data)
                                         // (there are more coming below then
                                         // also)
        if (refinement_flags.adapt_grids)
-         ::adapt_grids<dim> (*previous_tria, *tria);
+         dealii::adapt_grids<dim> (*previous_tria, *tria);
        
                                         // perform flagging of cells
                                         // needed to regularize the
@@ -1091,14 +1092,14 @@ void TimeStepBase_Tria<dim>::refine_grid (const RefinementData refinement_data)
                                       // strange things may happen
       if (refinement_flags.mirror_flags_to_previous_grid)
        {
-         ::adapt_grids<dim> (*previous_tria, *tria);
+         dealii::adapt_grids<dim> (*previous_tria, *tria);
 
          typename Triangulation<dim>::cell_iterator old_cell, new_cell, endc;
          old_cell = previous_tria->begin(0);
          new_cell = tria->begin(0);
          endc     = tria->end(0);
          for (; new_cell!=endc; ++new_cell, ++old_cell)
-           ::mirror_refinement_flags<dim> (new_cell, old_cell);
+           dealii::mirror_refinement_flags<dim> (new_cell, old_cell);
        };
       
       tria->prepare_coarsening_and_refinement ();
@@ -1109,7 +1110,7 @@ void TimeStepBase_Tria<dim>::refine_grid (const RefinementData refinement_data)
                                       // cells to avoid the previous grid
                                       // to have cells refined twice more
                                       // than the present one and vica versa.
-      ::adapt_grids<dim> (*previous_tria, *tria);
+      dealii::adapt_grids<dim> (*previous_tria, *tria);
     };
 }
 
@@ -1250,3 +1251,5 @@ namespace TimeStepBase_Tria_Flags
   template class RefinementFlags<deal_II_dimension>;
   template class RefinementData<deal_II_dimension>;
 }
+
+DEAL_II_NAMESPACE_CLOSE
index 49e87e6a89ca491837c29ef8fc139a73302311d7..7e8e7d5c663728b4c7f544cbff2585289ec3279a 100644 (file)
@@ -15,6 +15,7 @@
 #include <lac/vector.h>
 #include <numerics/vectors.h>
 
+DEAL_II_NAMESPACE_OPEN
 
 
 void
@@ -42,3 +43,5 @@ VectorTools::subtract_mean_value(Vector<double>     &v,
     if (p_select[i])
       v(i) -= s;  
 }
+
+DEAL_II_NAMESPACE_CLOSE
index 676f7db24a03203696b64b6c0f6520fa67cfa5b1..f09670517054494d0610fa888575cfe651bc8d4c 100644 (file)
@@ -35,6 +35,8 @@
 #undef VEC
 
 
+DEAL_II_NAMESPACE_OPEN
+
 template
 void VectorTools::create_right_hand_side<deal_II_dimension>
 (const Mapping<deal_II_dimension>    &,
@@ -168,3 +170,5 @@ VectorTools::interpolate_boundary_values<deal_II_dimension>
  std::map<unsigned int,double> &,
  const std::vector<bool>       &);
 
+
+DEAL_II_NAMESPACE_CLOSE
index 2ab7cd8a1ca6cfea049c0a877f78c8de23dc5f5f..93ac348901cada378034a9b60d1bbc8d1eaf0db8 100644 (file)
@@ -15,6 +15,8 @@
 
 // vectors.cc defines the vector type VEC
 
+DEAL_II_NAMESPACE_OPEN
+
 template
 void VectorTools::interpolate<deal_II_dimension>
 (const Mapping<deal_II_dimension>&,
@@ -228,3 +230,5 @@ void VectorTools::project
  const bool,
  const Quadrature<deal_II_dimension-1> &,
  const bool);
+
+DEAL_II_NAMESPACE_CLOSE
index 4a0cec66d8e1baf29d2c2e1522bd80650957fe27..6b46bd49c58f7e522ad4cda63cb8d5ad3e6cd8f3 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$ 
 //
-//    Copyright (C) 2005 by the deal.II authors
+//    Copyright (C) 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -25,6 +25,8 @@
 #include <iostream>
 #include <fstream>
 
+using namespace dealii;
+
 double Adata[] =
 {
       4., .5, .1, 0.,
index 2f86cccabcabb5df8174f9edb32f8d40d51bba1e..35aa5d49b5107f0f92be925f042da9dc859bdc5f 100644 (file)
@@ -27,6 +27,8 @@
 
 #include <iostream>
 
+using namespace dealii;
+
 int main()
 {
   Triangulation<2> tr;
index 7e92d864bd76e9e71504e7f6ef27f3f18078836d..73e66960abaa9e4ea83382accc7cabed1f4ea1d4 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$ 
 //
-//    Copyright (C) 2005 by the deal.II authors
+//    Copyright (C) 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -18,6 +18,7 @@
 #include <lac/full_matrix.h>
 #include <lac/vector.h>
 
+using namespace dealii;
 
 double Adata[] =
 {
index 624bb7099f6c45f0337249bbe5c87f146c6ba5eb..58955c6932b1161210f38fd2fd47ca2dae69039b 100644 (file)
@@ -38,6 +38,8 @@
                                 // `sqrt' and `fabs' functions:
 #include <cmath>
 
+using namespace dealii;
+
                                 // @sect3{Creating the first mesh}
 
                                  // In the following, first function, we
index f0ce11e6c25c6c72cdbc1438411a7f3715a221a4..8ca3e40541ee7fe8b4a3624abc68cffff87e5470 100644 (file)
@@ -39,6 +39,8 @@
 #include <fstream>
 #include <cmath>
 
+using namespace dealii;
+
                                 // Now, as we want to compute the
                                 // value of pi, we have to compare to
                                 // somewhat. These are the first few
index c57edd2efeef9b0636b118c8725c55a741a314c4..f78682c6566010830a2bba96af28e1f4da542dd9 100644 (file)
@@ -4,7 +4,7 @@
 /*    $Id$       */
 /*    Version: $Name$                                          */
 /*                                                                */
-/*    Copyright (C) 2001, 2002, 2003, 2004 by the deal.II authors */
+/*    Copyright (C) 2001, 2002, 2003, 2004, 2006 by the deal.II authors */
 /*                                                                */
 /*    This file is subject to QPL and may not be  distributed     */
 /*    without copyright and license information. Please refer     */
@@ -55,6 +55,7 @@
 #include <iomanip>
 #include <cmath>
 
+using namespace dealii;
 
                                 // Then we declare a class which
                                 // represents the solution of a
index 4dc5df5ce55362da0e5346386b221ec09d319bc7..186831141a59031406fecb90cf653ad956aa4fdb 100644 (file)
@@ -76,6 +76,7 @@
 #include <iostream>
 #include <fstream>
 
+using namespace dealii;
 
                                 // @sect3{Equation data}
                                 //
index fc04eff772ceb9f23d2874d567ce4ced3efad060..16600d02bf4472568b0297812fa80d8d84e717d3 100644 (file)
@@ -53,6 +53,7 @@
 #include <list>
 #include <sstream>
 
+using namespace dealii;
 
                                 // @sect3{Evaluation of the solution}
 
index 855df1fadc41cbd36a2bc0b3963995fab05caf16..2914a770b1fc7c63ded655704e6f72bab1daae82 100644 (file)
@@ -47,6 +47,8 @@
 #include <numeric>
 #include <sstream>
 
+using namespace dealii;
+
                                 // @sect3{Evaluating the solution}
 
                                 // As mentioned in the introduction,
index 912a0d8bae9b98c8c8ba4ddd5a431624d0a978f0..4e3665a6073b66279bd7f2f07ec79fc79b562315 100644 (file)
@@ -50,6 +50,7 @@
 #include <iostream>
 #include <sstream>
 
+using namespace dealii;
 
                                  // The first thing we have here is a helper
                                  // function that computes an even power $|v|^n$
index 7f96f4f705c4066aeae4d8402e2abc344a5b8196..e4562831520e744d28367ede1ba0651a158cf8f2 100644 (file)
@@ -60,6 +60,7 @@
 #include <fstream>
 #include <sstream>
 
+using namespace dealii;
 
                                 // This class is based on the same
                                 // class in step 5. Remark that we
index 65969866ca01475c6e4be8a92d229288ed1be153..325a30a8108206462c41009253f58467a15480b1 100644 (file)
@@ -98,6 +98,7 @@
 #include <iostream>
 #include <sstream>
 
+using namespace dealii;
 
                                  // Now, here comes the declaration of the
                                  // main class and of various other things
index 8302e1d6b7d6c0618a611530ee52fc0c34e1d6a3..4e3be0df92eee611d1c017199dae0892f6d5dc87 100644 (file)
@@ -67,6 +67,8 @@
 #include <sstream>
 #include <iomanip>
 
+using namespace dealii;
+
                                 // So much for the header files. As a
                                 // matter of good practice, I have
                                 // started to put everything that
index 9b5d30a7314bf10f3ec70bb6112942907f194405..0acce6a807925ea741364e66b979de9096336fbb 100644 (file)
@@ -4,7 +4,7 @@
 /*    $Id$       */
 /*    Version: $Name$                                          */
 /*                                                                */
-/*    Copyright (C) 2005 by the deal.II authors */
+/*    Copyright (C) 2005, 2006 by the deal.II authors */
 /*                                                                */
 /*    This file is subject to QPL and may not be  distributed     */
 /*    without copyright and license information. Please refer     */
@@ -27,6 +27,7 @@
 #include <iostream>
 #include <fstream>
 
+using namespace dealii;
 
                                  // Before we start with the actual program,
                                  // let us declare a few global variables that
index 3e54ec731a41e1fab2672de1f554985cc9c3cce3..92609813be2d2b1785f8b7415bf36b4b355a568f 100644 (file)
@@ -59,6 +59,7 @@
                                 // And this is again needed for C++ output:
 #include <fstream>
 
+using namespace dealii;
 
                                  // @sect3{Mesh generation}
 
index b6f0137641ba41149324786d3d808690abec377d..518f9c28f970aeb7474f5f3fa44c5d8891b4cb08 100644 (file)
@@ -63,6 +63,7 @@
                                 // offers such functionality:
 #include <base/tensor_function.h>
 
+using namespace dealii;
 
                                  // @sect3{The <code>MixedLaplaceProblem</code> class template}
 
index 6c0ab4bcd123af71d3ef509c9d7288f191f70f53..6676b1c317210e792e792d105677618e9f300d69 100644 (file)
@@ -48,6 +48,7 @@
                                 // offers such functionality:
 #include <base/tensor_function.h>
 
+using namespace dealii;
 
                                  // @sect3{The ``TwoPhaseFlowProblem'' class template}
                                  
index 4e8e48d969428067ba0e534bb0eb901dc7fa7829..4bdf2cf41037cba3342204b167d19107c3edd46c 100644 (file)
                                 // double digit time steps.
 #include <base/utilities.h>
 
+using namespace dealii;
+
 
                                 // @sect3{The <code>WaveEquation</code> class}
 
index 2ad21b7c8a1c5ba491e3695a0fdb3ec8c302843b..b7e378b4eb2026663fd67ec85f0da75338fe7505 100644 (file)
@@ -53,6 +53,7 @@
                                 // diameter.
 #include <grid/grid_tools.h>
 
+using namespace dealii;
 
                                 // @sect3{The "forward problem" class template}
 
index 29e7cd63b2ae4c9974efada4e09f99802a739232..96b0b200a354faf48a212ba6190bec2854938c58 100644 (file)
@@ -47,6 +47,8 @@
 #include <iostream>
 #include <sstream>
 
+using namespace dealii;
+
 // The following global variable is used to determine whether the
 // problem being solved is one for which an exact solution is known,
 // e.g. we are using the exact solution as the initial condition. It
index aa363f6256a50c9526e285a67bee38db349fe3c4..173ca60a90d343d1fc9cf1cbca9aac280b211b33 100644 (file)
@@ -54,6 +54,7 @@
 #include <numeric>
 #include <grid/tria_boundary.h>
 
+using namespace dealii;
 
 class PointCloudSurface : public StraightBoundary<3>
 {
index 821b0e044b5e600b412e1966ac18593e88a4aa0d..b5aa75dcf601b27d2527a80a6318d9b6d09783fb 100644 (file)
@@ -90,6 +90,7 @@
 #include <fstream>
 #include <iostream>
 
+using namespace dealii;
 
                                  // @sect3{The <code>LaplaceProblem</code> class}
 
index d6ff4ec32a652a889f1aa36b8622249ef2de2974..2777783af5cf521e0bc0d1c569fe5e7c3ec55a2b 100644 (file)
@@ -49,6 +49,7 @@
                                 // the main() function below for that):
 #include <base/logstream.h>
 
+using namespace dealii;
 
                                  // @sect3{The <code>LaplaceProblem</code> class template}
 
index 0caaae616b1b307952f3f293537f964695e4aa92..947834122c5a1f7907f6c304ecd1134d48fc18d4 100644 (file)
@@ -55,6 +55,8 @@
                                 // <code>ostringstream</code>:
 #include <sstream>
 
+using namespace dealii;
+
 
                                  // @sect3{The <code>LaplaceProblem</code> class template}
 
index 354055da98e23378cde1238c048d6faa7f76dc2e..53c91563c768f8457aaf364166cfda7494474198 100644 (file)
                                 // problems.
 #include <numerics/error_estimator.h>
 
+using namespace dealii;
 
 
                                  // @sect3{The <code>LaplaceProblem</code> class template}
index 6c8afa4768950511fe35a8b75c87bb332efb9cd1..814623d42ce35c0b080ddd0775b83f57db406901 100644 (file)
@@ -81,6 +81,7 @@
 #include <fstream>
 #include <iostream>
 
+using namespace dealii;
 
                                 // @sect3{Equation data}
 
index 6d14741c891877c64ccac319f74243f4a8415d25..b37cc9b021665bdbc32cac1180417c59e7874c1f 100644 (file)
@@ -55,6 +55,7 @@
 #include <fstream>
 #include <iostream>
 
+using namespace dealii;
 
                                  // @sect3{The <code>ElasticProblem</code> class template}
 
index 51e8b177e7fc029883e1b2a821ca146fcf7d0595..7e96c0b2e865e4700eaedfafe4a69baecc74ae25 100644 (file)
@@ -85,6 +85,8 @@
 #  define      M_PI            3.14159265358979323846
 #endif
 
+using namespace dealii;
+
                                 // @sect3{AdvectionProblem class declaration}
 
                                 // Following we declare the main
index 6d0e9f6dee67bcc46152291fc889342b4ae425f6..ce7e6cdeb057c44c68fc8a25f81abae2c4b65e34 100644 (file)
@@ -18,6 +18,8 @@
 #include <base/exceptions.h>
 #include <vector>
 
+DEAL_II_NAMESPACE_OPEN
+
 
 /**
  * Class that manages the conversion of global indices into a block
@@ -333,4 +335,6 @@ void swap (BlockIndices &u, BlockIndices &v)
 
 
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index 125caf62cbd0030ef789f77b7a013b092d7a4852..a8dfe75bd8034be91eb3c58f927cb199103cf971 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 by the deal.II authors
+//    Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -19,6 +19,8 @@
 #include <base/smartpointer.h>
 #include <lac/block_vector.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 /*! @addtogroup Matrix2
  *@{
  */
@@ -117,4 +119,6 @@ BlockDiagonalMatrix<MATRIX>::Tvmult (BlockVector<number1>& dst,
 }
 
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index 408eb8b520abb9fc08391731db8e35831a6f9940..b27977500f110ab87ea6f2b551206e09dd611111 100644 (file)
@@ -26,6 +26,7 @@
 #include <memory>
 #include <sstream>
 
+DEAL_II_NAMESPACE_OPEN
 
 template <typename> class BlockVector;
 template <typename> class Vector;
@@ -795,4 +796,6 @@ BlockTrianglePrecondition<number>::enter_aux (
 
 #endif // DOXYGEN
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index 7a6348ea65a797c00778619a459d7a8de80bdd5e..103eb2d213a11f9bed0d8bc751eea92a331ae17e 100644 (file)
@@ -23,6 +23,8 @@
 
 #include <cmath>
 
+DEAL_II_NAMESPACE_OPEN
+
 
 
 /*! @addtogroup Matrix1
@@ -2155,4 +2157,6 @@ BlockMatrixBase<MatrixType>::collect_sizes ()
 #endif // DOXYGEN
 
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif    // __deal2__block_matrix_base_h
index 5a0e31aaadb8a5668cab77f20b3f4ec04fce7ed4..38fc98b9fb278a0560b75103e9c8a6dafd36cad7 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 by the deal.II authors
+//    Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -24,6 +24,7 @@
 
 #include <cmath>
 
+DEAL_II_NAMESPACE_OPEN
 
 
 /*! @addtogroup Matrix1
@@ -566,4 +567,6 @@ precondition_Jacobi (Vector<number2>       &dst,
 }
 
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif    // __deal2__block_sparse_matrix_h
index 9865ed5fb4fcead06b8ea8ef907507724029ba2e..9c0e277add400d372f316b4e5d908633f13effef 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 by the deal.II authors
+//    Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -18,6 +18,7 @@
 #include <base/memory_consumption.h>
 #include <lac/block_sparse_matrix.h>
 
+DEAL_II_NAMESPACE_OPEN
 
 
 template <typename number>
@@ -227,4 +228,6 @@ BlockSparseMatrix<number>::memory_consumption () const
 
 
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif // ifdef block_sparse_matrix_templates_h
index 4c5ed096d92761346afc8faca0a325202e6b2c82..9e3d1c2999f9de84691cab644dcbf4731569f6df 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2002, 2003, 2004, 2005 by the deal.II authors
+//    Copyright (C) 2002, 2003, 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -22,6 +22,8 @@
 #include <lac/block_indices.h>
 #include <lac/sparse_matrix_ez.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 template <typename Number> class BlockVector;
 
 /*! @addtogroup Matrix1
@@ -595,4 +597,6 @@ BlockSparseMatrixEZ<number>::print_statistics (STREAM& out, bool full)
 }
 
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif //__deal2__block_sparse_matrix_ez_h
index a75e91f67343eb71a25998e79a99e01fa1cf6f99..79cfcc043deda68bbeeac37cc076450929f295c8 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2002, 2003, 2004, 2005 by the deal.II authors
+//    Copyright (C) 2002, 2003, 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -18,6 +18,7 @@
 #include <base/memory_consumption.h>
 #include <lac/block_sparse_matrix_ez.h>
 
+DEAL_II_NAMESPACE_OPEN
 
 
 template <typename number>
@@ -218,4 +219,6 @@ BlockSparseMatrixEZ<number>::collect_sizes ()
 
 
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif // ifdef block_sparse_matrix_templates_h
index 2c1dc8e913a78c963d84cba7dc5d58310ed928b9..dcb66eb51156bf7fd2942efa142ab624283f58d0 100644 (file)
@@ -23,6 +23,8 @@
 #include <lac/compressed_sparsity_pattern.h>
 #include <lac/block_indices.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 
 template <typename number> class BlockSparseMatrix;
 class BlockSparsityPattern;
@@ -699,4 +701,6 @@ BlockSparsityPattern::reinit (
 }
 
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index c90d7675ba8140e461d0513f6c8c817b8321cf62..ff2faef5d033fd1a4ce2d67b02679ff9ab2043d1 100644 (file)
@@ -23,6 +23,7 @@
 #include <cstdio>
 #include <vector>
 
+DEAL_II_NAMESPACE_OPEN
 
 
 /*! @addtogroup Vectors
@@ -511,4 +512,6 @@ void swap (BlockVector<Number> &u,
   u.swap (v);
 }
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index 30a17c690077e8e434776ce121873e9527567794..bfd7b18f9c99d053bf8c95bc9f06daf923b40b4d 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 by the deal.II authors
+//    Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -20,6 +20,7 @@
 #include <cmath>
 #include <algorithm>
 
+DEAL_II_NAMESPACE_OPEN
 
 template <typename Number>
 BlockVector<Number>::BlockVector (const unsigned int n_blocks,
@@ -112,8 +113,8 @@ void BlockVector<Number>::swap (BlockVector<Number> &v)
          ExcDimensionMismatch(this->n_blocks(), v.n_blocks()));
   
   for (unsigned int i=0; i<this->n_blocks(); ++i)
-    ::swap (this->components[i], v.components[i]);
-  ::swap (this->block_indices, v.block_indices);
+    dealii::swap (this->components[i], v.components[i]);
+  dealii::swap (this->block_indices, v.block_indices);
 }
 
 
@@ -166,4 +167,6 @@ BlockVector<Number>::memory_consumption () const
 
 
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index b171024d60cd9db3c4a6f894d5423eddca5775e5..a22727108d9593cf29d9ba54f05b3ce32be7e4b8 100644 (file)
@@ -24,6 +24,7 @@
 #include <iterator>
 #include <cmath>
 
+DEAL_II_NAMESPACE_OPEN
 
 
 /*! @addtogroup Vectors
@@ -2208,4 +2209,6 @@ BlockVectorBase<VectorType>::operator() (const unsigned int i)
 
 #endif // DOXYGEN
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index 5b3a41221a18381c6bd550047953322ef5083433..f6d79cb5d9ec32ddd8ec80a76fc4022bd0959f6f 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2001, 2002, 2003, 2004, 2005 by the deal.II authors
+//    Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
 #include <base/subscriptor.h>
 #include <lac/exceptions.h>
 
-template <typename number> class SparseMatrix;
-
 #include <vector>
 #include <algorithm>
 
+DEAL_II_NAMESPACE_OPEN
+
+template <typename number> class SparseMatrix;
+
+
 /*! @addtogroup Matrix1
  *@{
  */
@@ -532,4 +535,6 @@ CompressedSparsityPattern::column_number (const unsigned int row,
 
 
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index de9c4591e72fa57a2de38d0763f60b1942e26f89..817f83c232ddbc670fec8af5120d8c7fbc76c836 100644 (file)
@@ -26,6 +26,9 @@
 
 #include <cmath>
 
+DEAL_II_NAMESPACE_OPEN
+
+
 /*!@addtogroup Solvers */
 /*@{*/
 
@@ -419,4 +422,6 @@ EigenInverse<VECTOR>::solve (double       &value,
                                   // otherwise exit as normal
 }
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index d286ad19fe67707dfff2cfd168117af0ae139a9c..f867200151736f2f18616ec92748e3d87965424f 100644 (file)
@@ -15,6 +15,8 @@
 
 #include <base/exceptions.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 namespace LACExceptions 
 {
                                   /**
@@ -57,4 +59,6 @@ namespace LACExceptions
 using namespace LACExceptions;
 
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index 52464ec18650282fda5cad360651080bff1fa736..399b20881c6a77e81af995db5fa5c1f4e83ad2c9 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2001, 2002, 2003, 2004, 2005 by the deal.II authors
+//    Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -21,6 +21,7 @@
 #include <vector>
 #include <algorithm>
 
+DEAL_II_NAMESPACE_OPEN
 
 template <typename number> class Vector;
 
@@ -610,5 +611,7 @@ unsigned int FilteredMatrix<MATRIX,VECTOR>::n () const
 
 /*----------------------------   filtered_matrix.h     ---------------------------*/
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
 /*----------------------------   filtered_matrix.h     ---------------------------*/
index 2a3131f22e1e7c67504efe0cee9b9796cb9f288e..6b9f20ebdc68afe57932bd08047810f51f9ba0f1 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2001, 2002, 2003, 2005 by the deal.II authors
+//    Copyright (C) 2001, 2002, 2003, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -22,6 +22,9 @@
 #include <lac/vector.h>
 #include <lac/block_vector.h>
 
+DEAL_II_NAMESPACE_OPEN
+
+
 template <class MATRIX, class VECTOR>
 FilteredMatrix<MATRIX,VECTOR>::FilteredMatrix ()
 {}
@@ -264,4 +267,6 @@ FilteredMatrix<MATRIX,VECTOR>::memory_consumption () const
 
 
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index ba811f9015966f799e5263e16299e32e71d67388..9f331062e94aed838ea322a332cf911bdfdc7d55 100644 (file)
@@ -22,6 +22,9 @@
 #include <vector>
 #include <iomanip>
 
+DEAL_II_NAMESPACE_OPEN
+
+
 // forward declarations
 template<typename number> class Vector;
 
@@ -1456,5 +1459,7 @@ FullMatrix<number>::print (STREAM             &s,
 
 #endif // DOXYGEN
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
 
index 89401b9064034ac0fd1b6fbfb681cd5661177d8b..18bb6af4d1e8fbde57bfaa274a3a6b3b5b75ee3d 100644 (file)
@@ -24,6 +24,9 @@
 #include <cstdio>
 #include <algorithm>
 
+DEAL_II_NAMESPACE_OPEN
+
+
 template <typename number>
 FullMatrix<number>::FullMatrix (const unsigned int n)
                 :
@@ -2383,4 +2386,6 @@ FullMatrix<number>::memory_consumption () const
 }
 
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index 1ca3bd31710a63fc8ce1b0e9199b85fbba83cbb8..c3299e3d61834060d9889ab7cf9ae4317ad1d611 100644 (file)
@@ -20,6 +20,9 @@
 
 #include <vector>
 
+DEAL_II_NAMESPACE_OPEN
+
+
 // forward declarations
 template<typename number> class Vector;
 
@@ -182,5 +185,7 @@ Householder<number>::least_squares (Vector<number2>& dst,
 
 #endif // DOXYGEN
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
 
index e41cc413f6a719c6f764cce5cf53ae34c2f32f1e..6e427b61c40a34481d7a7ef8648c68cd57c2d851 100644 (file)
@@ -17,6 +17,7 @@
 #include <base/config.h>
 #include <lac/exceptions.h>
 
+DEAL_II_NAMESPACE_OPEN
 
 /*! @addtogroup Matrix1
  *@{
@@ -272,5 +273,7 @@ IdentityMatrix::Tvmult_add (VECTOR1       &out,
 
 /**@}*/
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
 
index 19826dad7e1e57ebf5f60e7afdd535d63d444831..0f238cef55fc92ac78e00c7d598eb5d751ee1147 100644 (file)
@@ -23,6 +23,8 @@
 #include <vector>
 #include <complex>
 
+DEAL_II_NAMESPACE_OPEN
+
 // forward declarations
 template<typename number> class Vector;
 template<typename number> class BlockVector;
@@ -484,4 +486,6 @@ LAPACKFullMatrix<number>::eigenvalue (const unsigned int i) const
 
 
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index 967ac9e8b1c9a787928d3e55114f4c51ae477705..dcfab53d447b28db0e0f99e8cbdab967160ec6d1 100644 (file)
@@ -17,6 +17,8 @@
 #include <base/config.h>
 #include <base/exceptions.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 
 namespace LAPACKSupport
 {
@@ -128,4 +130,6 @@ namespace LAPACKSupport
 }
 
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index 163ff77c31123d67e58e846429fc637024162d0e..b157ed51ba5a84d989b89dbbd6253cc8c1d7e6ae 100644 (file)
@@ -5,7 +5,7 @@
 //    This file was automatically generated from blas.h.in
 //    See blastemplates in the deal.II contrib directory
 //
-//    Copyright (C) 2005 by the deal authors
+//    Copyright (C) 2005, 2006 by the deal authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -120,7 +120,7 @@ gemv (const char* trans, const int* m, const int* n, const double* alpha, const
 inline void
 gemv (const char*, const int*, const int*, const double*, const double*, const int*, const double*, const int*, const double*, double*, const int*)
 {
-  LAPACKSupport::ExcMissing("dgemv");
+  dealii::LAPACKSupport::ExcMissing("dgemv");
 }
 #endif
 
@@ -135,7 +135,7 @@ gemv (const char* trans, const int* m, const int* n, const float* alpha, const f
 inline void
 gemv (const char*, const int*, const int*, const float*, const float*, const int*, const float*, const int*, const float*, float*, const int*)
 {
-  LAPACKSupport::ExcMissing("sgemv");
+  dealii::LAPACKSupport::ExcMissing("sgemv");
 }
 #endif
 
@@ -150,7 +150,7 @@ getrf (const int* m, const int* n, double* A, const int* lda, int* ipiv, int* in
 inline void
 getrf (const int*, const int*, double*, const int*, int*, int*)
 {
-  LAPACKSupport::ExcMissing("dgetrf");
+  dealii::LAPACKSupport::ExcMissing("dgetrf");
 }
 #endif
 
@@ -165,7 +165,7 @@ getrf (const int* m, const int* n, float* A, const int* lda, int* ipiv, int* inf
 inline void
 getrf (const int*, const int*, float*, const int*, int*, int*)
 {
-  LAPACKSupport::ExcMissing("sgetrf");
+  dealii::LAPACKSupport::ExcMissing("sgetrf");
 }
 #endif
 
@@ -180,7 +180,7 @@ getrs (const char* trans, const int* n, const int* nrhs, const double* A, const
 inline void
 getrs (const char*, const int*, const int*, const double*, const int*, const int*, double*, const int*, int*)
 {
-  LAPACKSupport::ExcMissing("dgetrs");
+  dealii::LAPACKSupport::ExcMissing("dgetrs");
 }
 #endif
 
@@ -195,7 +195,7 @@ getrs (const char* trans, const int* n, const int* nrhs, const float* A, const i
 inline void
 getrs (const char*, const int*, const int*, const float*, const int*, const int*, float*, const int*, int*)
 {
-  LAPACKSupport::ExcMissing("sgetrs");
+  dealii::LAPACKSupport::ExcMissing("sgetrs");
 }
 #endif
 
@@ -210,7 +210,7 @@ geev (const char* jobvl, const char* jobvr, const int* n, double* A, const int*
 inline void
 geev (const char*, const char*, const int*, double*, const int*, double*, double*, double*, const int*, double*, const int*, double*, const int*, int*)
 {
-  LAPACKSupport::ExcMissing("dgeev");
+  dealii::LAPACKSupport::ExcMissing("dgeev");
 }
 #endif
 
@@ -225,7 +225,7 @@ geev (const char* jobvl, const char* jobvr, const int* n, float* A, const int* l
 inline void
 geev (const char*, const char*, const int*, float*, const int*, float*, float*, float*, const int*, float*, const int*, float*, const int*, int*)
 {
-  LAPACKSupport::ExcMissing("sgeev");
+  dealii::LAPACKSupport::ExcMissing("sgeev");
 }
 #endif
 
@@ -240,7 +240,7 @@ geevx (const char* balanc, const char* jobvl, const char* jobvr, const char* sen
 inline void
 geevx (const char*, const char*, const char*, const char*, const int*, double*, const int*, double*, double*, double*, const int*, double*, const int*, int*, int*, double*, double*, double*, double*, double*, const int*, int*, int*)
 {
-  LAPACKSupport::ExcMissing("dgeevx");
+  dealii::LAPACKSupport::ExcMissing("dgeevx");
 }
 #endif
 
@@ -255,7 +255,7 @@ geevx (const char* balanc, const char* jobvl, const char* jobvr, const char* sen
 inline void
 geevx (const char*, const char*, const char*, const char*, const int*, float*, const int*, float*, float*, float*, const int*, float*, const int*, int*, int*, float*, float*, float*, float*, float*, const int*, int*, int*)
 {
-  LAPACKSupport::ExcMissing("sgeevx");
+  dealii::LAPACKSupport::ExcMissing("sgeevx");
 }
 #endif
 
@@ -270,7 +270,7 @@ gesvd (int* jobu, int* jobvt, const int* n, const int* m, double* A, const int*
 inline void
 gesvd (int*, int*, const int*, const int*, double*, const int*, double*, double*, const int*, double*, const int*, double*, const int*, int*)
 {
-  LAPACKSupport::ExcMissing("dgesvd");
+  dealii::LAPACKSupport::ExcMissing("dgesvd");
 }
 #endif
 
@@ -285,7 +285,7 @@ gesvd (int* jobu, int* jobvt, const int* n, const int* m, float* A, const int* l
 inline void
 gesvd (int*, int*, const int*, const int*, float*, const int*, float*, float*, const int*, float*, const int*, float*, const int*, int*)
 {
-  LAPACKSupport::ExcMissing("sgesvd");
+  dealii::LAPACKSupport::ExcMissing("sgesvd");
 }
 #endif
 
@@ -300,7 +300,7 @@ stev (const char* jobz, const int* n, double* d, double* e, double* z, const int
 inline void
 stev (const char*, const int*, double*, double*, double*, const int*, double*, int*)
 {
-  LAPACKSupport::ExcMissing("dstev");
+  dealii::LAPACKSupport::ExcMissing("dstev");
 }
 #endif
 
@@ -315,9 +315,8 @@ stev (const char* jobz, const int* n, float* d, float* e, float* z, const int* l
 inline void
 stev (const char*, const int*, float*, float*, float*, const int*, float*, int*)
 {
-  LAPACKSupport::ExcMissing("sstev");
+  dealii::LAPACKSupport::ExcMissing("sstev");
 }
 #endif
 
-
 #endif
index 88ee537a6d0c4f4a590e98dbd6f442a5da2c8553..273ef859adde65323d8164b2aa133ee007d8a2e5 100644 (file)
@@ -17,6 +17,8 @@
 #include <base/config.h>
 #include <base/exceptions.h>
 
+DEAL_II_NAMESPACE_OPEN
+
                                 /**
                                  * STL conforming iterator for constant
                                  * and non-constant matrices.
@@ -234,4 +236,6 @@ operator > (const MatrixIterator& other) const
   return (other < *this);
 }
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index 113fdbb4873239aca15671bd410c3f686025e4d0..3fb3f244c735d7a81a6d6cd280e3b50870401407 100644 (file)
@@ -18,6 +18,8 @@
 #include <lac/pointer_matrix.h>
 #include <lac/solver_richardson.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 template<typename number> class Vector;
 template<typename number> class BlockVector;
 template<typename number> class SparseMatrix;
@@ -615,4 +617,6 @@ InverseMatrixRichardson<VECTOR>::initialize (const MATRIX& m, const PRECONDITION
 }
 
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index bf3b1eb15c7fb55915f1808bbb0ebec9fbf50592..5eecf2bdd418ffe290bd7452ab88a469b6f03c91 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2002, 2003, 2005 by the deal.II authors
+//    Copyright (C) 2002, 2003, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -17,6 +17,7 @@
 #include <lac/vector.h>
 #include <lac/block_vector.h>
 
+DEAL_II_NAMESPACE_OPEN
 
 template <typename number>
 void
@@ -215,4 +216,6 @@ InverseMatrixRichardson<VECTOR>::Tvmult_add(VECTOR& dst, const VECTOR& src) cons
 
 
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index cbe0392706e85ae708cfdeecd9d66ad99e6d35c0..1b942e3dd0686db04389e037127f14620f5d7fa3 100644 (file)
@@ -18,6 +18,8 @@
 #include <lac/sparse_matrix.h>
 #include <lac/block_sparse_matrix.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 /**
  * Output a matrix in graphical form using the generic format
  * independent output routines of the base class. The matrix is
@@ -195,24 +197,20 @@ class MatrixOut : public DataOutInterface<2,2>
     
                                     /**
                                      * Abbreviate the somewhat
-                                     * lengthy name for the ::DataOutBase::Patch
+                                     * lengthy name for the dealii::DataOutBase::Patch
                                      * class.
                                      *
-                                     * Note that we have to indicate
-                                     * the global scope using the
-                                     * @p :: in front of
-                                     * DataOutBase, since
-                                     * otherwise the C++ rules
-                                     * specify that this here
-                                     * indicates the DataOutBase
-                                     * base class of this
-                                     * class. Since that is a private
-                                     * base class, we cannot access
-                                     * its members, and so access to
-                                     * the local Patch type would
-                                     * be forbidden.
+                                     * Note that we have to indicate the
+                                     * global scope in front of DataOutBase,
+                                     * since otherwise the C++ rules specify
+                                     * that this here indicates the
+                                     * DataOutBase base class of this
+                                     * class. Since that is a private base
+                                     * class, we cannot access its members,
+                                     * and so access to the local Patch type
+                                     * would be forbidden.
                                      */
-    typedef ::DataOutBase::Patch<2,2> Patch;
+    typedef dealii::DataOutBase::Patch<2,2> Patch;
 
                                     /**
                                      * This is a list of patches that
@@ -470,5 +468,7 @@ MatrixOut::build_patches (const Matrix      &matrix,
 
 /*----------------------------   matrix_out.h     ---------------------------*/
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
 /*----------------------------   matrix_out.h     ---------------------------*/
index ac739a64d3264739e050b2450a13ea66af3af9b9..39ffdf70dc8eb304ad32f8c245433ed1f6dfbc84 100644 (file)
@@ -26,6 +26,8 @@
 
 #ifdef DEAL_II_USE_PETSC
 
+DEAL_II_NAMESPACE_OPEN
+
 
 
 namespace PETScWrappers
@@ -372,6 +374,7 @@ namespace PETScWrappers
   
 }
 
+DEAL_II_NAMESPACE_CLOSE
 
 #endif    // DEAL_II_USE_PETSC
 
index d0f48088eca2213142be2fda8c3d1372081de96d..f2ed580ecfcc64abf5026643faf0739a96f7d126 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2004, 2005 by the deal.II authors
+//    Copyright (C) 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -23,6 +23,8 @@
 
 #ifdef DEAL_II_USE_PETSC
 
+DEAL_II_NAMESPACE_OPEN
+
 
 
 namespace PETScWrappers
@@ -479,6 +481,9 @@ namespace PETScWrappers
   
 }
 
+
+DEAL_II_NAMESPACE_CLOSE
+
 #endif  // DEAL_II_USE_PETSC
 
 #endif
index 112bd9f99de4dbd4d9ffc480674cf6892de4d211..900cfefc72fa0aa4f6a60060fe26a68983fa3ad3 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2004, 2005 by the deal.II authors
+//    Copyright (C) 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
 
 #include <base/config.h>
 #include <lac/exceptions.h>
+#include <lac/petsc_matrix_base.h>
 
 #ifdef DEAL_II_USE_PETSC
 
-#include <lac/petsc_matrix_base.h>
+DEAL_II_NAMESPACE_OPEN
+
 
 
 namespace PETScWrappers
@@ -62,6 +64,9 @@ namespace PETScWrappers
 /*@}*/
 }
 
+
+DEAL_II_NAMESPACE_CLOSE
+
 #endif // DEAL_II_USE_PETSC
 
 /*----------------------------   petsc_full_matrix.h     ---------------------------*/
index eee788f65f4e2d4473e588a7089969ef0264d3de..226871d1e3a1000c149a8d76e4317ff35d203124 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2004, 2005 by the deal.II authors
+//    Copyright (C) 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -25,6 +25,9 @@
 #include <vector>
 #include <cmath>
 
+DEAL_II_NAMESPACE_OPEN
+
+
 namespace PETScWrappers
 {
                                    // forward declarations
@@ -1058,6 +1061,9 @@ namespace PETScWrappers
 }
 
 
+DEAL_II_NAMESPACE_CLOSE
+
+
 #endif // DEAL_II_USE_PETSC
 
 
index e4fdd86e7763a3101bc209fa6425d215841f80dc..c7ab8206621ae00ef1284684b2e304c4e2ce2b24 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2004, 2005 by the deal.II authors
+//    Copyright (C) 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -24,6 +24,8 @@
 
 #ifdef DEAL_II_USE_PETSC
 
+DEAL_II_NAMESPACE_OPEN
+
 
 
 namespace PETScWrappers
@@ -364,6 +366,9 @@ namespace PETScWrappers
 }
 
 
+DEAL_II_NAMESPACE_CLOSE
+
+
 #endif    // DEAL_II_USE_PETSC
 
 #endif    // __deal2__petsc_parallel_block_sparse_matrix_h
index 49bae14f7a81650c6d29e5d64466f8a44e4bbf3a..8d752f320dd05dce1570e9d604442604c55b1ed4 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2004, 2005 by the deal.II authors
+//    Copyright (C) 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -22,6 +22,8 @@
 
 #ifdef DEAL_II_USE_PETSC
 
+DEAL_II_NAMESPACE_OPEN
+
 
 namespace PETScWrappers
 {
@@ -471,6 +473,8 @@ namespace PETScWrappers
   
 }
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif  // DEAL_II_USE_PETSC
 
 #endif
index b92229e9ddd216ebdb0c3cb9c847fb50134835cb..af4d5afd54d7ca42f8217240b98ece6038256d4b 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2004, 2005 by the deal.II authors
+//    Copyright (C) 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
 #include <base/config.h>
 #include <lac/exceptions.h>
 
-#ifdef DEAL_II_USE_PETSC
-
 #include <lac/petsc_matrix_base.h>
 #include <lac/block_sparsity_pattern.h>
 
 #include <vector>
 
+#ifdef DEAL_II_USE_PETSC
+
+DEAL_II_NAMESPACE_OPEN
+
 
 
 namespace PETScWrappers
@@ -433,6 +435,8 @@ namespace PETScWrappers
   }
 }
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif // DEAL_II_USE_PETSC
 
 /*----------------------------   petsc_parallel_sparse_matrix.h     ---------------------------*/
index 6c686801fc4b1011f06abf48cc06148d86e704a0..a00939278051d892c7fcbd03a77e7e6e9d608693 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2004, 2005 by the deal.II authors
+//    Copyright (C) 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
 #include <base/config.h>
 #include <base/subscriptor.h>
 #include <lac/exceptions.h>
-
 #include <lac/vector.h>
+#include <lac/petsc_vector_base.h>
+
 
 #ifdef DEAL_II_USE_PETSC
 
-#include <lac/petsc_vector_base.h>
+DEAL_II_NAMESPACE_OPEN
+
 
 
 // forward declaration
@@ -507,6 +509,8 @@ namespace PETScWrappers
 
 /**@}*/
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif // DEAL_II_USE_PETSC
 
 /*----------------------------   petsc_parallel_vector.h     ---------------------------*/
index 5bcc399a95ed94772de795f24138d21d14d7ff95..417b9577419bebb23acd77761d4451371628755b 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2004, 2005 by the deal.II authors
+//    Copyright (C) 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
 #include <base/config.h>
 #include <lac/exceptions.h>
 
+
 #ifdef DEAL_II_USE_PETSC
 
 #include <petscpc.h>
 
+DEAL_II_NAMESPACE_OPEN
+
+
 
 namespace PETScWrappers
 {
@@ -595,6 +599,9 @@ namespace PETScWrappers
 }
 
 
+DEAL_II_NAMESPACE_CLOSE
+
+
 #endif // DEAL_II_USE_PETSC
 
 /*----------------------------   petsc_precondition.h     ---------------------------*/
index cd57c4a64ad82477c1f5f622ab2d08342d82170d..57255723464fdb9c0099ef8a80a7474bbb79a1c2 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2004, 2005 by the deal.II authors
+//    Copyright (C) 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
 #include <base/config.h>
 #include <lac/exceptions.h>
 #include <lac/solver_control.h>
+#include <boost/shared_ptr.hpp>
+
 
 #ifdef DEAL_II_USE_PETSC
 
-#include <boost/shared_ptr.hpp>
 #include <petscksp.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 
 namespace PETScWrappers
 {
@@ -1091,6 +1094,8 @@ namespace PETScWrappers
 
 }
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif // DEAL_II_USE_PETSC
 
 /*----------------------------   petsc_solver.h     ---------------------------*/
index 4708f792afd23def340b51b47190cfc99c06908c..1cc9f813dce076127d4584f5d0cf8b878e0a64e5 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2004, 2005 by the deal.II authors
+//    Copyright (C) 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
 
 #include <base/config.h>
 #include <lac/exceptions.h>
-
-#ifdef DEAL_II_USE_PETSC
-
 #include <lac/petsc_matrix_base.h>
 #include <lac/compressed_sparsity_pattern.h>
 
 #include <vector>
 
+#ifdef DEAL_II_USE_PETSC
+
+DEAL_II_NAMESPACE_OPEN
+
+
 namespace PETScWrappers
 {
 /**
@@ -316,6 +318,8 @@ namespace PETScWrappers
   };
 }
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif // DEAL_II_USE_PETSC
 
 /*----------------------------   petsc_sparse_matrix.h     ---------------------------*/
index 653b0e83f7bb8c2e78330c7ad5adfccf8ecf9c81..31215e4cbb02b95716e94745474416d9cfbde862 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2004, 2005 by the deal.II authors
+//    Copyright (C) 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
 #include <base/config.h>
 #include <base/subscriptor.h>
 #include <lac/exceptions.h>
-
+#include <lac/petsc_vector_base.h>
+#include <lac/petsc_parallel_vector.h>
 #include <lac/vector.h>
 
 #ifdef DEAL_II_USE_PETSC
 
-#include <lac/petsc_vector_base.h>
-#include <lac/petsc_parallel_vector.h>
+DEAL_II_NAMESPACE_OPEN
 
 
 namespace PETScWrappers
@@ -360,6 +360,7 @@ namespace PETScWrappers
 
 }
 
+DEAL_II_NAMESPACE_CLOSE
 
 #endif // DEAL_II_USE_PETSC
 
index 2d4997be1aa06dc6287d19eb89fa92e5c24d96fb..4f176e2dd445389f9e2cc8189c1821d1e5ff0d5e 100644 (file)
 #include <base/subscriptor.h>
 #include <lac/exceptions.h>
 
+#include <vector>
+#include <utility>
+
 #ifdef DEAL_II_USE_PETSC
 
 #include <petscvec.h>
 
-#include <vector>
-#include <utility>
-
+DEAL_II_NAMESPACE_OPEN
 
                                  // forward declaration
 template <typename number> class Vector;
@@ -939,6 +940,8 @@ namespace PETScWrappers
 #endif // DOXYGEN
 }
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif // DEAL_II_USE_PETSC
 
 /*----------------------------   petsc_vector_base.h     ---------------------------*/
index 7f2ad988accecb8b2ea01bbc5116a265057b5be9..b792ccb7035f8b5e6d38c32bceed85406940721f 100644 (file)
@@ -17,6 +17,8 @@
 #include <base/smartpointer.h>
 #include <lac/vector.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 template<class VECTOR> class VectorMemory;
 
 /*! @addtogroup Matrix2
@@ -915,4 +917,6 @@ PointerMatrixVector<number>::get () const
 
 
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index 832446b4b01f6fb522bd22ba530cd909a775c453..57227b9a593f862f3cdf4311134d8c800207e592 100644 (file)
@@ -19,6 +19,8 @@
 #include <lac/vector_memory.h>
 #include <base/smartpointer.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 template <typename number> class Vector;
 template <typename number> class SparseMatrix;
 
@@ -1077,4 +1079,6 @@ PreconditionedMatrix<MATRIX, PRECOND, VECTOR>
   return dst.l2_norm ();
 }
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index ea92018deed39baa45bf6edf7726754f42799d82..99a777f2e70dbb64cb4197b370ce70c5b5110d37 100644 (file)
@@ -21,6 +21,8 @@
 
 #include <vector>
 
+DEAL_II_NAMESPACE_OPEN
+
 template <typename number> class FullMatrix;
 template <typename number> class Vector;
 
@@ -1181,4 +1183,6 @@ PreconditionBlockJacobi<MATRIX, inverse_type>::end (
   return const_iterator(this, r+1);
 }
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index 5ddaadcdbd9bf60b0b0d8662768b07ac3b663e98..c8808876d6b7dd34755415c8d87d6213954b0614 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 by the deal.II authors
+//    Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -22,6 +22,8 @@
 #include <lac/vector.h>
 #include <lac/full_matrix.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 
 template <class MATRIX, typename inverse_type>
 PreconditionBlock<MATRIX,inverse_type>::PreconditionBlock ():
@@ -858,4 +860,6 @@ void PreconditionBlockSSOR<MATRIX,inverse_type>::Tvmult (Vector<number2>       &
   PreconditionBlockSOR<MATRIX,inverse_type>::vmult(dst, help);
 }
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index 917868f71919c3abaa08645f80bc4340667feff8..bf48f39f1191883f28dbdabd55760ce47c0bda2a 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 by the deal.II authors
+//    Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -18,6 +18,8 @@
 #include <base/smartpointer.h>
 #include <string>
 
+DEAL_II_NAMESPACE_OPEN
+
 template <class number> class Vector;
 template <class number> class SparseMatrix;
 
@@ -223,4 +225,6 @@ std::string PreconditionSelector<Matrix,Vector>::get_precondition_names()
 }
 
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index 455b8f1f2ef11648d89b98f327d0548c06fba11b..a0c9d52c78a3bb1a247b3d79cc25210dc2c55e20 100644 (file)
@@ -21,6 +21,7 @@
 #include <lac/block_vector.h>
 #include <vector>
 
+DEAL_II_NAMESPACE_OPEN
 
 
 /*! @addtogroup Matrix2
@@ -352,4 +353,6 @@ void SchurMatrix<MA_inverse, MB, MDt, MC>
 }
 
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index 035a385e5e52a89d67f6a6a86cfff3b746a721fa..8f51b0947beb9044e4235c6a1c97cf2e883302d8 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2001, 2002, 2003, 2004, 2005 by the deal.II authors
+//    Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -17,6 +17,8 @@
 #include <base/config.h>
 #include <base/smartpointer.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 /*! @addtogroup Matrix2
  *@{
  */
@@ -258,4 +260,6 @@ ShiftedMatrixGeneralized<MATRIX, MASSMATRIX, VECTOR>::residual (VECTOR& dst,
 }
 
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index d3edc6dd13dddbacd5a62aa8e5590813f9ee49e5..513d37965277dfd3645402bbdda7e62de01c713a 100644 (file)
@@ -17,6 +17,7 @@
 #include <base/subscriptor.h>
 #include <lac/vector_memory.h>
 
+DEAL_II_NAMESPACE_OPEN
 
 template <typename number> class Vector;
 class SolverControl;
@@ -242,4 +243,6 @@ Solver<VECTOR>::control() const
 
 
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index 57d55593a310e9fdf3a4d040a7b76d781d6eb185..a1b40372f988468e72b482ad4d0e17f2d61edb5e 100644 (file)
@@ -21,6 +21,8 @@
 #include <cmath>
 #include <base/subscriptor.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 /*!@addtogroup Solvers */
 /*@{*/
 
@@ -426,4 +428,6 @@ SolverBicgstab<VECTOR>::solve(const MATRIX &A,
 
 #endif // DOXYGEN
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index 9a759a85d51abd033074ac4ec885975482c33596..092126246ce15fefff856be37ac5a63d00031fef 100644 (file)
@@ -23,6 +23,8 @@
 #include <base/subscriptor.h>
 #include <cmath>
 
+DEAL_II_NAMESPACE_OPEN
+
 /*!@addtogroup Solvers */
 /*@{*/
 
@@ -456,4 +458,6 @@ SolverCG<VECTOR>::solve (const MATRIX         &A,
 
 #endif // DOXYGEN
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index d38a6faefec82f2ddae4637a4890ba3b9e8e3ba6..b3f270a291d7357d12094a4d87935c8bd5322702 100644 (file)
@@ -19,6 +19,8 @@
 
 #include <vector>
 
+DEAL_II_NAMESPACE_OPEN
+
 class ParameterHandler;
 
 /*!@addtogroup Solvers */
@@ -629,4 +631,6 @@ ReductionControl::set_reduction (const double t)
 
 #endif // DOXYGEN
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index add6d7c2bfe9facf0323d6b7abf35dbc68311f73..4711fdeb5a84f99da3381026c8d176a329a1d0e1 100644 (file)
@@ -26,6 +26,8 @@
 #include <vector>
 #include <cmath>
 
+DEAL_II_NAMESPACE_OPEN
+
 /*!@addtogroup Solvers */
 /*@{*/
 
@@ -542,11 +544,12 @@ SolverGMRES<VECTOR>::solve (const MATRIX         &A,
 
                                   // some additional vectors, also used
                                   // in the orthogonalization
-  ::Vector<double> gamma(n_tmp_vectors),
-                   ci   (n_tmp_vectors-1),
-                   si   (n_tmp_vectors-1),
-                   h    (n_tmp_vectors-1);
-
+  dealii::Vector<double>
+    gamma(n_tmp_vectors),
+    ci   (n_tmp_vectors-1),
+    si   (n_tmp_vectors-1),
+    h    (n_tmp_vectors-1);
+  
 
   unsigned int dim = 0;
 
@@ -574,7 +577,7 @@ SolverGMRES<VECTOR>::solve (const MATRIX         &A,
                                   // are used as stopping criterion
   VECTOR *r=0;
   VECTOR *x_=0;
-  ::Vector<double> *gamma_=0;
+  dealii::Vector<double> *gamma_=0;
   if (!use_default_residual)
     {
       r=this->memory.alloc();
@@ -582,7 +585,7 @@ SolverGMRES<VECTOR>::solve (const MATRIX         &A,
       r->reinit(x);
       x_->reinit(x);
 
-      gamma_=new ::Vector<double> (gamma.size());
+      gamma_ = new dealii::Vector<double> (gamma.size());
     }
 
                                    ///////////////////////////////////
@@ -726,7 +729,7 @@ SolverGMRES<VECTOR>::solve (const MATRIX         &A,
            {
              deallog << "default_res=" << rho << std::endl;
              
-             ::Vector<double> h_(dim);
+             dealii::Vector<double> h_(dim);
              *x_=x;
              *gamma_=gamma;
              H1.reinit(dim+1,dim);
@@ -951,4 +954,6 @@ SolverFGMRES<VECTOR>::solve (
 
 #endif // DOXYGEN
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index 47e3c34c56f7f8dfbcb2e18d31fdbf76254b2eb3..24b9b316e041eb7e827588353cd79d029b7774a7 100644 (file)
@@ -21,6 +21,8 @@
 #include <cmath>
 #include <base/subscriptor.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 /*!@addtogroup Solvers */
 /*@{*/
 
@@ -384,4 +386,6 @@ SolverMinRes<VECTOR>::solve (const MATRIX         &A,
 
 #endif // DOXYGEN
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index ddcc3850b16d72c59025617201ecfab13eb7607f..646ac72d621198ed299a3f01dddd6b663fe009a0 100644 (file)
@@ -22,6 +22,8 @@
 
 #include <cmath>
 
+DEAL_II_NAMESPACE_OPEN
+
 /*!@addtogroup Solvers */
 /*@{*/
 
@@ -407,4 +409,6 @@ SolverQMRS<VECTOR>::iterate(const MATRIX         &A,
 
 #endif // DOXYGEN
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index 79f397f4af8b86b52eedbbd7668be0e789f1e866..4c4fbf508d1c6ea6a398866aa4b1fb5990093336 100644 (file)
@@ -20,6 +20,8 @@
 #include <lac/solver_control.h>
 #include <base/subscriptor.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 /*!@addtogroup Solvers */
 /*@{*/
 
@@ -371,4 +373,6 @@ SolverRichardson<VECTOR>::set_omega (const double om)
 
 #endif // DOXYGEN
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index d919aee168f0dac10ba16a91c1b591d9bad84262..3079f17f1896a9702057ea6f46fd3eb69b2a3137 100644 (file)
@@ -27,6 +27,8 @@
 #include <lac/solver_richardson.h>
 #include <lac/precondition.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 
 /*!@addtogroup Solvers */
 /*@{*/
@@ -326,4 +328,6 @@ void SolverSelector<VECTOR>::set_data(
 }
 
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index 11a8f565714eb02556ca898de56371361305a128..230cc7a27d17931cbfeb86ade05f0c1c5fae6e94 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2002, 2003, 2004, 2005 by the deal.II authors
+//    Copyright (C) 2002, 2003, 2004, 2005, 2006 by the deal.II authors
 //    by the deal.II authors and Stephen "Cheffo" Kolaroff
 //
 //    This file is subject to QPL and may not be  distributed
@@ -19,6 +19,8 @@
 
 #include <cmath>
 
+DEAL_II_NAMESPACE_OPEN
+
 /*! @addtogroup Preconditioners
  *@{
  */
@@ -483,4 +485,6 @@ SparseLUDecomposition<number>::AdditionalData::AdditionalData (
 
 #endif // DOXYGEN
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif // __deal2__sparse_decomposition_h
index 1a9abf9690fda3ffad38114eaaf06281a59332e4..403b599d1c5c9eb18cd4d2a09968865ca7812570 100644 (file)
@@ -1,5 +1,5 @@
 //---------------------------------------------------------------------------
-//    Copyright (C) 2002, 2003, 2004, 2005 by the deal.II authors
+//    Copyright (C) 2002, 2003, 2004, 2005, 2006 by the deal.II authors
 //    by the deal.II authors and Stephen "Cheffo" Kolaroff
 //
 //    This file is subject to QPL and may not be  distributed
@@ -9,10 +9,14 @@
 //
 //---------------------------------------------------------------------------
 
+#ifndef __deal2__sparse_decomposition_templates_h
+#define __deal2__sparse_decomposition_templates_h
+
 #include <base/memory_consumption.h>
 #include <lac/sparse_decomposition.h>
 #include <algorithm>
 
+DEAL_II_NAMESPACE_OPEN
 
 template<typename number>
 SparseLUDecomposition<number>::SparseLUDecomposition()
@@ -237,3 +241,6 @@ SparseLUDecomposition<number>::memory_consumption () const
 }
 
 
+DEAL_II_NAMESPACE_CLOSE
+
+#endif // __deal2__sparse_decomposition_templates_h
index 70b136bdd17002ecfdcd65054a50247b67893921..ddac248a2312933f7335796abb5c5bc8c52aa79c 100644 (file)
@@ -22,6 +22,7 @@
 #include <lac/vector.h>
 #include <lac/sparse_matrix.h>
 
+DEAL_II_NAMESPACE_OPEN
 
 
 /**
@@ -1229,4 +1230,6 @@ class SparseDirectUMFPACK : public Subscriptor
 
 
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index b9ce69c17082528b0f2f87ab567503f287014ce9..7ca3507b9d6e5782a35783f99543ad1112b5f7c4 100644 (file)
@@ -18,6 +18,8 @@
 #include <lac/sparse_decomposition.h>
 #include <lac/exceptions.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 /*! @addtogroup Preconditioners
  *@{
  */
@@ -207,4 +209,6 @@ SparseILU<number>::apply_decomposition (Vector<somenumber>       &dst,
 
 
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif // __deal2__sparse_ilu_h
index 67e1cd3325d9226445fd237b5c08f50154079e53..7cdba0d1d07962bc0e9081fae472e80acc699661 100644 (file)
@@ -1,5 +1,5 @@
 //---------------------------------------------------------------------------
-//    Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 by the deal.II authors
+//    Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 by the deal.II authors
 //    by the deal.II authors and Stephen "Cheffo" Kolaroff
 //
 //    This file is subject to QPL and may not be  distributed
@@ -20,6 +20,7 @@
 #include <algorithm>
 #include <cmath>
 
+DEAL_II_NAMESPACE_OPEN
 
 template <typename number>
 SparseILU<number>::SparseILU ()
@@ -322,5 +323,7 @@ SparseILU<number>::memory_consumption () const
 
 /*----------------------------   sparse_ilu.templates.h     ---------------------------*/
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
 /*----------------------------   sparse_ilu.templates.h     ---------------------------*/
index 3beeca1bc86b7a13d2b093cc8c2e89d8af257887..6e9ef35637df21ae538aab90aa96d7bf9a2025e8 100644 (file)
@@ -21,6 +21,8 @@
 #include <lac/identity_matrix.h>
 #include <lac/exceptions.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 template<typename number> class Vector;
 template<typename number> class FullMatrix;
 
@@ -2482,5 +2484,7 @@ SparseMatrix<number>::end (const unsigned int r)
 
 /*----------------------------   sparse_matrix.h     ---------------------------*/
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
 /*----------------------------   sparse_matrix.h     ---------------------------*/
index dfa36e645176e9f6f2f7368aa567335a8fd70897..b4c174dd7f2b988fde60c08bb376b69df9fc58fc 100644 (file)
@@ -41,6 +41,7 @@
 #include <base/thread_management.h>
 #include <base/multithread_info.h>
 
+DEAL_II_NAMESPACE_OPEN
 
 
 template <typename number>
@@ -1440,4 +1441,6 @@ SparseMatrix<number>::memory_consumption () const
 }
 
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index b112250626ad2d3c0af80939c0e09b65d5b12dc4..336b169b80ca41f3fa0ec8e4dec704e4419a48d1 100644 (file)
@@ -21,6 +21,8 @@
 
 #include <vector>
 
+DEAL_II_NAMESPACE_OPEN
+
 template<typename number> class Vector;
 template<typename number> class FullMatrix;
 
@@ -1788,5 +1790,7 @@ SparseMatrixEZ<number>::print_statistics(STREAM& out, bool full)
 }
 
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
 /*----------------------------   sparse_matrix.h     ---------------------------*/
index 2b0c6b086c49dc16c45687b546b83a9c8c645a89..b65f226d35e2a88b160adc4a8b26340fdae04a08 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2002, 2003, 2004, 2005 by the deal.II authors
+//    Copyright (C) 2002, 2003, 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -21,6 +21,8 @@
 #include <algorithm>
 #include <cmath>
 
+DEAL_II_NAMESPACE_OPEN
+
 //---------------------------------------------------------------------------
 
 template <typename number>
@@ -529,4 +531,6 @@ SparseMatrixEZ<number>::block_read (std::istream &in)
   CHECKFOR(in,']',c);
 }
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif // __deal2__sparse_matrix_ez_templates_h
index 238059d02ed949626fbe34822dcaff9c16d87817..6bdad533717ee07647a66739f715c3b7f3a206d7 100644 (file)
@@ -1,5 +1,5 @@
 //---------------------------------------------------------------------------
-//    Copyright (C) 2002, 2003, 2004, 2005 by the deal.II authors
+//    Copyright (C) 2002, 2003, 2004, 2005, 2006 by the deal.II authors
 //    by the deal.II authors and Stephen "Cheffo" Kolaroff
 //
 //    This file is subject to QPL and may not be  distributed
@@ -14,6 +14,7 @@
 #include <lac/sparse_matrix.h>
 #include <lac/sparse_decomposition.h>
 
+DEAL_II_NAMESPACE_OPEN
 
 /*! @addtogroup Preconditioners
  *@{
@@ -174,4 +175,6 @@ class SparseMIC : public SparseLUDecomposition<number>
 
 /*@}*/
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif  // __deal2__
index 5f8f25e4f6cd4589b09a247dc76ccec4016cc9f3..e6081ee045bbee1ba449c4843e1566f6d98ea34a 100644 (file)
@@ -1,5 +1,5 @@
 //---------------------------------------------------------------------------
-//    Copyright (C) 2002, 2003, 2004, 2005 by the deal.II authors
+//    Copyright (C) 2002, 2003, 2004, 2005, 2006 by the deal.II authors
 //    by the deal.II authors and Stephen "Cheffo" Kolaroff
 //
 //    This file is subject to QPL and may not be  distributed
@@ -16,6 +16,7 @@
 #include <lac/sparse_mic.h>
 #include <lac/vector.h>
 
+DEAL_II_NAMESPACE_OPEN
 
 template <typename number>
 SparseMIC<number>::SparseMIC ()
@@ -251,4 +252,6 @@ SparseMIC<number>::memory_consumption () const
 
 
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif // __deal2__sparse_mic_templates_h
index 541436c17c94aebad8a9f67f23a9b45c66fb09c5..6fcf97681146bae47f43077727b20ac14d2c7c76 100644 (file)
@@ -22,6 +22,8 @@
 #include <vector>
 #include <map>
 
+DEAL_II_NAMESPACE_OPEN
+
 template <typename number> class FullMatrix;
 template <typename number> class SparseMatrix;
 template <typename number> class Vector;
@@ -579,4 +581,6 @@ class SparseBlockVanka : public SparseVanka<number>
 };
 
 /*@}*/
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index b4be72ef018606c19c1f84865348861880c4802f..d784f2b119397994740dd402de04e508a23181da 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 by the deal.II authors
+//    Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -24,6 +24,7 @@
 #include <algorithm>
 #include <map>
 
+DEAL_II_NAMESPACE_OPEN
 
 template<typename number>
 SparseVanka<number>::SparseVanka(const SparseMatrix<number> &M,
@@ -628,4 +629,6 @@ SparseBlockVanka<number>::memory_consumption () const
 
          
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index 573f12896a234b85b8895b63872c758099aec66c..48b6905bcec9cf4652c7abe8d166f7fd7100b67d 100644 (file)
@@ -21,6 +21,7 @@
 #include <vector>
 #include <iostream>
 
+DEAL_II_NAMESPACE_OPEN
 
 class SparsityPattern;
 template <typename number> class FullMatrix;
@@ -2103,4 +2104,6 @@ SparsityPattern::copy_from (const unsigned int    n_rows,
 
 #endif // DOXYGEN
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index 7424c2ec3bfc87430239d7087bfbcc53ffa20c22..7bad3f84f133303d32f4f14551c4347f55395d0e 100644 (file)
@@ -19,6 +19,8 @@
 #include <lac/vector.h>
 #include <string>
 
+DEAL_II_NAMESPACE_OPEN
+
 /*! @addtogroup Vectors
  *@{
  */
@@ -305,5 +307,7 @@ class SwappableVector : public Vector<number>
 /*@}*/
 /*----------------------------   swappable_vector.h     ---------------------------*/
 /* end of #ifndef __deal2__swappable_vector_h */
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
 /*----------------------------   swappable_vector.h     ---------------------------*/
index dfb67c51959500292b8fcde650ab1a6f08f1c96f..fb5a85a07659503f25e5145d81606f9cc2029910 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 by the deal.II authors
+//    Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -18,6 +18,7 @@
 #include <lac/swappable_vector.h>
 #include <fstream>
 
+DEAL_II_NAMESPACE_OPEN
 
 
 template <typename number>
@@ -247,4 +248,6 @@ SwappableVector<number>::memory_consumption () const
 
 
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif // __deal2__swappable_vector_templates_h
index 28fa8e018b619d4ae0a501a0edd9bdd08f2a7d1c..2142d11c23072ec2f5ca2145a67210818037526d 100644 (file)
@@ -18,6 +18,8 @@
 #include <lac/pointer_matrix.h>
 #include <boost/shared_ptr.hpp>
 
+DEAL_II_NAMESPACE_OPEN
+
 
 /**
  * The transpose of a given matrix.  This auxiliary class swaps the
@@ -225,4 +227,6 @@ TransposeMatrix<MATRIX, VECTOR>::get () const
 
 
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index 135d48c97ef24f583956fee6b219a5e3afd7903f..2f474746dd06475e80d4f41fafe94420218b42fd 100644 (file)
@@ -21,6 +21,8 @@
 #include <vector>
 #include <iomanip>
 
+DEAL_II_NAMESPACE_OPEN
+
 // forward declarations
 template<typename number> class Vector;
 
@@ -466,5 +468,7 @@ TridiagonalMatrix<number>::print (
 
 #endif // DOXYGEN
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
 
index 7ae62c74f812a9039685db7de4d1d5e3bd228e32..61872652d54667354339b300170ac9c8724128e2 100644 (file)
@@ -20,6 +20,8 @@
 
 #include <cstdio>
 
+DEAL_II_NAMESPACE_OPEN
+
 
 #ifdef DEAL_II_USE_PETSC
 namespace PETScWrappers
@@ -1003,4 +1005,6 @@ void swap (Vector<Number> &u, Vector<Number> &v)
 
 /*@}*/
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index 887c02bafb045390ea8012d8e0a82ef36cb001d7..28dfb165132474e5550c7d52843032f75b16fbed 100644 (file)
@@ -26,6 +26,7 @@
 #include <algorithm>
 #include <iostream>
 
+DEAL_II_NAMESPACE_OPEN
 
 /*
   Note that in this file, we use std::fabs, std::sqrt, etc
@@ -898,4 +899,6 @@ Vector<Number>::memory_consumption () const
 }
 
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index efdeddb6c862d3620895f08ad59280c7af6115a6..801d8656b0dd37d721b480e8da1346d2e358b649 100644 (file)
@@ -22,6 +22,9 @@
 
 #include <vector>
 
+DEAL_II_NAMESPACE_OPEN
+
+
 /*!@addtogroup VMemory */
 /*@{*/
 
@@ -62,7 +65,7 @@
  *
  * @author Guido Kanschat, 1998-2003
 */
-template<class VECTOR = ::Vector<double> >
+template<class VECTOR = dealii::Vector<double> >
 class VectorMemory : public Subscriptor
 {
   public:
@@ -121,7 +124,7 @@ class VectorMemory : public Subscriptor
  * vectors as needed from the global heap, i.e. performs no
  * specially adapted actions for memory management.
  */
-template<class VECTOR = ::Vector<double> >
+template<class VECTOR = dealii::Vector<double> >
 class PrimitiveVectorMemory : public VectorMemory<VECTOR>
 {
   public:
@@ -189,7 +192,7 @@ class PrimitiveVectorMemory : public VectorMemory<VECTOR>
  * 
  * @author Guido Kanschat, 1999
  */
-template<class VECTOR = ::Vector<double> >
+template<class VECTOR = dealii::Vector<double> >
 class GrowingVectorMemory : public VectorMemory<VECTOR>
 {
   public:
@@ -401,4 +404,6 @@ GrowingVectorMemory<VECTOR>::memory_consumption () const
 
 #endif // DOXYGEN
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index bc0870f62fa519de0cacce7762df86de4b6aa7bc..0ee615bcf9bfc06b3ae288ab48d4123220d8000b 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2005 by the deal.II authors
+//    Copyright (C) 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -15,6 +15,8 @@
 #include <lac/vector.h>
 #include <lac/block_vector.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 
 template <typename number>
 BlockMatrixArray<number>::Entry::Entry (const Entry& e)
@@ -412,3 +414,5 @@ template class BlockMatrixArray<float>;
 template class BlockMatrixArray<double>;
 template class BlockTrianglePrecondition<float>;
 template class BlockTrianglePrecondition<double>;
+
+DEAL_II_NAMESPACE_CLOSE
index acb63dd491c0c6b2c0e7c08a3d35c4ce7155cc3e..520aba17314e887f869d92ad20a05ef6c57c85f2 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2000, 2001, 2002, 2004, 2005 by the deal.II authors
+//    Copyright (C) 2000, 2001, 2002, 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
 
 #include <lac/block_sparse_matrix.templates.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 // explicit instantiations
 template class BlockSparseMatrix<double>;
 template class BlockSparseMatrix<float>;
+
+DEAL_II_NAMESPACE_CLOSE
index 9c0dd3c9a855a498e1f3415c547967a18a3afc2b..cc16e03ec919cc0df9feb7f6aa6675a96b64a42c 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2003, 2005 by the deal.II authors
+//    Copyright (C) 2003, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
 #include <lac/block_sparse_matrix_ez.h>
 #include <lac/block_sparse_matrix_ez.templates.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 // explicit instantiations
 template class BlockSparseMatrixEZ<double>;
 template class BlockSparseMatrixEZ<float>;
+
+DEAL_II_NAMESPACE_CLOSE
index 1d0e76e8e41c479b3d928079d060e323aaac816e..0a43712a309391dc1acaf90712628c8eb8a764f5 100644 (file)
@@ -15,6 +15,8 @@
 #include <base/memory_consumption.h>
 #include <lac/block_sparsity_pattern.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 
 template <class SparsityPatternBase>
 BlockSparsityPatternBase<SparsityPatternBase>::BlockSparsityPatternBase ()
@@ -389,3 +391,5 @@ CompressedBlockSparsityPattern (const unsigned int n_rows,
 // to the top of this source file. The reason is a slightly buggy version
 // of the Apple gcc v.3.3.
 // For more information, see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24331
+
+DEAL_II_NAMESPACE_CLOSE
index 3e1022e07e2ba323c80089efc1abd55ed944a5e7..3abf02ad2384a6f3de6760205ecdbdaf191a7938 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 by the deal.II authors
+//    Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -13,6 +13,8 @@
 
 #include <lac/block_vector.templates.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 // explicit instantiations
 template class BlockVector<double>;
 template class BlockVector<float>;
@@ -32,3 +34,5 @@ template void BlockVector<float>::reinit<double>(const BlockVector<double>&,
 template void BlockVector<float>::reinit<float>(const BlockVector<float>&,
                                                const bool);
 
+
+DEAL_II_NAMESPACE_CLOSE
index d29e837cd58f9cae91202f6cd6b1eee3f1e5dc0c..34a78c3e195e3d0223d025661c05f3144905db50 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2001, 2002, 2003, 2004, 2005 by the deal.II authors
+//    Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -21,6 +21,8 @@
 #include <numeric>
 #include <functional>
 
+DEAL_II_NAMESPACE_OPEN
+
 
 const unsigned int CompressedSparsityPattern::Line::cache_size;
 
@@ -385,3 +387,5 @@ CompressedSparsityPattern::n_nonzero_elements () const
   
   return n;
 }
+
+DEAL_II_NAMESPACE_CLOSE
index 83b039ab49864a3d83bc4b8a3c38b45f812c5b52..e97391c8282198ef2dc0c99182808a0c4fffe496 100644 (file)
@@ -14,6 +14,8 @@
 
 #include <lac/filtered_matrix.templates.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 #define FILT(MM,VV) \
 template <> \
 void FilteredMatrix<MM , VV >::allocate_tmp_vector() \
@@ -45,3 +47,5 @@ FILT(SparseMatrix<float>, Vector<float>)
 BFILT(BlockSparseMatrix<float>, BlockVector<float>)
 template class FilteredMatrix<SparseMatrix<float>,Vector<float> >;
 template class FilteredMatrix<BlockSparseMatrix<float>,BlockVector<float> >;
+
+DEAL_II_NAMESPACE_CLOSE
index 0dd4504d8a53e626052ff4fae4e5b6758b922847..6a0ca614c144be770eeecbdbb0199aab5f6420d1 100644 (file)
@@ -15,6 +15,8 @@
 #include <lac/full_matrix.templates.h>
 #include <base/logstream.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 #define TYPEMAT double
 
 template class FullMatrix<TYPEMAT>;
@@ -121,3 +123,5 @@ FullMatrix<TYPEMAT>::residual<TYPEVEC,TYPERES>(Vector<TYPEVEC>&,
                                               const Vector<TYPEVEC>&,
                                               const Vector<TYPERES>&) const;
 
+
+DEAL_II_NAMESPACE_CLOSE
index 4de71ff519afb090c173a40ea3f7bdc2dea68659..14754a8b089ca7093a6f6099355fe8ae38e92ffe 100644 (file)
@@ -15,6 +15,8 @@
 #include <lac/full_matrix.templates.h>
 #include <base/logstream.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 #define TYPEMAT float
 
 template class FullMatrix<TYPEMAT>;
@@ -118,3 +120,5 @@ void FullMatrix<TYPEMAT>::precondition_Jacobi<TYPEVEC> (
 
 template double FullMatrix<TYPEMAT>::residual<TYPEVEC,TYPERES>(
   Vector<TYPEVEC>&, const Vector<TYPEVEC>&, const Vector<TYPERES>&) const;
+
+DEAL_II_NAMESPACE_CLOSE
index 281b239adb18c1fdc4f9cb4c7622fdc0ddf24c78..4a8a01ff1adb20341910831b715f1c39b36cc596 100644 (file)
@@ -21,6 +21,8 @@
 #include <iostream>
 #include <iomanip>
 
+DEAL_II_NAMESPACE_OPEN
+
 using namespace LAPACKSupport;
 
 template <typename number>
@@ -465,3 +467,5 @@ LAPACKFullMatrix<float>::operator = (const FullMatrix<float>& M);
 
 template class PreconditionLU<double>;
 template class PreconditionLU<float>;
+
+DEAL_II_NAMESPACE_CLOSE
index 57c1ebbaeba627256adeac8d586d8cf21ab45f9c..6f8ce5ed4ed02e633e6ef61bbe3dfda61f56dbdc 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2002, 2003, 2005 by the deal.II authors
+//    Copyright (C) 2002, 2003, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -15,6 +15,8 @@
 #include <lac/matrix_lib.templates.h>
 #include <lac/sparse_matrix.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 MeanValueFilter::MeanValueFilter(unsigned int component)
                :
                component(component)
@@ -170,3 +172,5 @@ template class InverseMatrixRichardson<Vector<float> >;
 template class InverseMatrixRichardson<Vector<double> >;
 template class InverseMatrixRichardson<BlockVector<float> >;
 template class InverseMatrixRichardson<BlockVector<double> >;
+
+DEAL_II_NAMESPACE_CLOSE
index 77631291e0b2f0cc4bba421ee4c503c0685af22f..29fca6d19b39452f0adce3a37faea90a571ef8a6 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2001, 2002, 2003, 2005 by the deal.II authors
+//    Copyright (C) 2001, 2002, 2003, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -14,6 +14,8 @@
 
 #include <lac/matrix_out.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 
 MatrixOut::Options::Options (const bool         show_absolute_values,
                             const unsigned int block_size,
@@ -44,3 +46,5 @@ MatrixOut::get_dataset_names () const
 {
   return std::vector<std::string>(1,name);
 }
+
+DEAL_II_NAMESPACE_CLOSE
index bc75c7156e1f3b6e43ac47e6b2f2fae862f5b350..d20c90708eee28132bdb3c13f4a36e8f8c67f536 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2004, 2005 by the deal.II authors
+//    Copyright (C) 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -16,6 +16,8 @@
 
 #ifdef DEAL_II_USE_PETSC
 
+DEAL_II_NAMESPACE_OPEN
+
 namespace PETScWrappers
 {
   BlockSparseMatrix::BlockSparseMatrix ()
@@ -94,4 +96,6 @@ namespace PETScWrappers
 }
 
   
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index 8eb15456430c7bbde5ce8db4cb3dc8c35c487f4c..d62c06fe1ce0536437f52df37aa6aee0419b92f3 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2004, 2005 by the deal.II authors
+//    Copyright (C) 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -17,6 +17,7 @@
 
 #ifdef DEAL_II_USE_PETSC
 
+DEAL_II_NAMESPACE_OPEN
 
 namespace PETScWrappers
 {
@@ -40,6 +41,8 @@ namespace PETScWrappers
 }
 
 
+DEAL_II_NAMESPACE_CLOSE
+
 #else
 // On gcc2.95 on Alpha OSF1, the native assembler does not like empty
 // files, so provide some dummy code
index 2a0af2d2a34952fd1ec9a91a2bcf557f4cf76083..b478b1083de982a3e2b82fd67f0641f6fcce7932 100644 (file)
@@ -20,6 +20,7 @@
 
 #ifdef DEAL_II_USE_PETSC
 
+DEAL_II_NAMESPACE_OPEN
 
 namespace PETScWrappers
 {
@@ -594,6 +595,8 @@ namespace PETScWrappers
   }  
 }
 
+DEAL_II_NAMESPACE_CLOSE
+
 #else
 // On gcc2.95 on Alpha OSF1, the native assembler does not like empty
 // files, so provide some dummy code
index 83dd5b0ef98867d8f4d3598f3760fc0215c70529..ec7cb38eaeadc06e7b8668abd329db0d7fbcb4d7 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2004, 2005 by the deal.II authors
+//    Copyright (C) 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -16,6 +16,8 @@
 
 #ifdef DEAL_II_USE_PETSC
 
+DEAL_II_NAMESPACE_OPEN
+
 namespace PETScWrappers
 {
   namespace MPI
@@ -107,4 +109,6 @@ namespace PETScWrappers
 
   
 
+DEAL_II_NAMESPACE_CLOSE
+
 #endif
index 357f89e952e307ff00747de0dd45d7222470a4fd..f1e25e067156915d628b3494051317ccbae42a9a 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2004, 2005 by the deal.II authors
+//    Copyright (C) 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -18,6 +18,7 @@
   
 #ifdef DEAL_II_USE_PETSC
 
+DEAL_II_NAMESPACE_OPEN
 
 namespace PETScWrappers
 {
@@ -38,6 +39,8 @@ namespace PETScWrappers
 
 }
 
+DEAL_II_NAMESPACE_CLOSE
+
 #else
 // On gcc2.95 on Alpha OSF1, the native assembler does not like empty
 // files, so provide some dummy code
index b18a77ced17ad562535161a3c2c521ab4bc2faa6..17bdd2dd895abec6e07143de8b317d6da9f16bc8 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2004, 2005 by the deal.II authors
+//    Copyright (C) 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -17,6 +17,7 @@
 
 #ifdef DEAL_II_USE_PETSC
 
+DEAL_II_NAMESPACE_OPEN
 
 namespace PETScWrappers
 {
@@ -448,6 +449,8 @@ namespace PETScWrappers
 }
 
 
+DEAL_II_NAMESPACE_CLOSE
+
 #else
 // On gcc2.95 on Alpha OSF1, the native assembler does not like empty
 // files, so provide some dummy code
index c5336f23d393228766e03d6a5b6e75e9e4d62c3b..4c49bc7970d73ffebcb6943dadd58295ba5f5b2b 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2004 by the deal.II authors
+//    Copyright (C) 2004, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -20,6 +20,7 @@
 
 #ifdef DEAL_II_USE_PETSC
 
+DEAL_II_NAMESPACE_OPEN
 
 namespace PETScWrappers
 {
@@ -166,6 +167,8 @@ namespace PETScWrappers
 
 }
 
+DEAL_II_NAMESPACE_CLOSE
+
 #else
 // On gcc2.95 on Alpha OSF1, the native assembler does not like empty
 // files, so provide some dummy code
index 34d7c3a2b1360ad48d11333941e3067b32a45584..8ff083434cc2b39dc2a95285326114b5a6c8db88 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2004 by the deal.II authors
+//    Copyright (C) 2004, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -20,6 +20,7 @@
 
 #ifdef DEAL_II_USE_PETSC
 
+DEAL_II_NAMESPACE_OPEN
 
 namespace PETScWrappers
 {
@@ -322,6 +323,8 @@ namespace PETScWrappers
 
 }
 
+DEAL_II_NAMESPACE_CLOSE
+
 #else
 // On gcc2.95 on Alpha OSF1, the native assembler does not like empty
 // files, so provide some dummy code
index cd8295b75b9927ce6436d07398175b229c200950..be98e020953c5330b6dfd1b82d04d614e8220f18 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2004 by the deal.II authors
+//    Copyright (C) 2004, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -26,6 +26,7 @@
 #endif
 #include <petscversion.h>
 
+DEAL_II_NAMESPACE_OPEN
 
 namespace PETScWrappers
 {
@@ -669,6 +670,8 @@ namespace PETScWrappers
 
 }
 
+DEAL_II_NAMESPACE_CLOSE
+
 #else
 // On gcc2.95 on Alpha OSF1, the native assembler does not like empty
 // files, so provide some dummy code
index 0dbe4e6b5d589ed03830d3f603cf44037aa89ad2..5c5142dafc6d4006a43c2075f81363d848d99ff4 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2004, 2005 by the deal.II authors
+//    Copyright (C) 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -17,6 +17,7 @@
 
 #ifdef DEAL_II_USE_PETSC
 
+DEAL_II_NAMESPACE_OPEN
 
 namespace PETScWrappers
 {
@@ -231,6 +232,8 @@ namespace PETScWrappers
 }
 
 
+DEAL_II_NAMESPACE_CLOSE
+
 #else
 // On gcc2.95 on Alpha OSF1, the native assembler does not like empty
 // files, so provide some dummy code
index a61c1387df99e0e5b8c16b3783092ebcc945da9a..b74db3a90c6b75abb99b8fbd4ae3cd806545940a 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2004 by the deal.II authors
+//    Copyright (C) 2004, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -18,6 +18,7 @@
 
 #ifdef DEAL_II_USE_PETSC
 
+DEAL_II_NAMESPACE_OPEN
 
 namespace PETScWrappers
 {
@@ -108,6 +109,8 @@ namespace PETScWrappers
   }
 }
 
+DEAL_II_NAMESPACE_CLOSE
+
 #else
 // On gcc2.95 on Alpha OSF1, the native assembler does not like empty
 // files, so provide some dummy code
index cc91844fb7aed1d355fd3fe73ad76ddbb2fafcf5..612d6ce19842f4a4d706843dd0f414a481e60550 100644 (file)
@@ -20,6 +20,7 @@
 
 #ifdef DEAL_II_USE_PETSC
 
+DEAL_II_NAMESPACE_OPEN
 
 namespace PETScWrappers
 {
@@ -877,6 +878,8 @@ namespace PETScWrappers
   
 }
 
+DEAL_II_NAMESPACE_CLOSE
+
 #else
 // On gcc2.95 on Alpha OSF1, the native assembler does not like empty
 // files, so provide some dummy code
index 4f3d183787152098c5fb13d0df8d155f45452ada..a5d8dd40af517823956ba7236b34063b2bd0bc70 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 1999, 2000, 2001, 2002, 2003, 2005 by the deal.II authors
+//    Copyright (C) 1999, 2000, 2001, 2002, 2003, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -15,6 +15,8 @@
 #include <lac/precondition_block.templates.h>
 #include <lac/sparse_matrix.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 
 // explicit instantiations for "float" PreconditionBlock
 template class PreconditionBlock<SparseMatrix<float>, float>;
@@ -197,3 +199,5 @@ template void PreconditionBlockSSOR<SparseMatrix<double>, double>::Tvmult<float>
   Vector<float> &, const Vector<float> &) const;
 template void PreconditionBlockSSOR<SparseMatrix<double>, double>::Tvmult<double> (
   Vector<double> &, const Vector<double> &) const;
+
+DEAL_II_NAMESPACE_CLOSE
index ccded7ddd6de2eb7dbf6a6465315c362d4a35ea1..c43cf8e1cde5617732c693f7b5e48415b82006e1 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2003, 2005 by the deal.II authors
+//    Copyright (C) 2003, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -15,6 +15,8 @@
 #include <lac/precondition_block.templates.h>
 #include <lac/sparse_matrix_ez.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 
 // explicit instantiations for "float" PreconditionBlock
 template class PreconditionBlock<SparseMatrixEZ<float>, float>;
@@ -197,3 +199,5 @@ template void PreconditionBlockSSOR<SparseMatrixEZ<double>, double>::Tvmult<floa
   Vector<float> &, const Vector<float> &) const;
 template void PreconditionBlockSSOR<SparseMatrixEZ<double>, double>::Tvmult<double> (
   Vector<double> &, const Vector<double> &) const;
+
+DEAL_II_NAMESPACE_CLOSE
index 7159c8cece8a34f1db043a296cd506154d2442bc..28aa36305b607a164dc9414761483999a41fa0fd 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2005 by the deal.II authors
+//    Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -18,6 +18,8 @@
 #include <lac/petsc_vector.h>
 #include <lac/petsc_block_vector.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 
 // a few instantiations of static members. Hope that we catch all that
 // are required
@@ -36,3 +38,5 @@ template class Solver<BlockVector<float> >;
 template class Solver<PETScWrappers::Vector>;
 template class Solver<PETScWrappers::BlockVector>;
 #endif
+
+DEAL_II_NAMESPACE_CLOSE
index 97e15e88168f964c516bc1f43e4671a5fa9b0f96..9b873e632f515367d4657504d436e1fd616282e8 100644 (file)
@@ -19,6 +19,8 @@
 #include <cmath>
 #include <sstream>
 
+DEAL_II_NAMESPACE_OPEN
+
 /*----------------------- SolverControl ---------------------------------*/
 
 
@@ -316,3 +318,5 @@ ReductionControl::parse_parameters (ParameterHandler& param)
   SolverControl::parse_parameters (param);
   set_reduction (param.get_double("Reduction"));
 }
+
+DEAL_II_NAMESPACE_CLOSE
index f35a18558274b230f055d3c5a7e83527b9e4d883..1b35d84c540b40efaafb59036a7ec20c6be8d7b9 100644 (file)
@@ -1,5 +1,5 @@
 //---------------------------------------------------------------------------
-//    Copyright (C) 2002, 2003, 2005 by the deal.II authors
+//    Copyright (C) 2002, 2003, 2005, 2006 by the deal.II authors
 //    by the deal.II authors and Stephen "Cheffo" Kolaroff
 //
 //    This file is subject to QPL and may not be  distributed
@@ -11,6 +11,8 @@
 
 #include <lac/sparse_decomposition.templates.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 
 template class SparseLUDecomposition<double>;
 template void SparseLUDecomposition<double>::initialize<double> (const SparseMatrix<double> &,
@@ -38,3 +40,5 @@ template void SparseLUDecomposition<float>::decompose<float> (const SparseMatrix
 
 template void SparseLUDecomposition<float>::copy_from<double> (const SparseMatrix<double> &);
 template void SparseLUDecomposition<float>::copy_from<float> (const SparseMatrix<float> &);
+
+DEAL_II_NAMESPACE_CLOSE
index 85f4bd520417cb896681b4b6c6b343372d96a490..8f2bd38e3da81d00fbe47c495251f8795b7b6457 100644 (file)
@@ -51,6 +51,8 @@
 #endif
 #include <sys/errno.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 
 // if we know that at least one of the HSL functions are there,
 // include the respective include file. Otherwise save some CPU cycles
@@ -1985,3 +1987,5 @@ InstantiateUMFPACK(SparseMatrix<double>);
 InstantiateUMFPACK(SparseMatrix<float>);
 InstantiateUMFPACK(BlockSparseMatrix<double>);
 InstantiateUMFPACK(BlockSparseMatrix<float>);
+
+DEAL_II_NAMESPACE_CLOSE
index 24ecc3d86cbf9ef8742cd1226422138e7d9258c1..b980e8ad818ce0f144980e447e7701a5ce236328 100644 (file)
@@ -1,5 +1,5 @@
 //---------------------------------------------------------------------------
-//    Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 by the deal.II authors
+//    Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -11,6 +11,8 @@
 
 #include <lac/sparse_ilu.templates.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 
 // explicit instantiations
 template class SparseILU<double>;
@@ -49,3 +51,5 @@ template void SparseILU<float>::vmult<float> (Vector<float> &,
                                               const Vector<float> &) const;
 template void SparseILU<float>::Tvmult<float> (Vector<float> &,
                                               const Vector<float> &) const;
+
+DEAL_II_NAMESPACE_CLOSE
index d1130944f6726678a49bd0c73b47642f8fb43e66..59ff434c74fa79e45d74580cd76caff399944c99 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 by the deal.II authors
+//    Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -17,7 +17,9 @@
 
 #define TYPEMAT double
 
+DEAL_II_NAMESPACE_OPEN
 template class SparseMatrix<TYPEMAT>;
+DEAL_II_NAMESPACE_CLOSE
 
 #define TYPE2 float
 #include "sparse_matrix_matrix.in.h"
@@ -42,6 +44,8 @@ template class SparseMatrix<TYPEMAT>;
 
 //  #include <lac/sparse_matrix.2.templates>
 
+DEAL_II_NAMESPACE_OPEN
+
 #undef TYPEMAT
 
 
@@ -140,3 +144,5 @@ template void SparseMatrix<double>::
 vmult_add (BlockVector<double> &, const Vector<double> &) const;
 template void SparseMatrix<double>::
 Tvmult_add (BlockVector<double> &, const Vector<double> &) const;
+
+DEAL_II_NAMESPACE_CLOSE
index a74b58d7350fd7a860c794a22f5fd3c90f53c6e8..03b48165ae3622757679aafccc71ed53dcae4146 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 by the deal.II authors
+//    Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -17,7 +17,9 @@
 
 #define TYPEMAT float
 
+DEAL_II_NAMESPACE_OPEN
 template class SparseMatrix<TYPEMAT>;
+DEAL_II_NAMESPACE_CLOSE
 
 #define TYPE2 float
 #include "sparse_matrix_matrix.in.h"
@@ -42,6 +44,8 @@ template class SparseMatrix<TYPEMAT>;
 
 //  #include <lac/sparse_matrix.2.templates>
 
+DEAL_II_NAMESPACE_OPEN
+
 #undef TYPEMAT
 
 
@@ -140,3 +144,5 @@ template void SparseMatrix<float>::
 vmult_add (BlockVector<double> &, const Vector<double> &) const;
 template void SparseMatrix<float>::
 Tvmult_add (BlockVector<double> &, const Vector<double> &) const;
+
+DEAL_II_NAMESPACE_CLOSE
index 042cbcafe5fa01b7decf9ea9f2d5207c750c73cb..9be705996d627116b819595fc32e7e1f2b44ae0e 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2003, 2005 by the deal.II authors
+//    Copyright (C) 2003, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
 
 #define TYPEMAT double
 
+DEAL_II_NAMESPACE_OPEN
 template class SparseMatrixEZ<TYPEMAT>;
+DEAL_II_NAMESPACE_CLOSE
+
 
 #define TYPEVEC float
 #include "sparse_matrix_ez_vector.in.h"
index 76b0fc52a5d5e1632887dd9b7a378459fbf901e8..636e7f214780fe12bf5fd0182396cb52c2a46706 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2003, 2005 by the deal.II authors
+//    Copyright (C) 2003, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -18,7 +18,9 @@
 
 #define TYPEMAT float
 
+DEAL_II_NAMESPACE_OPEN
 template class SparseMatrixEZ<TYPEMAT>;
+DEAL_II_NAMESPACE_CLOSE
 
 #define TYPEVEC float
 #include "sparse_matrix_ez_vector.in.h"
index ca81e7ca8661c4254fa2c48fe8dc4347c55de9e8..067abbe80f4a40d02bf2257485b5a034b96a1757 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2002, 2003 by the deal.II authors
+//    Copyright (C) 2002, 2003, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -18,6 +18,8 @@
 
 // TYPEMAT and TYPEVEC are defined in sparse_matrix_ez?.cc
 
+DEAL_II_NAMESPACE_OPEN
+
 template void SparseMatrixEZ<TYPEMAT>::vmult<TYPEVEC> (
   Vector<TYPEVEC> &,
   const Vector<TYPEVEC> &) const;
@@ -62,3 +64,4 @@ template void SparseMatrixEZ<TYPEMAT>::precondition_Jacobi<TYPEVEC> (
   const Vector<TYPEVEC> &,
   const TYPEMAT) const;
 
+DEAL_II_NAMESPACE_CLOSE
index 4b2cdcc9c151397767b2f8fba678ffbe3e1b47b3..bb0a3cdc2cd1eded9b15beecfc3028e58ddbc6c3 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 by the deal.II authors
+//    Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -16,6 +16,8 @@
 
 // TYPEMAT and TYPE2 are defined in sparsematrix?.cc
 
+DEAL_II_NAMESPACE_OPEN
+
 template SparseMatrix<TYPEMAT> &
 SparseMatrix<TYPEMAT>::copy_from<TYPE2> (const SparseMatrix<TYPE2> &);
 
@@ -27,3 +29,5 @@ template void SparseMatrix<TYPEMAT>::add<TYPE2> (const TYPEMAT,
 
 template void SparseMatrix<TYPEMAT>::add_scaled<TYPE2> (const TYPEMAT,
                                                        const SparseMatrix<TYPE2> &);
+
+DEAL_II_NAMESPACE_CLOSE
index cdd09856dada4125f0f3e842a0e986dbfb765d7b..a10a204f66af77106131281773ba5f3f8f7536c4 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004 by the deal.II authors
+//    Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -16,6 +16,8 @@
 
 // TYPEMAT and TYPEVEC are defined in sparsematrix?.cc
 
+DEAL_II_NAMESPACE_OPEN
+
 template void SparseMatrix<TYPEMAT>::
 vmult (Vector<TYPEVEC> &, const Vector<TYPEVEC> &) const;
 template void SparseMatrix<TYPEMAT>::
@@ -99,3 +101,5 @@ template void SparseMatrix<TYPEMAT>::
 SSOR_step<TYPEVEC> (Vector<TYPEVEC> &,
                     const Vector<TYPEVEC> &, 
                     const TYPEMAT) const;
+
+DEAL_II_NAMESPACE_CLOSE
index d0216eb9a90a2145bb53e1676fe42ae3e6abbed4..5fe8417df095dc1761bbc08ee52deae12e175d04 100644 (file)
@@ -1,5 +1,5 @@
 //---------------------------------------------------------------------------
-//    Copyright (C) 2002, 2003, 2005 by the deal.II authors
+//    Copyright (C) 2002, 2003, 2005, 2006 by the deal.II authors
 //    by the deal.II authors and Stephen "Cheffo" Kolaroff
 //
 //    This file is subject to QPL and may not be  distributed
@@ -11,6 +11,8 @@
 
 #include <lac/sparse_mic.templates.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 
 // explicit instantiations for double and float matrices
 template class SparseMIC<double>;
@@ -41,3 +43,5 @@ template void SparseMIC<float>::decompose<float> (const SparseMatrix<float> &,
 template void SparseMIC<float>::vmult<float> (Vector<float> &,
                                               const Vector<float> &) const;
 
+
+DEAL_II_NAMESPACE_CLOSE
index 83cf0bd39d3443aef8a70be618baa532868fdd1e..52a7de0b33bf6f9689e18c9980d155921c9c88c6 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 1999, 2000, 2001, 2002, 2003, 2005 by the deal.II authors
+//    Copyright (C) 1999, 2000, 2001, 2002, 2003, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -14,6 +14,8 @@
 
 #include <lac/sparse_vanka.templates.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 
 // explicit instantiations
 template class SparseVanka<float>;
@@ -32,3 +34,5 @@ template void SparseBlockVanka<double>::vmult<float> (Vector<float>       &dst,
                                                      const Vector<float> &src) const;
 template void SparseBlockVanka<double>::vmult<double> (Vector<double>       &dst,
                                                       const Vector<double> &src) const;
+
+DEAL_II_NAMESPACE_CLOSE
index a180b864a4229173b8933482d3c5041d14e2a1c6..e49158f19ae3014f6f599eebe0b9c3da8c078997 100644 (file)
@@ -23,6 +23,8 @@
 #include <numeric>
 #include <functional>
 
+DEAL_II_NAMESPACE_OPEN
+
 #ifdef DEAL_II_USE_METIS
 extern "C" {
 #  include <metis.h>
@@ -1045,3 +1047,5 @@ partition (const unsigned int         n_partitions,
 // explicit instantiations
 template void SparsityPattern::copy_from<float> (const FullMatrix<float> &, bool);
 template void SparsityPattern::copy_from<double> (const FullMatrix<double> &, bool);
+
+DEAL_II_NAMESPACE_CLOSE
index db928ba572353d327a6b1ca11da510f3406bedea..77bc79d7325980ca84350fdd87741a9d5a8414dd 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2000, 2001, 2002, 2005 by the deal.II authors
+//    Copyright (C) 2000, 2001, 2002, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
 
 #include <lac/swappable_vector.templates.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 // explicit instantiations
 template class SwappableVector<double>;
 template class SwappableVector<float>;
+
+DEAL_II_NAMESPACE_CLOSE
index 6a6b7a2ec024c2aa76ac13288ce531a3ccffec77..b41877fc6162ff0fad4883f92a39033dcfd263fb 100644 (file)
@@ -15,6 +15,8 @@
 #include <lac/vector.h>
 #include <lac/lapack_templates.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 using namespace LAPACKSupport;
 
 template<typename number>
@@ -258,3 +260,5 @@ TridiagonalMatrix<number>::
 
 template class TridiagonalMatrix<float>;
 template class TridiagonalMatrix<double>;
+
+DEAL_II_NAMESPACE_CLOSE
index f4ad86f165149be003135fbe75e799dea567b796..53a5636bcc75280fdda1264c9fda27f35be2e2ea 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 by the deal.II authors
+//    Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -14,6 +14,8 @@
 
 #include <lac/vector.templates.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 // explicit instantiations
 template class Vector<double>;
 
@@ -50,3 +52,5 @@ template void Vector<float>::equ<double>(const float, const Vector<double>&);
 template void Vector<float>::equ<float>(const float, const Vector<float>&);
 template void Vector<float>::scale<double>(const Vector<double>&);
 template void Vector<float>::scale<float>(const Vector<float>&);
+
+DEAL_II_NAMESPACE_CLOSE
index 8714654f01b3012bf8772b8db0f848e97caf4f7e..300c9cc110f6749d3d1c5d05c0cc8e69218ed8c9 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 by the deal.II authors
+//    Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -14,6 +14,8 @@
 
 #include <lac/vector.templates.h>
 
+DEAL_II_NAMESPACE_OPEN
+
 // explicit instantiations
 template class Vector<long double>;
 
@@ -46,3 +48,5 @@ template Vector<float>& Vector<float>::DEAL_II_MEMBER_OP_TEMPLATE_INST operator=
 template float Vector<float>::DEAL_II_MEMBER_OP_TEMPLATE_INST operator *<long double> (const Vector<long double> &) const;
 template void Vector<float>::reinit<long double>(const Vector<long double>&, const bool);
 template void Vector<float>::equ<long double>(const float, const Vector<long double>&);
+
+DEAL_II_NAMESPACE_CLOSE

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.