DFT-EFE
 
Loading...
Searching...
No Matches
VectorAttributes.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 Bikash Kanungo
24 */
25
26#ifndef dftefeVectorAttributes_h
27#define dftefeVectorAttributes_h
28
29#include <utils/TypeConfig.h>
30
31namespace dftefe
32{
33 namespace linearAlgebra
34 {
36 {
37 public:
38 enum class Distribution
39 {
40 SERIAL,
42 };
43
44 VectorAttributes(const Distribution distribution);
45 VectorAttributes() = default;
46 ~VectorAttributes() = default;
47
48 bool
49 areAttributesCompatible(const VectorAttributes &vecAttributes) const;
50
51 bool
52 areDistributionCompatible(const VectorAttributes &vecAttributes) const;
53
55 getDistribution() const;
56
57 private:
59 };
60 } // end of namespace linearAlgebra
61} // end of namespace dftefe
62#endif
Definition: VectorAttributes.h:36
bool areDistributionCompatible(const VectorAttributes &vecAttributes) const
Definition: VectorAttributes.cpp:44
Distribution d_distribution
Definition: VectorAttributes.h:58
Distribution
Definition: VectorAttributes.h:39
Distribution getDistribution() const
Definition: VectorAttributes.cpp:51
bool areAttributesCompatible(const VectorAttributes &vecAttributes) const
Definition: VectorAttributes.cpp:37
dealii includes
Definition: AtomFieldDataSpherical.cpp:31