Alien  1.3.0
User documentation
Loading...
Searching...
No Matches
Alien::ISolverFabric Class Referenceabstract

Solver Fabric. More...

#include <core/alien/core/backend/ISolverFabric.h>

Public Types

typedef boost::program_options::options_description CmdLineOptionDescType
typedef boost::program_options::variables_map CmdLineOptionType
typedef boost::property_tree::ptree JsonOptionType

Public Member Functions

virtual ~ISolverFabric ()
 Free resources.
virtual BackEndId backend () const =0
 Get the source backend id.
virtual void add_options (CmdLineOptionDescType &cmdline_options) const =0
virtual Alien::ILinearSolvercreate (CmdLineOptionType const &options, Alien::IMessagePassingMng *pm) const =0
 Convert a vector from one format to another.
virtual Alien::ILinearSolvercreate (JsonOptionType const &options, Alien::IMessagePassingMng *pm) const =0
Public Member Functions inherited from Alien::ObjectWithTrace
template<typename T>
void alien_info (T &&t) const
template<typename T>
void alien_debug (T &&t) const
template<typename T>
void alien_warning (T &&t) const
template<typename T>
void alien_fatal (T &&t) const
ITraceMng * traceMng () const

Static Protected Member Functions

template<typename T>
static T get (boost::program_options::variables_map const &options, std::string const &key)
template<typename T>
static T get (boost::property_tree::ptree const &options, std::string const &key)

Additional Inherited Members

Protected Member Functions inherited from Alien::ObjectWithTrace
TraceMessage cout () const

Detailed Description

Solver Fabric.

Definition at line 57 of file ISolverFabric.h.

Member Typedef Documentation

◆ CmdLineOptionDescType

typedef boost::program_options::options_description Alien::ISolverFabric::CmdLineOptionDescType

Definition at line 60 of file ISolverFabric.h.

◆ CmdLineOptionType

typedef boost::program_options::variables_map Alien::ISolverFabric::CmdLineOptionType

Definition at line 61 of file ISolverFabric.h.

◆ JsonOptionType

typedef boost::property_tree::ptree Alien::ISolverFabric::JsonOptionType

Definition at line 63 of file ISolverFabric.h.

Constructor & Destructor Documentation

◆ ~ISolverFabric()

virtual Alien::ISolverFabric::~ISolverFabric ( )
inlinevirtual

Free resources.

Definition at line 65 of file ISolverFabric.h.

Member Function Documentation

◆ backend()

virtual BackEndId Alien::ISolverFabric::backend ( ) const
pure virtual

Get the source backend id.

Returns
The source backend id

Referenced by Alien::SolverFabricRegisterer::getSolverFabric().

◆ create()

virtual Alien::ILinearSolver * Alien::ISolverFabric::create ( CmdLineOptionType const & options,
Alien::IMessagePassingMng * pm ) const
pure virtual

Convert a vector from one format to another.

Parameters
[in]sourceImplImplementation of the source vector
[in,out]targetImplImplementation of the target vector

◆ get() [1/2]

template<typename T>
T Alien::ISolverFabric::get ( boost::program_options::variables_map const & options,
std::string const & key )
inlinestaticprotected

Definition at line 89 of file ISolverFabric.h.

◆ get() [2/2]

template<typename T>
T Alien::ISolverFabric::get ( boost::property_tree::ptree const & options,
std::string const & key )
inlinestaticprotected

Definition at line 96 of file ISolverFabric.h.


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