Octopus
interactions_factory_oct_m Module Reference

Data Types

type  interactions_factory_t
 

Functions/Subroutines

class(interaction_t) function, pointer interactions_factory_create (this, type, partner)
 create an interaction of given type with specified partner More...
 
type(interactions_factory_options_t) function, dimension(size(interactions)) interactions_factory_options (namespace, interactions)
 return a list of options to be used when creating the interactions More...
 

Function/Subroutine Documentation

◆ interactions_factory_create()

class(interaction_t) function, pointer interactions_factory_oct_m::interactions_factory_create ( class(interactions_factory_t), intent(in)  this,
integer, intent(in)  type,
class(interaction_partner_t), intent(inout), target  partner 
)
private

create an interaction of given type with specified partner

This functions calls the constructor of the specific interaction type and returns a pointer to this new interaction.

Definition at line 153 of file interactions_factory.F90.

◆ interactions_factory_options()

type(interactions_factory_options_t) function, dimension(size(interactions)) interactions_factory_oct_m::interactions_factory_options ( type(namespace_t), intent(in)  namespace,
integer, dimension(:), intent(in)  interactions 
)
private

return a list of options to be used when creating the interactions

This functions uses the provided namespace to parse the input options regarding the interaction creation.

Parameters
[in]namespacenamespace to use when getting the options.
[in]interactionsinteractions for which the options are to be provided.

Definition at line 194 of file interactions_factory.F90.