tblite
Light-weight tight-binding framework
Loading...
Searching...
No Matches
tblite_context_solver::context_solver Type Referenceabstract

Abstract base class for creating electronic solver instances. More...

Inheritance diagram for tblite_context_solver::context_solver:
tblite_lapack_solver::lapack_solver

Public Member Functions

procedure(new), deferred new (self, solver, ndim)
 Create new instance of electronic solver.
 
procedure(delete), deferred delete (self, solver)
 Delete an electronic solver instance.
 

Detailed Description

Abstract base class for creating electronic solver instances.

Member Function/Subroutine Documentation

◆ delete()

procedure(delete), deferred tblite_context_solver::context_solver::delete ( class(context_solver), intent(inout) self,
class(solver_type), intent(inout), allocatable solver )
pure virtual

Delete an electronic solver instance.

Parameters
[in,out]selfInstance of the solver factory
[in,out]solverElectronic solver instance

◆ new()

procedure(new), deferred tblite_context_solver::context_solver::new ( class(context_solver), intent(inout) self,
class(solver_type), intent(out), allocatable solver,
integer, intent(in) ndim )
pure virtual

Create new instance of electronic solver.

Parameters
[in,out]selfInstance of the solver factory
[out]solverNew electronic solver
[in]ndimDimension of the eigenvalue problem

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