Abstract class to encapsulate the action of a discrete operator on vectors, matrices, etc. More...
#include <IdentityOperatorContext.h>
Public Types | |
using | ValueTypeUnion = blasLapack::scalar_type< ValueTypeOperator, ValueTypeOperand > |
Public Types inherited from dftefe::linearAlgebra::OperatorContext< ValueTypeOperator, ValueTypeOperand, memorySpace > | |
using | ValueTypeUnion = blasLapack::scalar_type< ValueTypeOperator, ValueTypeOperand > |
Public Member Functions | |
IdentityOperatorContext () | |
Default Constructor. More... | |
~IdentityOperatorContext ()=default | |
Default Destructor. More... | |
void | apply (MultiVector< ValueTypeOperand, memorySpace > &X, MultiVector< ValueTypeUnion, memorySpace > &Y) const override |
Public Member Functions inherited from dftefe::linearAlgebra::OperatorContext< ValueTypeOperator, ValueTypeOperand, memorySpace > | |
~OperatorContext ()=default | |
Default Destructor. More... | |
virtual void | apply (MultiVector< ValueTypeOperand, memorySpace > &X, MultiVector< ValueTypeUnion, memorySpace > &Y) const =0 |
Abstract class to encapsulate the action of a discrete operator on vectors, matrices, etc.
ValueTypeOperator | The datatype (float, double, complex<double>, etc.) for the underlying operator |
ValueTypeOperand | The datatype (float, double, complex<double>, etc.) of the vector, matrices, etc. on which the operator will act |
memorySpace | The meory sapce (HOST, DEVICE, HOST_PINNES, etc.) in which the data of the operator and its operands reside |
using dftefe::linearAlgebra::IdentityOperatorContext< ValueTypeOperator, ValueTypeOperand, memorySpace >::ValueTypeUnion = blasLapack::scalar_type<ValueTypeOperator, ValueTypeOperand> |
dftefe::linearAlgebra::IdentityOperatorContext< ValueTypeOperator, ValueTypeOperand, memorySpace >::IdentityOperatorContext |
Default Constructor.
|
default |
Default Destructor.
|
overridevirtual |