Skip to content

Commit

Permalink
Create a graph of all plugins.
Browse files Browse the repository at this point in the history
  • Loading branch information
bangerth committed May 29, 2017
1 parent c28f462 commit 450c3f5
Show file tree
Hide file tree
Showing 51 changed files with 868 additions and 9 deletions.
14 changes: 14 additions & 0 deletions include/aspect/adiabatic_conditions/interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,20 @@ namespace aspect
declare_parameters (ParameterHandler &prm);


/**
* For the current plugin subsystem, write a connection graph of all of the
* plugins we know about, in the format that the
* programs dot and neato understand. This allows for a visualization of
* how all of the plugins that ASPECT knows about are interconnected, and
* connect to other parts of the ASPECT code.
*
* @param output_stream The stream to write the output to.
*/
template <int dim>
void
write_plugin_graph (std::ostream &out);


/**
* Given a class name, a name, and a description for the parameter file
* for a adiabatic conditions model, register it with the functions that
Expand Down
14 changes: 14 additions & 0 deletions include/aspect/boundary_composition/interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,20 @@ namespace aspect
declare_parameters (ParameterHandler &prm);


/**
* For the current plugin subsystem, write a connection graph of all of the
* plugins we know about, in the format that the
* programs dot and neato understand. This allows for a visualization of
* how all of the plugins that ASPECT knows about are interconnected, and
* connect to other parts of the ASPECT code.
*
* @param output_stream The stream to write the output to.
*/
template <int dim>
void
write_plugin_graph (std::ostream &out);


/**
* Given a class name, a name, and a description for the parameter file
* for a boundary composition model, register it with the functions that
Expand Down
14 changes: 14 additions & 0 deletions include/aspect/boundary_fluid_pressure/interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,20 @@ namespace aspect
declare_parameters (ParameterHandler &prm);


/**
* For the current plugin subsystem, write a connection graph of all of the
* plugins we know about, in the format that the
* programs dot and neato understand. This allows for a visualization of
* how all of the plugins that ASPECT knows about are interconnected, and
* connect to other parts of the ASPECT code.
*
* @param output_stream The stream to write the output to.
*/
template <int dim>
void
write_plugin_graph (std::ostream &out);


/**
* Given a class name, a name, and a description for the parameter file
* for a fluid pressure boundary model, register it with the functions that
Expand Down
14 changes: 14 additions & 0 deletions include/aspect/boundary_temperature/interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,20 @@ namespace aspect
BoundaryTemperatureType *
find_boundary_temperature_model () const;

/**
* For the current plugin subsystem, write a connection graph of all of the
* plugins we know about, in the format that the
* programs dot and neato understand. This allows for a visualization of
* how all of the plugins that ASPECT knows about are interconnected, and
* connect to other parts of the ASPECT code.
*
* @param output_stream The stream to write the output to.
*/
static
void
write_plugin_graph (std::ostream &out);


/**
* Exception.
*/
Expand Down
14 changes: 14 additions & 0 deletions include/aspect/boundary_traction/interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,20 @@ namespace aspect
declare_parameters (ParameterHandler &prm);


/**
* For the current plugin subsystem, write a connection graph of all of the
* plugins we know about, in the format that the
* programs dot and neato understand. This allows for a visualization of
* how all of the plugins that ASPECT knows about are interconnected, and
* connect to other parts of the ASPECT code.
*
* @param output_stream The stream to write the output to.
*/
template <int dim>
void
write_plugin_graph (std::ostream &out);



/**
* Given a class name, a name, and a description for the parameter file
Expand Down
14 changes: 14 additions & 0 deletions include/aspect/boundary_velocity/interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,20 @@ namespace aspect
declare_parameters (ParameterHandler &prm);


/**
* For the current plugin subsystem, write a connection graph of all of the
* plugins we know about, in the format that the
* programs dot and neato understand. This allows for a visualization of
* how all of the plugins that ASPECT knows about are interconnected, and
* connect to other parts of the ASPECT code.
*
* @param output_stream The stream to write the output to.
*/
template <int dim>
void
write_plugin_graph (std::ostream &out);



/**
* Given a class name, a name, and a description for the parameter file
Expand Down
14 changes: 14 additions & 0 deletions include/aspect/geometry_model/initial_topography_model/interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,20 @@ namespace aspect
declare_parameters (ParameterHandler &prm);


/**
* For the current plugin subsystem, write a connection graph of all of the
* plugins we know about, in the format that the
* programs dot and neato understand. This allows for a visualization of
* how all of the plugins that ASPECT knows about are interconnected, and
* connect to other parts of the ASPECT code.
*
* @param output_stream The stream to write the output to.
*/
template <int dim>
void
write_plugin_graph (std::ostream &out);


/**
* Given a class name, a name, and a description for the parameter file
* for a initial topography model, register it with the functions that
Expand Down
15 changes: 14 additions & 1 deletion include/aspect/geometry_model/interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,6 @@ namespace aspect
Interface<dim> *
create_geometry_model (ParameterHandler &prm);


/**
* Declare the runtime parameters of the registered geometry models.
*
Expand All @@ -367,6 +366,20 @@ namespace aspect
void
declare_parameters (ParameterHandler &prm);

/**
* For the current plugin subsystem, write a connection graph of all of the
* plugins we know about, in the format that the
* programs dot and neato understand. This allows for a visualization of
* how all of the plugins that ASPECT knows about are interconnected, and
* connect to other parts of the ASPECT code.
*
* @param output_stream The stream to write the output to.
*/
template <int dim>
void
write_plugin_graph (std::ostream &out);



/**
* Given a class name, a name, and a description for the parameter file
Expand Down
14 changes: 14 additions & 0 deletions include/aspect/gravity_model/interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,20 @@ namespace aspect
declare_parameters (ParameterHandler &prm);


/**
* For the current plugin subsystem, write a connection graph of all of the
* plugins we know about, in the format that the
* programs dot and neato understand. This allows for a visualization of
* how all of the plugins that ASPECT knows about are interconnected, and
* connect to other parts of the ASPECT code.
*
* @param output_stream The stream to write the output to.
*/
template <int dim>
void
write_plugin_graph (std::ostream &out);


/**
* Given a class name, a name, and a description for the parameter file
* for a gravity model, register it with the functions that can declare
Expand Down
13 changes: 13 additions & 0 deletions include/aspect/heating_model/interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,19 @@ namespace aspect
HeatingModelType *
find_heating_model () const;

/**
* For the current plugin subsystem, write a connection graph of all of the
* plugins we know about, in the format that the
* programs dot and neato understand. This allows for a visualization of
* how all of the plugins that ASPECT knows about are interconnected, and
* connect to other parts of the ASPECT code.
*
* @param output_stream The stream to write the output to.
*/
static
void
write_plugin_graph (std::ostream &out);

/**
* Exception.
*/
Expand Down
13 changes: 13 additions & 0 deletions include/aspect/initial_composition/interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,19 @@ namespace aspect
InitialCompositionType *
find_initial_composition_model () const;

/**
* For the current plugin subsystem, write a connection graph of all of the
* plugins we know about, in the format that the
* programs dot and neato understand. This allows for a visualization of
* how all of the plugins that ASPECT knows about are interconnected, and
* connect to other parts of the ASPECT code.
*
* @param output_stream The stream to write the output to.
*/
static
void
write_plugin_graph (std::ostream &out);

/**
* Exception.
*/
Expand Down
13 changes: 13 additions & 0 deletions include/aspect/initial_temperature/interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,19 @@ namespace aspect
InitialTemperatureType *
find_initial_temperature_model () const;

/**
* For the current plugin subsystem, write a connection graph of all of the
* plugins we know about, in the format that the
* programs dot and neato understand. This allows for a visualization of
* how all of the plugins that ASPECT knows about are interconnected, and
* connect to other parts of the ASPECT code.
*
* @param output_stream The stream to write the output to.
*/
static
void
write_plugin_graph (std::ostream &out);

/**
* Exception.
*/
Expand Down
18 changes: 18 additions & 0 deletions include/aspect/material_model/interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -964,6 +964,24 @@ namespace aspect
declare_parameters (ParameterHandler &prm);



/**
* For the current plugin subsystem, write a connection graph of all of the
* plugins we know about, in the format that the
* programs dot and neato understand. This allows for a visualization of
* how all of the plugins that ASPECT knows about are interconnected, and
* connect to other parts of the ASPECT code.
*
* @param output_stream The stream to write the output to.
*/
template <int dim>
void
write_plugin_graph (std::ostream &out);



// --------------------- template function definitions ----------------------------------

template <int dim>
template <class AdditionalOutputType>
AdditionalOutputType *MaterialModelOutputs<dim>::get_additional_output()
Expand Down
13 changes: 13 additions & 0 deletions include/aspect/mesh_refinement/interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,19 @@ namespace aspect
void (*declare_parameters_function) (ParameterHandler &),
Interface<dim> *(*factory_function) ());

/**
* For the current plugin subsystem, write a connection graph of all of the
* plugins we know about, in the format that the
* programs dot and neato understand. This allows for a visualization of
* how all of the plugins that ASPECT knows about are interconnected, and
* connect to other parts of the ASPECT code.
*
* @param output_stream The stream to write the output to.
*/
static
void
write_plugin_graph (std::ostream &out);

/**
* Exception.
*/
Expand Down
14 changes: 14 additions & 0 deletions include/aspect/particle/generator/interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,20 @@ namespace aspect
declare_parameters (ParameterHandler &prm);


/**
* For the current plugin subsystem, write a connection graph of all of the
* plugins we know about, in the format that the
* programs dot and neato understand. This allows for a visualization of
* how all of the plugins that ASPECT knows about are interconnected, and
* connect to other parts of the ASPECT code.
*
* @param output_stream The stream to write the output to.
*/
template <int dim>
void
write_plugin_graph (std::ostream &out);


/**
* Given a class name, a name, and a description for the parameter file
* for a particle generator, register it with the functions that
Expand Down
14 changes: 14 additions & 0 deletions include/aspect/particle/integrator/interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,20 @@ namespace aspect
void
declare_parameters (ParameterHandler &prm);


/**
* For the current plugin subsystem, write a connection graph of all of the
* plugins we know about, in the format that the
* programs dot and neato understand. This allows for a visualization of
* how all of the plugins that ASPECT knows about are interconnected, and
* connect to other parts of the ASPECT code.
*
* @param output_stream The stream to write the output to.
*/
template <int dim>
void
write_plugin_graph (std::ostream &out);

/**
* Given a class name, a name, and a description for the parameter file
* for a particle integrator, register it with the functions that
Expand Down
14 changes: 14 additions & 0 deletions include/aspect/particle/interpolator/interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,20 @@ namespace aspect
void
declare_parameters (ParameterHandler &prm);


/**
* For the current plugin subsystem, write a connection graph of all of the
* plugins we know about, in the format that the
* programs dot and neato understand. This allows for a visualization of
* how all of the plugins that ASPECT knows about are interconnected, and
* connect to other parts of the ASPECT code.
*
* @param output_stream The stream to write the output to.
*/
template <int dim>
void
write_plugin_graph (std::ostream &out);

/**
* Given a class name, a name, and a description for the parameter file
* for a particle interpolator, register it with the functions that
Expand Down
14 changes: 14 additions & 0 deletions include/aspect/particle/output/interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,20 @@ namespace aspect
void
declare_parameters (ParameterHandler &prm);


/**
* For the current plugin subsystem, write a connection graph of all of the
* plugins we know about, in the format that the
* programs dot and neato understand. This allows for a visualization of
* how all of the plugins that ASPECT knows about are interconnected, and
* connect to other parts of the ASPECT code.
*
* @param output_stream The stream to write the output to.
*/
template <int dim>
void
write_plugin_graph (std::ostream &out);

/**
* Given a class name, a name, and a description for the parameter file
* for a particle output, register it with the functions that
Expand Down

0 comments on commit 450c3f5

Please sign in to comment.