AMDiS 2.11-git
The Adaptive Multi-Dimensional Simulation Toolbox
 
Loading...
Searching...
No Matches
BlockDiagonalPreconditioner< M, V, Basis >::Creator Struct Reference

A creator to be used instead of the constructor. More...

#include <BlockDiagonalPreconditioner.hpp>

Inherits CreatorInterfaceName< PreconBase >.

Public Types

using Interface = PreconBase
 

Public Member Functions

 Creator (std::shared_ptr< Basis > basis)
 
std::unique_ptr< InterfacecreateWithString (std::string prefix) override
 Must be implemented by sub classes of CreatorInterfaceName. Creates a new instance of the sub class of BaseClass by passing a string to the constructor.
 
- Public Member Functions inherited from CreatorInterfaceName< PreconBase >
std::unique_ptr< PreconBase > create () final
 Must be implemented by sub classes of CreatorInterface. Creates a new instance of the sub class of BaseClass.
 

Public Attributes

std::shared_ptr< Basis > basis_
 

Detailed Description

template<class M, class V, class Basis>
struct AMDiS::BlockDiagonalPreconditioner< M, V, Basis >::Creator

A creator to be used instead of the constructor.

Member Function Documentation

◆ createWithString()

template<class M , class V , class Basis >
std::unique_ptr< Interface > createWithString ( std::string  )
inlineoverridevirtual

Must be implemented by sub classes of CreatorInterfaceName. Creates a new instance of the sub class of BaseClass by passing a string to the constructor.

Implements CreatorInterfaceName< PreconBase >.


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