ASPECT
Classes | Namespaces | Macros | Functions
interface.h File Reference
Include dependency graph for interface.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  aspect::Particle::Output::Interface< dim >
 

Namespaces

 aspect
 
 aspect::Particle
 
 aspect::Particle::Output
 

Macros

#define ASPECT_REGISTER_PARTICLE_OUTPUT(classname, name, description)
 

Functions

template<int dim>
void aspect::Particle::Output::register_particle_output (const std::string &name, const std::string &description, void(*declare_parameters_function)(ParameterHandler &), Interface< dim > *(*factory_function)())
 
template<int dim>
Interface< dim > * aspect::Particle::Output::create_particle_output (ParameterHandler &prm)
 
template<int dim>
void aspect::Particle::Output::declare_parameters (ParameterHandler &prm)
 
template<int dim>
void aspect::Particle::Output::write_plugin_graph (std::ostream &output_stream)
 

Macro Definition Documentation

§ ASPECT_REGISTER_PARTICLE_OUTPUT

#define ASPECT_REGISTER_PARTICLE_OUTPUT (   classname,
  name,
  description 
)
Value:
template class classname<2>; \
template class classname<3>; \
namespace ASPECT_REGISTER_PARTICLE_OUTPUT_ ## classname \
{ \
aspect::internal::Plugins::RegisterHelper<aspect::Particle::Output::Interface<2>,classname<2> > \
dummy_ ## classname ## _2d (&aspect::Particle::Output::register_particle_output<2>, \
name, description); \
aspect::internal::Plugins::RegisterHelper<aspect::Particle::Output::Interface<3>,classname<3> > \
dummy_ ## classname ## _3d (&aspect::Particle::Output::register_particle_output<3>, \
name, description); \
}

Given a class name, a name, and a description for the parameter file for a particle output, register it with the functions that can declare their parameters and create these objects.

Definition at line 208 of file interface.h.