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< Interface > | createWithString (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_ |
A creator to be used instead of the constructor.
|
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 >.