23 #ifndef _aspect_prescribed_stokes_solution_interface_h 24 #define _aspect_prescribed_stokes_solution_interface_h 28 #include <deal.II/base/point.h> 29 #include <deal.II/base/parameter_handler.h> 31 #include <deal.II/base/function.h> 41 namespace PrescribedStokesSolution
95 void stokes_solution (
const Point<dim> &p, Vector<double> &value)
const = 0;
115 parse_parameters (ParameterHandler &prm);
141 const std::string &description,
142 void (*declare_parameters_function) (ParameterHandler &),
156 std::unique_ptr<Interface<dim>>
193 #define ASPECT_REGISTER_PRESCRIBED_STOKES_SOLUTION(classname,name,description) \ 194 template class classname<2>; \ 195 template class classname<3>; \ 196 namespace ASPECT_REGISTER_PRESCRIBED_STOKES_SOLUTION_ ## classname \ 198 aspect::internal::Plugins::RegisterHelper<aspect::PrescribedStokesSolution::Interface<2>,classname<2>> \ 199 dummy_ ## classname ## _2d (&aspect::PrescribedStokesSolution::register_prescribed_stokes_solution_model<2>, \ 200 name, description); \ 201 aspect::internal::Plugins::RegisterHelper<aspect::PrescribedStokesSolution::Interface<3>,classname<3>> \ 202 dummy_ ## classname ## _3d (&aspect::PrescribedStokesSolution::register_prescribed_stokes_solution_model<3>, \ 203 name, description); \ void register_prescribed_stokes_solution_model(const std::string &name, const std::string &description, void(*declare_parameters_function)(ParameterHandler &), std::unique_ptr< Interface< dim >>(*factory_function)())
void declare_parameters(ParameterHandler &prm)
std::unique_ptr< Interface< dim > > create_prescribed_stokes_solution(ParameterHandler &prm)
void write_plugin_graph(std::ostream &output_stream)