Octopus
interaction_surrogate_oct_m::interaction_surrogate_t Type Reference

surrogate interaction class to avoid circular dependencies between modules. More...

Detailed Description

surrogate interaction class to avoid circular dependencies between modules.

This class is used only for the purpose of avoiding circular dependencies between the interaction_partner_oct_m and interaction_oct_m modules. Without this surrogate, several methods of interaction_partner_t would have to take an instance of interaction_t as argument, and therefore interaction_partner_oct_m would need to use interaction_oct_m. On the other hand, interaction_t has a pointer to an instance of interaction_partner_t, so interaction_partner_oct_m would need to use interaction_oct_m.

NB: This class should only ever be used when strickly necessary. Currently that is only in the deferred methods of interaction_partner_t that require an interaction.

Definition at line 35 of file interaction_surrogate.F90.

Inheritance diagram for interaction_surrogate_oct_m::interaction_surrogate_t:
Inheritance graph

The documentation for this type was generated from the following file: