DFT-EFE
 
Loading...
Searching...
No Matches
OverlappingAtomIds.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 dftefeOverlappingAtomIds_h
27#define dftefeOverlappingAtomIds_h
28
29#include <utils/TypeConfig.h>
30#include <map>
31#include <string>
33#include <atoms/SphericalData.h>
34namespace dftefe
35{
36 namespace atoms
37 {
42 template <unsigned int dim>
44 {
45 public:
60 OverlappingAtomIds(const std::vector<std::string, utils::Point>
61 & mapAtomSymbolToCoordinates,
62 const std::string fieldName,
63 const utils::Point &minbound,
64 const utils::Point &maxbound);
65
70
74 std::vector<size_type>
76
77 private:
78 std::map<std::string, utils::Point> d_mapAtomSymbolToCoordinates;
79 std::string d_fieldName;
82 }; // end of class OverlappingAtomIds
83 } // end of namespace atoms
84} // end of namespace dftefe
86#endif // dftefeOverlappingAtomIds_h
Class to get the Ids of the Atoms overlapping a particular Processor for a particular field....
Definition: OverlappingAtomIds.h:44
utils::Point d_minbound
Definition: OverlappingAtomIds.h:80
~OverlappingAtomIds()=default
Destructor.
utils::Point d_maxbound
Definition: OverlappingAtomIds.h:81
std::vector< size_type > getOverlappingAtomIdsWithinBox() const
Function to return the vector.
std::string d_fieldName
Definition: OverlappingAtomIds.h:79
std::map< std::string, utils::Point > d_mapAtomSymbolToCoordinates
Definition: OverlappingAtomIds.h:78
Definition: PointImpl.h:13
dealii includes
Definition: AtomFieldDataSpherical.cpp:31