diff --git a/include/aspect/boundary_composition/interface.h b/include/aspect/boundary_composition/interface.h index 79b3da1744f..3e2736c65f3 100644 --- a/include/aspect/boundary_composition/interface.h +++ b/include/aspect/boundary_composition/interface.h @@ -160,8 +160,8 @@ namespace aspect * argument) is a class derived from the Interface class in this namespace. * * @deprecated Instead of this function, use the - * Plugins::ManagerBase::has_matching_plugin_object() and - * Plugins::ManagerBase::get_matching_plugin_object() functions of the base + * Plugins::ManagerBase::has_matching_plugin() and + * Plugins::ManagerBase::get_matching_plugin() functions of the base * class of the current class. */ template ::has_matching_boundary_composition_model () const { - return this->template has_matching_plugin_object(); + return this->template has_matching_plugin(); } @@ -275,7 +275,7 @@ namespace aspect const BoundaryCompositionType & Manager::get_matching_boundary_composition_model () const { - return this->template get_matching_plugin_object(); + return this->template get_matching_plugin(); } diff --git a/include/aspect/boundary_temperature/interface.h b/include/aspect/boundary_temperature/interface.h index 898a72fad85..7f4c3164aea 100644 --- a/include/aspect/boundary_temperature/interface.h +++ b/include/aspect/boundary_temperature/interface.h @@ -194,8 +194,8 @@ namespace aspect * argument) is a class derived from the Interface class in this namespace. * * @deprecated Instead of this function, use the - * Plugins::ManagerBase::has_matching_plugin_object() and - * Plugins::ManagerBase::get_matching_plugin_object() functions of the base + * Plugins::ManagerBase::has_matching_plugin() and + * Plugins::ManagerBase::get_matching_plugin() functions of the base * class of the current class. */ template ::has_matching_boundary_temperature_model () const { - return this->template has_matching_plugin_object(); + return this->template has_matching_plugin(); } @@ -308,7 +308,7 @@ namespace aspect const BoundaryTemperatureType & Manager::get_matching_boundary_temperature_model () const { - return this->template get_matching_plugin_object(); + return this->template get_matching_plugin(); } diff --git a/include/aspect/heating_model/interface.h b/include/aspect/heating_model/interface.h index f51073ca06a..608baee7719 100644 --- a/include/aspect/heating_model/interface.h +++ b/include/aspect/heating_model/interface.h @@ -275,8 +275,8 @@ namespace aspect * argument) is a class derived from the Interface class in this namespace. * * @deprecated Instead of this function, use the - * Plugins::ManagerBase::has_matching_plugin_object() and - * Plugins::ManagerBase::get_matching_plugin_object() functions of the base + * Plugins::ManagerBase::has_matching_plugin() and + * Plugins::ManagerBase::get_matching_plugin() functions of the base * class of the current class. */ template ::has_matching_heating_model () const { - return this->template has_matching_plugin_object(); + return this->template has_matching_plugin(); } @@ -355,7 +355,7 @@ namespace aspect const HeatingModelType & Manager::get_matching_heating_model () const { - return this->template get_matching_plugin_object(); + return this->template get_matching_plugin(); } diff --git a/include/aspect/initial_composition/interface.h b/include/aspect/initial_composition/interface.h index adba4d40bb6..98127c3c3e8 100644 --- a/include/aspect/initial_composition/interface.h +++ b/include/aspect/initial_composition/interface.h @@ -149,8 +149,8 @@ namespace aspect * argument) is a class derived from the Interface class in this namespace. * * @deprecated Instead of this function, use the - * Plugins::ManagerBase::has_matching_plugin_object() and - * Plugins::ManagerBase::get_matching_plugin_object() functions of the base + * Plugins::ManagerBase::has_matching_plugin() and + * Plugins::ManagerBase::get_matching_plugin() functions of the base * class of the current class. */ template ::has_matching_initial_composition_model () const { - return this->template has_matching_plugin_object(); + return this->template has_matching_plugin(); } @@ -236,7 +236,7 @@ namespace aspect const InitialCompositionType & Manager::get_matching_initial_composition_model () const { - return this->template get_matching_plugin_object(); + return this->template get_matching_plugin(); } diff --git a/include/aspect/initial_temperature/interface.h b/include/aspect/initial_temperature/interface.h index ed365534877..7acd0c7ca16 100644 --- a/include/aspect/initial_temperature/interface.h +++ b/include/aspect/initial_temperature/interface.h @@ -146,8 +146,8 @@ namespace aspect * argument) is a class derived from the Interface class in this namespace. * * @deprecated Instead of this function, use the - * Plugins::ManagerBase::has_matching_plugin_object() and - * Plugins::ManagerBase::get_matching_plugin_object() functions of the base + * Plugins::ManagerBase::has_matching_plugin() and + * Plugins::ManagerBase::get_matching_plugin() functions of the base * class of the current class. */ template ::has_matching_initial_temperature_model () const { - return this->template has_matching_plugin_object(); + return this->template has_matching_plugin(); } @@ -234,7 +234,7 @@ namespace aspect const InitialTemperatureType & Manager::get_matching_initial_temperature_model () const { - return this->template get_matching_plugin_object(); + return this->template get_matching_plugin(); } diff --git a/include/aspect/mesh_refinement/interface.h b/include/aspect/mesh_refinement/interface.h index e5b8516ba03..c9b70a74bd0 100644 --- a/include/aspect/mesh_refinement/interface.h +++ b/include/aspect/mesh_refinement/interface.h @@ -162,8 +162,8 @@ namespace aspect * argument) is a class derived from the Interface class in this namespace. * * @deprecated Instead of this function, use the - * Plugins::ManagerBase::has_matching_plugin_object() and - * Plugins::ManagerBase::get_matching_plugin_object() functions of the base + * Plugins::ManagerBase::has_matching_plugin() and + * Plugins::ManagerBase::get_matching_plugin() functions of the base * class of the current class. */ template ::has_matching_mesh_refinement_strategy () const { - return this->template has_matching_plugin_object(); + return this->template has_matching_plugin(); } @@ -284,7 +284,7 @@ namespace aspect const MeshRefinementType & Manager::get_matching_mesh_refinement_strategy () const { - return this->template get_matching_plugin_object(); + return this->template get_matching_plugin(); } diff --git a/include/aspect/particle/property/interface.h b/include/aspect/particle/property/interface.h index bbe48d0bb4e..b1047d14928 100644 --- a/include/aspect/particle/property/interface.h +++ b/include/aspect/particle/property/interface.h @@ -616,8 +616,8 @@ namespace aspect * argument) is a class derived from the Interface class in this namespace. * * @deprecated Instead of this function, use the - * Plugins::ManagerBase::has_matching_plugin_object() and - * Plugins::ManagerBase::get_matching_plugin_object() functions of the base + * Plugins::ManagerBase::has_matching_plugin() and + * Plugins::ManagerBase::get_matching_plugin() functions of the base * class of the current class. */ template ::has_matching_property () const { - return this->template has_matching_plugin_object(); + return this->template has_matching_plugin(); } @@ -781,7 +781,7 @@ namespace aspect const ParticlePropertyType & Manager::get_matching_property () const { - return this->template get_matching_plugin_object(); + return this->template get_matching_plugin(); } diff --git a/include/aspect/plugins.h b/include/aspect/plugins.h index d9cae19ec2c..5a948bceceb 100644 --- a/include/aspect/plugins.h +++ b/include/aspect/plugins.h @@ -232,7 +232,7 @@ namespace aspect template ::value>> bool - has_matching_plugin_object () const; + has_matching_plugin () const; /** * Go through the list of all plugins that have been selected @@ -248,7 +248,7 @@ namespace aspect template ::value>> const PluginType & - get_matching_plugin_object () const; + get_matching_plugin () const; protected: /** @@ -320,7 +320,7 @@ namespace aspect template inline bool - ManagerBase::has_matching_plugin_object () const + ManagerBase::has_matching_plugin () const { for (const auto &p : plugin_objects) if (Plugins::plugin_type_matches(*p)) @@ -333,9 +333,9 @@ namespace aspect template inline const PluginType & - ManagerBase::get_matching_plugin_object () const + ManagerBase::get_matching_plugin () const { - AssertThrow(has_matching_plugin_object (), + AssertThrow(has_matching_plugin (), ExcMessage("You asked the object managing a collection of plugins for a " "plugin object of type <" + boost::core::demangle(typeid(PluginType).name()) + "> " "that could not be found in the current model. You need to " diff --git a/include/aspect/postprocess/interface.h b/include/aspect/postprocess/interface.h index 215860eab66..e4ef8080e03 100644 --- a/include/aspect/postprocess/interface.h +++ b/include/aspect/postprocess/interface.h @@ -111,7 +111,7 @@ namespace aspect * This can be done by deriving your postprocessor from * SimulatorAccess, and then using the * SimulatorAccess::get_postprocess_manager() function, followed - * by asking the resulting object via get_matching_plugin_object() + * by asking the resulting object via get_matching_plugin() * for a specific postprocessor object. */ virtual @@ -196,8 +196,8 @@ namespace aspect * argument) is a class derived from the Interface class in this namespace. * * @deprecated Instead of this function, use the - * Plugins::ManagerBase::has_matching_plugin_object() and - * Plugins::ManagerBase::get_matching_plugin_object() functions of the base + * Plugins::ManagerBase::has_matching_plugin() and + * Plugins::ManagerBase::get_matching_plugin() functions of the base * class of the current class. */ template ::has_matching_postprocessor () const { - return this->template has_matching_plugin_object(); + return this->template has_matching_plugin(); } @@ -363,7 +363,7 @@ namespace aspect const PostprocessorType & Manager::get_matching_postprocessor () const { - return this->template get_matching_plugin_object(); + return this->template get_matching_plugin(); } diff --git a/source/boundary_temperature/dynamic_core.cc b/source/boundary_temperature/dynamic_core.cc index 407582b9418..c1a386c0c02 100644 --- a/source/boundary_temperature/dynamic_core.cc +++ b/source/boundary_temperature/dynamic_core.cc @@ -594,11 +594,11 @@ namespace aspect // It is not available at the time initialize() function of boundary temperature is called. if (is_first_call==true) { - AssertThrow(this->get_postprocess_manager().template has_matching_plugin_object>(), + AssertThrow(this->get_postprocess_manager().template has_matching_plugin>(), ExcMessage ("Dynamic core boundary condition has to work with dynamic core statistics postprocessor.")); const Postprocess::CoreStatistics &core_statistics - = this->get_postprocess_manager().template get_matching_plugin_object>(); + = this->get_postprocess_manager().template get_matching_plugin>(); // The restart data is stored in 'core statistics' postprocessor. // If restart from checkpoint, extract data from there. core_data = core_statistics.get_core_data(); diff --git a/source/heating_model/interface.cc b/source/heating_model/interface.cc index 61d49d06e96..fc043295dd0 100644 --- a/source/heating_model/interface.cc +++ b/source/heating_model/interface.cc @@ -59,7 +59,7 @@ namespace aspect bool Manager::adiabatic_heating_enabled() const { - return this->template has_matching_plugin_object>() ; + return this->template has_matching_plugin>() ; } @@ -68,7 +68,7 @@ namespace aspect bool Manager::shear_heating_enabled() const { - return this->template has_matching_plugin_object>() ; + return this->template has_matching_plugin>() ; } diff --git a/source/particle/property/cpo_bingham_average.cc b/source/particle/property/cpo_bingham_average.cc index 6ea083b35a1..6c29000e3fa 100644 --- a/source/particle/property/cpo_bingham_average.cc +++ b/source/particle/property/cpo_bingham_average.cc @@ -252,7 +252,7 @@ namespace aspect { // Get a pointer to the CPO particle property. cpo_particle_property = std::make_unique> ( - this->get_particle_world(this->get_particle_world_index()).get_property_manager().template get_matching_plugin_object>()); + this->get_particle_world(this->get_particle_world_index()).get_property_manager().template get_matching_plugin>()); random_number_seed = prm.get_integer ("Random number seed"); n_grains = cpo_particle_property->get_number_of_grains(); diff --git a/source/particle/property/cpo_elastic_tensor.cc b/source/particle/property/cpo_elastic_tensor.cc index 8a5f71559e4..514000be41d 100644 --- a/source/particle/property/cpo_elastic_tensor.cc +++ b/source/particle/property/cpo_elastic_tensor.cc @@ -147,7 +147,7 @@ namespace aspect { // Get a reference to the CPO particle property. const Particle::Property::CrystalPreferredOrientation &cpo_particle_property = - this->get_particle_world(this->get_particle_world_index()).get_property_manager().template get_matching_plugin_object>(); + this->get_particle_world(this->get_particle_world_index()).get_property_manager().template get_matching_plugin>(); const SymmetricTensor<2,6> C_average = voigt_average_elastic_tensor(cpo_particle_property, diff --git a/source/postprocess/core_statistics.cc b/source/postprocess/core_statistics.cc index 7833b682b71..64d80c18dc0 100644 --- a/source/postprocess/core_statistics.cc +++ b/source/postprocess/core_statistics.cc @@ -47,7 +47,7 @@ namespace aspect std::ostringstream screen_text; const BoundaryTemperature::DynamicCore &dynamic_core = - this->get_boundary_temperature_manager().template get_matching_plugin_object>(); + this->get_boundary_temperature_manager().template get_matching_plugin>(); core_data = dynamic_core.get_core_data(); diff --git a/source/postprocess/crystal_preferred_orientation.cc b/source/postprocess/crystal_preferred_orientation.cc index 0b5e19c1b15..7ebc0d7405e 100644 --- a/source/postprocess/crystal_preferred_orientation.cc +++ b/source/postprocess/crystal_preferred_orientation.cc @@ -180,7 +180,7 @@ namespace aspect // Get a reference to the CPO particle property. const Particle::Property::CrystalPreferredOrientation &cpo_particle_property = - manager.template get_matching_plugin_object>(); + manager.template get_matching_plugin>(); const unsigned int n_grains = cpo_particle_property.get_number_of_grains(); const unsigned int n_minerals = cpo_particle_property.get_number_of_minerals(); diff --git a/source/postprocess/dynamic_topography.cc b/source/postprocess/dynamic_topography.cc index 5175e8c9c4b..47a183105cb 100644 --- a/source/postprocess/dynamic_topography.cc +++ b/source/postprocess/dynamic_topography.cc @@ -35,7 +35,7 @@ namespace aspect DynamicTopography::execute (TableHandler &) { const Postprocess::BoundaryPressures &boundary_pressures = - this->get_postprocess_manager().template get_matching_plugin_object>(); + this->get_postprocess_manager().template get_matching_plugin>(); // Get the average pressure at the top and bottom boundaries. // This will be used to compute the dynamic pressure at the boundaries. diff --git a/source/postprocess/geoid.cc b/source/postprocess/geoid.cc index beadb4ba0fd..a69a397a8dc 100644 --- a/source/postprocess/geoid.cc +++ b/source/postprocess/geoid.cc @@ -182,7 +182,7 @@ namespace aspect { // Get a pointer to the boundary densities postprocessor. const Postprocess::BoundaryDensities<3> &boundary_densities = - this->get_postprocess_manager().template get_matching_plugin_object>(); + this->get_postprocess_manager().template get_matching_plugin>(); const double top_layer_average_density = boundary_densities.density_at_top(); const double bottom_layer_average_density = boundary_densities.density_at_bottom(); @@ -270,7 +270,7 @@ namespace aspect { // Get a reference to the dynamic topography postprocessor. const Postprocess::DynamicTopography<3> &dynamic_topography = - this->get_postprocess_manager().template get_matching_plugin_object>(); + this->get_postprocess_manager().template get_matching_plugin>(); // Get the already-computed dynamic topography solution. const LinearAlgebra::BlockVector &topo_vector = dynamic_topography.topography_vector(); @@ -317,7 +317,7 @@ namespace aspect { // Get a reference to the dynamic topography postprocessor. const Postprocess::DynamicTopography<3> &dynamic_topography = - this->get_postprocess_manager().template get_matching_plugin_object>(); + this->get_postprocess_manager().template get_matching_plugin>(); // Get the already-computed dynamic topography solution. const LinearAlgebra::BlockVector &topo_vector = dynamic_topography.topography_vector(); diff --git a/source/postprocess/sea_level.cc b/source/postprocess/sea_level.cc index 33cb7418e9e..606fde34fda 100644 --- a/source/postprocess/sea_level.cc +++ b/source/postprocess/sea_level.cc @@ -84,7 +84,7 @@ namespace aspect const int dim = 3; const Postprocess::Geoid &geoid = - this->get_postprocess_manager().template get_matching_plugin_object>(); + this->get_postprocess_manager().template get_matching_plugin>(); const double geoid_displacement = geoid.evaluate(position); // TODO: check sign of geoid_displacement const double topography = this->get_geometry_model().height_above_reference_surface(position); @@ -125,7 +125,7 @@ namespace aspect const types::boundary_id top_boundary_id = this->get_geometry_model().translate_symbolic_boundary_name_to_id("top"); const Postprocess::Geoid &geoid = - this->get_postprocess_manager().template get_matching_plugin_object>(); + this->get_postprocess_manager().template get_matching_plugin>(); const unsigned int quadrature_degree = this->introspection().polynomial_degree.temperature; const QGauss quadrature_formula_face(quadrature_degree); @@ -266,7 +266,7 @@ namespace aspect const types::boundary_id top_boundary_id = this->get_geometry_model().translate_symbolic_boundary_name_to_id("top"); const Postprocess::Geoid &geoid = - this->get_postprocess_manager().template get_matching_plugin_object>(); + this->get_postprocess_manager().template get_matching_plugin>(); // Get the sea level offset (constant for every location). sea_level_offset = compute_sea_level_offset(); diff --git a/source/postprocess/visualization/boundary_strain_rate_residual.cc b/source/postprocess/visualization/boundary_strain_rate_residual.cc index 5cbf716e59b..c41ec11caf6 100644 --- a/source/postprocess/visualization/boundary_strain_rate_residual.cc +++ b/source/postprocess/visualization/boundary_strain_rate_residual.cc @@ -73,7 +73,7 @@ namespace aspect const double unit_scaling_factor = this->convert_output_to_years() ? year_in_seconds : 1.0; const Postprocess::BoundaryStrainRateResidualStatistics &boundary_strain_rate_residual_statistics = - this->get_postprocess_manager().template get_matching_plugin_object>(); + this->get_postprocess_manager().template get_matching_plugin>(); // We only want the output at the top boundary, so only compute it if the current cell // has a face at the top boundary. @@ -106,7 +106,7 @@ namespace aspect } - const auto &viz = this->get_postprocess_manager().template get_matching_plugin_object>(); + const auto &viz = this->get_postprocess_manager().template get_matching_plugin>(); if (!viz.output_pointwise_stress_and_strain()) average_quantities(computed_quantities); diff --git a/source/postprocess/visualization/boundary_velocity_residual.cc b/source/postprocess/visualization/boundary_velocity_residual.cc index 8630c0f4b92..515f85d1a64 100644 --- a/source/postprocess/visualization/boundary_velocity_residual.cc +++ b/source/postprocess/visualization/boundary_velocity_residual.cc @@ -68,7 +68,7 @@ namespace aspect this->convert_output_to_years() ? year_in_seconds : 1.0; const Postprocess::BoundaryVelocityResidualStatistics &boundary_velocity_residual_statistics = - this->get_postprocess_manager().template get_matching_plugin_object>(); + this->get_postprocess_manager().template get_matching_plugin>(); // We only want the output at the top boundary, so only compute it if the current cell // has a face at the top boundary. diff --git a/source/postprocess/visualization/dynamic_topography.cc b/source/postprocess/visualization/dynamic_topography.cc index 64f75539936..6c263feec2d 100644 --- a/source/postprocess/visualization/dynamic_topography.cc +++ b/source/postprocess/visualization/dynamic_topography.cc @@ -50,7 +50,7 @@ namespace aspect quantity(0) = 0; const Postprocess::DynamicTopography &dynamic_topography = - this->get_postprocess_manager().template get_matching_plugin_object>(); + this->get_postprocess_manager().template get_matching_plugin>(); auto cell = input_data.template get_cell(); diff --git a/source/postprocess/visualization/geoid.cc b/source/postprocess/visualization/geoid.cc index de57c0cf9f8..8a3c9b631b6 100644 --- a/source/postprocess/visualization/geoid.cc +++ b/source/postprocess/visualization/geoid.cc @@ -68,7 +68,7 @@ namespace aspect quantity(0) = 0; const Postprocess::Geoid &geoid = - this->get_postprocess_manager().template get_matching_plugin_object>(); + this->get_postprocess_manager().template get_matching_plugin>(); auto cell = input_data.template get_cell(); diff --git a/source/postprocess/visualization/shear_stress.cc b/source/postprocess/visualization/shear_stress.cc index c5703878535..d45162f77b4 100644 --- a/source/postprocess/visualization/shear_stress.cc +++ b/source/postprocess/visualization/shear_stress.cc @@ -111,7 +111,7 @@ namespace aspect } // average the values if requested - const auto &viz = this->get_postprocess_manager().template get_matching_plugin_object>(); + const auto &viz = this->get_postprocess_manager().template get_matching_plugin>(); if (!viz.output_pointwise_stress_and_strain()) average_quantities(computed_quantities); } diff --git a/source/postprocess/visualization/strain_rate.cc b/source/postprocess/visualization/strain_rate.cc index c3b2df71637..c7b1f908c9d 100644 --- a/source/postprocess/visualization/strain_rate.cc +++ b/source/postprocess/visualization/strain_rate.cc @@ -65,7 +65,7 @@ namespace aspect } // average the values if requested - const auto &viz = this->get_postprocess_manager().template get_matching_plugin_object>(); + const auto &viz = this->get_postprocess_manager().template get_matching_plugin>(); if (!viz.output_pointwise_stress_and_strain()) average_quantities(computed_quantities); } diff --git a/source/postprocess/visualization/strain_rate_tensor.cc b/source/postprocess/visualization/strain_rate_tensor.cc index 4d6de65742c..70184778966 100644 --- a/source/postprocess/visualization/strain_rate_tensor.cc +++ b/source/postprocess/visualization/strain_rate_tensor.cc @@ -71,7 +71,7 @@ namespace aspect = deviatoric_strain_rate[d][e]; } - const auto &viz = this->get_postprocess_manager().template get_matching_plugin_object>(); + const auto &viz = this->get_postprocess_manager().template get_matching_plugin>(); if (!viz.output_pointwise_stress_and_strain()) average_quantities(computed_quantities); diff --git a/source/postprocess/visualization/stress.cc b/source/postprocess/visualization/stress.cc index 78668b61326..a3c64b3a878 100644 --- a/source/postprocess/visualization/stress.cc +++ b/source/postprocess/visualization/stress.cc @@ -111,7 +111,7 @@ namespace aspect } // average the values if requested - const auto &viz = this->get_postprocess_manager().template get_matching_plugin_object>(); + const auto &viz = this->get_postprocess_manager().template get_matching_plugin>(); if (!viz.output_pointwise_stress_and_strain()) average_quantities(computed_quantities); } diff --git a/source/postprocess/visualization/stress_second_invariant.cc b/source/postprocess/visualization/stress_second_invariant.cc index 0d6228ef57b..35bf2c61320 100644 --- a/source/postprocess/visualization/stress_second_invariant.cc +++ b/source/postprocess/visualization/stress_second_invariant.cc @@ -109,7 +109,7 @@ namespace aspect } // average the values if requested - const auto &viz = this->get_postprocess_manager().template get_matching_plugin_object>(); + const auto &viz = this->get_postprocess_manager().template get_matching_plugin>(); if (!viz.output_pointwise_stress_and_strain()) average_quantities(computed_quantities); } diff --git a/source/postprocess/visualization/surface_dynamic_topography.cc b/source/postprocess/visualization/surface_dynamic_topography.cc index 45eddfe69d4..35e7353da3b 100644 --- a/source/postprocess/visualization/surface_dynamic_topography.cc +++ b/source/postprocess/visualization/surface_dynamic_topography.cc @@ -50,7 +50,7 @@ namespace aspect quantity(0) = 0; const Postprocess::DynamicTopography &dynamic_topography = - this->get_postprocess_manager().template get_matching_plugin_object>(); + this->get_postprocess_manager().template get_matching_plugin>(); auto cell = input_data.template get_cell(); diff --git a/source/postprocess/visualization/surface_strain_rate_tensor.cc b/source/postprocess/visualization/surface_strain_rate_tensor.cc index c130d808455..ccd404dccbe 100644 --- a/source/postprocess/visualization/surface_strain_rate_tensor.cc +++ b/source/postprocess/visualization/surface_strain_rate_tensor.cc @@ -72,7 +72,7 @@ namespace aspect } // average the values if requested - const auto &viz = this->get_postprocess_manager().template get_matching_plugin_object>(); + const auto &viz = this->get_postprocess_manager().template get_matching_plugin>(); if (!viz.output_pointwise_stress_and_strain()) average_quantities(computed_quantities); diff --git a/source/postprocess/visualization/surface_stress.cc b/source/postprocess/visualization/surface_stress.cc index e88bf50e68a..65ccc2ed3cd 100644 --- a/source/postprocess/visualization/surface_stress.cc +++ b/source/postprocess/visualization/surface_stress.cc @@ -103,7 +103,7 @@ namespace aspect } // average the values if requested - const auto &viz = this->get_postprocess_manager().template get_matching_plugin_object>(); + const auto &viz = this->get_postprocess_manager().template get_matching_plugin>(); if (!viz.output_pointwise_stress_and_strain()) average_quantities(computed_quantities); } diff --git a/source/postprocess/visualization/volumetric_strain_rate.cc b/source/postprocess/visualization/volumetric_strain_rate.cc index 1f07eaac412..4a53c5c2a1f 100644 --- a/source/postprocess/visualization/volumetric_strain_rate.cc +++ b/source/postprocess/visualization/volumetric_strain_rate.cc @@ -62,7 +62,7 @@ namespace aspect } // average the values if requested - const auto &viz = this->get_postprocess_manager().template get_matching_plugin_object>(); + const auto &viz = this->get_postprocess_manager().template get_matching_plugin>(); if (!viz.output_pointwise_stress_and_strain()) average_quantities(computed_quantities); } diff --git a/source/simulator/core.cc b/source/simulator/core.cc index bc7f4eefe18..b1a35c03fa0 100644 --- a/source/simulator/core.cc +++ b/source/simulator/core.cc @@ -446,7 +446,7 @@ namespace aspect postprocess_manager.initialize_simulator (*this); postprocess_manager.parse_parameters (prm); - if (postprocess_manager.template has_matching_plugin_object>()) + if (postprocess_manager.template has_matching_plugin>()) { particle_worlds.emplace_back(std::move(std::make_unique>())); for (unsigned int particle_world_index = 0 ; particle_world_index < particle_worlds.size(); ++particle_world_index) diff --git a/source/simulator/helper_functions.cc b/source/simulator/helper_functions.cc index c769f96f0ed..845c11c0c8c 100644 --- a/source/simulator/helper_functions.cc +++ b/source/simulator/helper_functions.cc @@ -2242,7 +2242,7 @@ namespace aspect "Please check the consistency of your input file.")); const bool use_simplified_adiabatic_heating = - heating_model_manager.template get_matching_plugin_object>() + heating_model_manager.template get_matching_plugin>() .use_simplified_adiabatic_heating(); AssertThrow(use_simplified_adiabatic_heating == true, diff --git a/source/volume_of_fluid/handler.cc b/source/volume_of_fluid/handler.cc index 37067bcfcf8..7118e31b5de 100644 --- a/source/volume_of_fluid/handler.cc +++ b/source/volume_of_fluid/handler.cc @@ -427,7 +427,7 @@ namespace aspect if ( this->get_parameters().initial_adaptive_refinement > 0 || this->get_parameters().adaptive_refinement_interval > 0 ) { - AssertThrow(this->get_mesh_refinement_manager().template has_matching_plugin_object>(), + AssertThrow(this->get_mesh_refinement_manager().template has_matching_plugin>(), ExcMessage("Volume of Fluid Interface Tracking requires that the 'volume of fluid interface' strategy be used for AMR")); AssertThrow(this->get_parameters().adaptive_refinement_interval <(1/this->get_parameters().CFL_number), diff --git a/tests/find_boundary_composition_model_fail_1/screen-output b/tests/find_boundary_composition_model_fail_1/screen-output index 6ee723c0416..26d1b10a963 100644 --- a/tests/find_boundary_composition_model_fail_1/screen-output +++ b/tests/find_boundary_composition_model_fail_1/screen-output @@ -18,7 +18,7 @@ Exception on MPI process <0> while running plugin of file in function (line in output replaced by default.sh script) The violated condition was: - has_matching_plugin_object () + has_matching_plugin () Additional information: You asked the object managing a collection of plugins for a plugin object of type > that could not be diff --git a/tests/find_mesh_refinement_fail_1/screen-output b/tests/find_mesh_refinement_fail_1/screen-output index 4da556d2b01..a7d7cbeaa57 100644 --- a/tests/find_mesh_refinement_fail_1/screen-output +++ b/tests/find_mesh_refinement_fail_1/screen-output @@ -18,7 +18,7 @@ Exception on MPI process <0> while running plugin of file in function (line in output replaced by default.sh script) The violated condition was: - has_matching_plugin_object () + has_matching_plugin () Additional information: You asked the object managing a collection of plugins for a plugin object of type > that could not be diff --git a/tests/find_postprocess_fail_1/screen-output b/tests/find_postprocess_fail_1/screen-output index 3a359a0523a..c3a5b0049af 100644 --- a/tests/find_postprocess_fail_1/screen-output +++ b/tests/find_postprocess_fail_1/screen-output @@ -18,7 +18,7 @@ Exception on MPI process <0> while running plugin of file in function (line in output replaced by default.sh script) The violated condition was: - has_matching_plugin_object () + has_matching_plugin () Additional information: You asked the object managing a collection of plugins for a plugin object of type > that could