From c0ddc36d2c764070f79271a3ebb7d9101d9fd43e Mon Sep 17 00:00:00 2001 From: bangerth Date: Sun, 4 Nov 2012 23:21:31 +0000 Subject: [PATCH] Partial merge from the cmake branch: Remove old and likely unused compatibility code. git-svn-id: https://svn.dealii.org/trunk@27369 0785d39b-7218-0410-832d-ea1e28bc413d --- .../deal.II/numerics/vector_tools.templates.h | 22 +------------------ 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/deal.II/include/deal.II/numerics/vector_tools.templates.h b/deal.II/include/deal.II/numerics/vector_tools.templates.h index d9472ef8f9..ae40ad9d46 100644 --- a/deal.II/include/deal.II/numerics/vector_tools.templates.h +++ b/deal.II/include/deal.II/numerics/vector_tools.templates.h @@ -268,7 +268,6 @@ namespace VectorTools const Function &function, VECTOR &vec) { - Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping")); interpolate(StaticMappingQ1::mapping, dof, function, vec); } @@ -645,7 +644,6 @@ namespace VectorTools const Quadrature &q_boundary, const bool project_to_boundary_first) { - Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping")); project(StaticMappingQ1::mapping, dof, constraints, quadrature, function, vec, enforce_zero_boundary, q_boundary, project_to_boundary_first); } @@ -770,7 +768,6 @@ namespace VectorTools const Function &rhs_function, Vector &rhs_vector) { - Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping")); create_right_hand_side(StaticMappingQ1::mapping, dof_handler, quadrature, rhs_function, rhs_vector); } @@ -909,7 +906,6 @@ namespace VectorTools const Function &rhs_function, Vector &rhs_vector) { - Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping")); create_right_hand_side(hp::StaticMappingQ1::mapping_collection, dof_handler, quadrature, rhs_function, rhs_vector); @@ -957,7 +953,6 @@ namespace VectorTools const Point &p, Vector &rhs_vector) { - Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping")); create_point_source_vector(StaticMappingQ1::mapping, dof_handler, p, rhs_vector); } @@ -1002,7 +997,6 @@ namespace VectorTools const Point &p, Vector &rhs_vector) { - Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping")); create_point_source_vector(hp::StaticMappingQ1::mapping_collection, dof_handler, p, rhs_vector); @@ -1053,7 +1047,6 @@ namespace VectorTools const Point &orientation, Vector &rhs_vector) { - Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping")); create_point_source_vector(StaticMappingQ1::mapping, dof_handler, p, orientation, rhs_vector); } @@ -1101,7 +1094,6 @@ namespace VectorTools const Point &orientation, Vector &rhs_vector) { - Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping")); create_point_source_vector(hp::StaticMappingQ1::mapping_collection, dof_handler, p, orientation, rhs_vector); @@ -1270,8 +1262,6 @@ namespace VectorTools Vector &rhs_vector, const std::set &boundary_indicators) { - Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping")); - create_boundary_right_hand_side(StaticMappingQ1::mapping, dof_handler, quadrature, rhs_function, rhs_vector, @@ -1453,7 +1443,6 @@ namespace VectorTools Vector &rhs_vector, const std::set &boundary_indicators) { - Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping")); create_boundary_right_hand_side(hp::StaticMappingQ1::mapping_collection, dof_handler, quadrature, rhs_function, rhs_vector, @@ -1943,7 +1932,6 @@ namespace VectorTools std::map &boundary_values, const ComponentMask &component_mask) { - Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping")); interpolate_boundary_values(StaticMappingQ1::mapping, dof, boundary_component, boundary_function, boundary_values, component_mask); @@ -1958,7 +1946,6 @@ namespace VectorTools std::map &boundary_values, const ComponentMask &component_mask) { - Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping")); interpolate_boundary_values(StaticMappingQ1::mapping, dof, function_map, boundary_values, component_mask); @@ -2027,7 +2014,6 @@ namespace VectorTools ConstraintMatrix &constraints, const ComponentMask &component_mask) { - Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping")); interpolate_boundary_values(StaticMappingQ1::mapping, dof, boundary_component, boundary_function, constraints, component_mask); @@ -2043,7 +2029,6 @@ namespace VectorTools ConstraintMatrix &constraints, const ComponentMask &component_mask) { - Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping")); interpolate_boundary_values(StaticMappingQ1::mapping, dof, function_map, constraints, component_mask); @@ -2267,7 +2252,6 @@ namespace VectorTools std::map &boundary_values, std::vector component_mapping) { - Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping")); project_boundary_values(StaticMappingQ1::mapping, dof, boundary_functions, q, boundary_values, component_mapping); } @@ -2313,7 +2297,6 @@ namespace VectorTools ConstraintMatrix &constraints, std::vector component_mapping) { - Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping")); project_boundary_values(StaticMappingQ1::mapping, dof, boundary_functions, q, constraints, component_mapping); } @@ -5314,7 +5297,6 @@ namespace VectorTools const Function *weight, const double exponent) { - Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping")); internal ::do_integrate_difference(hp::StaticMappingQ1::mapping_collection, dof, fe_function, exact_solution, @@ -5355,7 +5337,6 @@ namespace VectorTools const Function *weight, const double exponent) { - Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping")); internal ::do_integrate_difference(hp::StaticMappingQ1::mapping_collection, dof, fe_function, exact_solution, @@ -5664,7 +5645,7 @@ namespace VectorTools } } -#if DEAL_II_USE_P4EST +#ifdef DEAL_II_USE_P4EST // if this was a distributed // DoFHandler, we need to do the // reduction over the entire domain @@ -5695,7 +5676,6 @@ namespace VectorTools const InVector &v, const unsigned int component) { - Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping")); return compute_mean_value(StaticMappingQ1::mapping, dof, quadrature, v, component); } } -- 2.39.5