DFT-EFE
 
Loading...
Searching...
No Matches
IdentityOperatorContext.h
Go to the documentation of this file.
1/******************************************************************************
2 * Copyright (c) 2021. *
3 * The Regents of the University of Michigan and DFT-EFE developers. *
4 * *
5 * This file is part of the DFT-EFE code. *
6 * *
7 * DFT-EFE is free software: you can redistribute it and/or modify *
8 * it under the terms of the Lesser GNU General Public License as *
9 * published by the Free Software Foundation, either version 3 of *
10 * the License, or (at your option) any later version. *
11 * *
12 * DFT-EFE is distributed in the hope that it will be useful, but *
13 * WITHOUT ANY WARRANTY; without even the implied warranty *
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
15 * See the Lesser GNU General Public License for more details. *
16 * *
17 * You should have received a copy of the GNU Lesser General Public *
18 * License at the top level of DFT-EFE distribution. If not, see *
19 * <https://www.gnu.org/licenses/>. *
20 ******************************************************************************/
21
22/*
23 * @author Avirup Sircar
24 */
25
26#ifndef dftefeIdentityOperatorContext_h
27#define dftefeIdentityOperatorContext_h
28
34namespace dftefe
35{
36 namespace linearAlgebra
37 {
48 template <typename ValueTypeOperator,
49 typename ValueTypeOperand,
50 utils::MemorySpace memorySpace>
52 : public OperatorContext<ValueTypeOperator, ValueTypeOperand, memorySpace>
53 {
54 //
55 // typedefs
56 //
57 public:
58 //
59 // alias to define the union of ValueTypeOperator and ValueTypeOperand
60 // (e.g., the union of double and complex<double> is complex<double>)
61 //
64
65 public:
70
76
77 void
80 };
81 } // end of namespace linearAlgebra
82} // end of namespace dftefe
84#endif // dftefeIdentityOperatorContext_h
Abstract class to encapsulate the action of a discrete operator on vectors, matrices,...
Definition: IdentityOperatorContext.h:53
IdentityOperatorContext()
Default Constructor.
Definition: IdentityOperatorContext.t.cpp:37
blasLapack::scalar_type< ValueTypeOperator, ValueTypeOperand > ValueTypeUnion
Definition: IdentityOperatorContext.h:63
void apply(MultiVector< ValueTypeOperand, memorySpace > &X, MultiVector< ValueTypeUnion, memorySpace > &Y) const override
Definition: IdentityOperatorContext.t.cpp:45
~IdentityOperatorContext()=default
Default Destructor.
An class template to encapsulate a MultiVector. A MultiVector is a collection of vectors belonging t...
Definition: MultiVector.h:134
Abstract class to encapsulate the action of a discrete operator on vectors, matrices,...
Definition: OperatorContext.h:51
blas::scalar_type< ValueType1, ValueType2 > scalar_type
Definition: BlasLapackTypedef.h:70
MemorySpace
Definition: MemorySpaceType.h:37
dealii includes
Definition: AtomFieldDataSpherical.cpp:31