17 #ifndef _aspect_prescribed_stokes_solution_interface_h 18 #define _aspect_prescribed_stokes_solution_interface_h 35 namespace PrescribedStokesSolution
83 const std::string &description,
98 std::unique_ptr<Interface<dim>>
135 #define ASPECT_REGISTER_PRESCRIBED_STOKES_SOLUTION(classname,name,description) \ 136 template class classname<2>; \ 137 template class classname<3>; \ 138 namespace ASPECT_REGISTER_PRESCRIBED_STOKES_SOLUTION_ ## classname \ 140 aspect::internal::Plugins::RegisterHelper<aspect::PrescribedStokesSolution::Interface<2>,classname<2>> \ 141 dummy_ ## classname ## _2d (&aspect::PrescribedStokesSolution::register_prescribed_stokes_solution_model<2>, \ 142 name, description); \ 143 aspect::internal::Plugins::RegisterHelper<aspect::PrescribedStokesSolution::Interface<3>,classname<3>> \ 144 dummy_ ## classname ## _3d (&aspect::PrescribedStokesSolution::register_prescribed_stokes_solution_model<3>, \ 145 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)())
virtual void stokes_solution(const Point< dim > &p, Vector< double > &value) const =0
std::unique_ptr< Interface< dim > > create_prescribed_stokes_solution(ParameterHandler &prm)
void write_plugin_graph(std::ostream &output_stream)
static void declare_parameters(ParameterHandler &prm)