Octopus
system_factory_oct_m Module Reference

Data Types

type  system_factory_t
 factory for classes, derived from the abstract system_cot_m::system_t class More...
 

Functions/Subroutines

recursive class(system_t) function, pointer system_factory_create (this, namespace, type)
 create a new system. More...
 
subroutine parse_subsystems (namespace, names, types)
 

Variables

integer, parameter, public system_electronic = 1
 electronic system (electrons_oct_m::electrons_t) More...
 
integer, parameter, public system_maxwell = 2
 maxwell system, (maxwell_oct_m::maxwell_t) More...
 
integer, parameter, public system_classical_particle = 3
 single classical particle (classical_particle_oct_m::classical_particle_t) More...
 
integer, parameter, public system_charged_particle = 4
 single charged classical particle (charged_particle_oct_m::charged_particle_t) More...
 
integer, parameter, public system_dftbplus = 5
 tight binding system (dftb_oct_m::dftb_t) More...
 
integer, parameter, public system_linear_medium = 6
 linear medium for Maxwell calculations (linear_medium_oct_m::linear_medium_t) More...
 
integer, parameter, public system_matter = 7
 electrons including ions (matter_oct_m::matter_t) More...
 
integer, parameter, public system_dispersive_medium = 8
 dispersive medium for classical electrodynamics (dispersive_medium_oct_m::dispersive_medium_t) More...
 
integer, parameter, public system_multisystem = 9
 container system. (multisystem_basic_oct_m::multisystem_basic_t) More...
 
integer, parameter, public system_ions = 10
 ensemble of charged classical particles (ions_oct_m::ions_t) More...
 
integer, parameter, public system_ensemble = 11
 ensemble container (ensemble_oct_m::ensemble_t) More...
 

Function/Subroutine Documentation

◆ system_factory_create()

recursive class(system_t) function, pointer system_factory_oct_m::system_factory_create ( class(system_factory_t), intent(in)  this,
type(namespace_t), intent(in)  namespace,
integer, intent(in)  type 
)
private

create a new system.

This function calls the constructors of specific systems.

Parameters
[in]thisthe system factory
[in]namespacenamespace of the system
[in]typetype of the system to create
Returns
pointer to newly created system

Definition at line 173 of file system_factory.F90.

◆ parse_subsystems()

subroutine system_factory_oct_m::parse_subsystems ( type(namespace_t), intent(in)  namespace,
character(len=128), dimension(:), intent(out), allocatable  names,
integer, dimension(:), intent(out), allocatable  types 
)
private

Definition at line 274 of file system_factory.F90.

Variable Documentation

◆ system_electronic

integer, parameter, public system_factory_oct_m::system_electronic = 1

electronic system (electrons_oct_m::electrons_t)

Definition at line 143 of file system_factory.F90.

◆ system_maxwell

integer, parameter, public system_factory_oct_m::system_maxwell = 2

maxwell system, (maxwell_oct_m::maxwell_t)

Definition at line 143 of file system_factory.F90.

◆ system_classical_particle

integer, parameter, public system_factory_oct_m::system_classical_particle = 3

single classical particle (classical_particle_oct_m::classical_particle_t)

Definition at line 143 of file system_factory.F90.

◆ system_charged_particle

integer, parameter, public system_factory_oct_m::system_charged_particle = 4

single charged classical particle (charged_particle_oct_m::charged_particle_t)

Definition at line 143 of file system_factory.F90.

◆ system_dftbplus

integer, parameter, public system_factory_oct_m::system_dftbplus = 5

tight binding system (dftb_oct_m::dftb_t)

Definition at line 143 of file system_factory.F90.

◆ system_linear_medium

integer, parameter, public system_factory_oct_m::system_linear_medium = 6

linear medium for Maxwell calculations (linear_medium_oct_m::linear_medium_t)

Definition at line 143 of file system_factory.F90.

◆ system_matter

integer, parameter, public system_factory_oct_m::system_matter = 7

electrons including ions (matter_oct_m::matter_t)

Definition at line 143 of file system_factory.F90.

◆ system_dispersive_medium

integer, parameter, public system_factory_oct_m::system_dispersive_medium = 8

dispersive medium for classical electrodynamics (dispersive_medium_oct_m::dispersive_medium_t)

Definition at line 143 of file system_factory.F90.

◆ system_multisystem

integer, parameter, public system_factory_oct_m::system_multisystem = 9

container system. (multisystem_basic_oct_m::multisystem_basic_t)

Definition at line 143 of file system_factory.F90.

◆ system_ions

integer, parameter, public system_factory_oct_m::system_ions = 10

ensemble of charged classical particles (ions_oct_m::ions_t)

Definition at line 143 of file system_factory.F90.

◆ system_ensemble

integer, parameter, public system_factory_oct_m::system_ensemble = 11

ensemble container (ensemble_oct_m::ensemble_t)

Definition at line 143 of file system_factory.F90.