NeoN
WIP Prototype of a modern OpenFOAM core
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
NeoN::la::SolverFactory Class Referenceabstract

#include <solver.hpp>

Inheritance diagram for NeoN::la::SolverFactory:
NeoN::RuntimeSelectionFactory< SolverFactory, Parameters< const Executor &, const Dictionary & > >

Public Member Functions

 SolverFactory (const Executor &exec)
 
virtual void solve (const LinearSystem< scalar, localIdx > &, Vector< scalar > &) const =0
 
virtual std::unique_ptr< SolverFactoryclone () const =0
 

Static Public Member Functions

static std::unique_ptr< SolverFactorycreate (const Executor &exec, const Dictionary &dict)
 
static std::string name ()
 

Protected Attributes

const Executor exec_
 

Detailed Description

Definition at line 14 of file solver.hpp.

Constructor & Destructor Documentation

◆ SolverFactory()

NeoN::la::SolverFactory::SolverFactory ( const Executor exec)
inline

Definition at line 28 of file solver.hpp.

Member Function Documentation

◆ clone()

virtual std::unique_ptr< SolverFactory > NeoN::la::SolverFactory::clone ( ) const
pure virtual

◆ create()

static std::unique_ptr< SolverFactory > NeoN::la::SolverFactory::create ( const Executor exec,
const Dictionary dict 
)
inlinestatic

Definition at line 19 of file solver.hpp.

◆ name()

static std::string NeoN::la::SolverFactory::name ( )
inlinestatic

Definition at line 26 of file solver.hpp.

◆ solve()

virtual void NeoN::la::SolverFactory::solve ( const LinearSystem< scalar, localIdx > &  ,
Vector< scalar > &   
) const
pure virtual

Member Data Documentation

◆ exec_

const Executor NeoN::la::SolverFactory::exec_
protected

Definition at line 40 of file solver.hpp.


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