22 #ifndef _aspect_boundary_fluid_pressure_interface_h 23 #define _aspect_boundary_fluid_pressure_interface_h 37 namespace BoundaryFluidPressure
71 void fluid_pressure_gradient (
72 const types::boundary_id boundary_indicator,
75 const std::vector<Tensor<1,dim>> &normal_vectors,
76 std::vector<double> &fluid_pressure_gradient_outputs
99 const std::string &description,
100 void (*declare_parameters_function) (ParameterHandler &),
114 std::unique_ptr<Interface<dim>>
150 #define ASPECT_REGISTER_BOUNDARY_FLUID_PRESSURE_MODEL(classname, name, description) \ 151 template class classname<2>; \ 152 template class classname<3>; \ 153 namespace ASPECT_REGISTER_BOUNDARY_FLUID_PRESSURE_MODEL_ ## classname \ 155 aspect::internal::Plugins::RegisterHelper<aspect::BoundaryFluidPressure::Interface<2>,classname<2>> \ 156 dummy_ ## classname ## _2d (&aspect::BoundaryFluidPressure::register_boundary_fluid_pressure<2>, \ 157 name, description); \ 158 aspect::internal::Plugins::RegisterHelper<aspect::BoundaryFluidPressure::Interface<3>,classname<3>> \ 159 dummy_ ## classname ## _3d (&aspect::BoundaryFluidPressure::register_boundary_fluid_pressure<3>, \ 160 name, description); \
std::unique_ptr< Interface< dim > > create_boundary_fluid_pressure(ParameterHandler &prm)
void register_boundary_fluid_pressure(const std::string &name, const std::string &description, void(*declare_parameters_function)(ParameterHandler &), std::unique_ptr< Interface< dim >>(*factory_function)())
void write_plugin_graph(std::ostream &output_stream)
void declare_parameters(ParameterHandler &prm)