NoPreconditioner< Type, DType, LUType > Class Template Reference

Null preconditioner for both symmetric and asymmetric matrices. More...

Inheritance diagram for NoPreconditioner< Type, DType, LUType >:
Collaboration diagram for NoPreconditioner< Type, DType, LUType >:

Public Member Functions

 TypeName ("none")
 Runtime type information. More...
 
 NoPreconditioner (const typename LduMatrix< Type, DType, LUType >::solver &sol, const dictionary &preconditionerDict)
 Construct from matrix components and preconditioner data dictionary. More...
 
 NoPreconditioner (const NoPreconditioner &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~NoPreconditioner ()
 
virtual void read (const dictionary &preconditionerDict)
 Read and reset the preconditioner parameters from the given. More...
 
virtual void precondition (Field< Type > &wA, const Field< Type > &rA) const
 Return wA the preconditioned form of residual rA. More...
 
virtual void preconditionT (Field< Type > &wT, const Field< Type > &rT) const
 Return wT the transpose-matrix preconditioned form of. More...
 
void operator= (const NoPreconditioner &)=delete
 Disallow default bitwise assignment. More...
 
- Public Member Functions inherited from LduMatrix< Type, DType, LUType >::preconditioner
virtual const wordtype () const =0
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, preconditioner, symMatrix,(const solver &sol, const dictionary &preconditionerDict),(sol, preconditionerDict))
 
 declareRunTimeSelectionTable (autoPtr, preconditioner, asymMatrix,(const solver &sol, const dictionary &preconditionerDict),(sol, preconditionerDict))
 
 preconditioner (const solver &sol)
 
virtual ~preconditioner ()
 

Additional Inherited Members

- Static Public Member Functions inherited from LduMatrix< Type, DType, LUType >::preconditioner
static autoPtr< preconditionerNew (const solver &sol, const dictionary &preconditionerDict)
 Return a new preconditioner. More...
 
- Protected Attributes inherited from LduMatrix< Type, DType, LUType >::preconditioner
const solversolver_
 Reference to the base-solver this preconditioner is used with. More...
 

Detailed Description

template<class Type, class DType, class LUType>
class Foam::NoPreconditioner< Type, DType, LUType >

Null preconditioner for both symmetric and asymmetric matrices.

Source files

Definition at line 49 of file NoPreconditioner.H.

Constructor & Destructor Documentation

◆ NoPreconditioner() [1/2]

NoPreconditioner ( const typename LduMatrix< Type, DType, LUType >::solver sol,
const dictionary preconditionerDict 
)

Construct from matrix components and preconditioner data dictionary.

Definition at line 31 of file NoPreconditioner.C.

◆ NoPreconditioner() [2/2]

NoPreconditioner ( const NoPreconditioner< Type, DType, LUType > &  )
delete

Disallow default bitwise copy construction.

◆ ~NoPreconditioner()

virtual ~NoPreconditioner ( )
inlinevirtual

Definition at line 75 of file NoPreconditioner.H.

Member Function Documentation

◆ TypeName()

TypeName ( "none"  )

Runtime type information.

◆ read()

void read ( const dictionary preconditionerDict)
virtual

Read and reset the preconditioner parameters from the given.

dictionary

Reimplemented from LduMatrix< Type, DType, LUType >::preconditioner.

Definition at line 44 of file NoPreconditioner.C.

◆ precondition()

void precondition ( Field< Type > &  wA,
const Field< Type > &  rA 
) const
virtual

Return wA the preconditioned form of residual rA.

Implements LduMatrix< Type, DType, LUType >::preconditioner.

Definition at line 49 of file NoPreconditioner.C.

◆ preconditionT()

virtual void preconditionT ( Field< Type > &  wT,
const Field< Type > &  rT 
) const
inlinevirtual

Return wT the transpose-matrix preconditioned form of.

residual rT.

Reimplemented from LduMatrix< Type, DType, LUType >::preconditioner.

Definition at line 94 of file NoPreconditioner.H.

◆ operator=()

void operator= ( const NoPreconditioner< Type, DType, LUType > &  )
delete

Disallow default bitwise assignment.


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