DFT-EFE
 
Loading...
Searching...
No Matches
AtomSevereFunction.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 dftefeAtomSevereFunction_h
27#define dftefeAtomSevereFunction_h
28
30#include <utils/TypeConfig.h>
31#include <utils/Point.h>
32#include <memory>
36namespace dftefe
37{
38 namespace atoms
39 {
40 template <unsigned int dim>
42 {
43 public:
44 AtomSevereFunction(std::shared_ptr<const AtomSphericalDataContainer>
45 atomSphericalDataContainer,
46 const std::vector<std::string> & atomSymbol,
47 const std::vector<utils::Point> &atomCoordinates,
48 const std::string fieldName,
49 const size_type derivativeType); // give arguments here
50 double
51 operator()(const utils::Point &point) const override;
52 std::vector<double>
53 operator()(const std::vector<utils::Point> &points) const override;
54
55 private:
56 std::shared_ptr<const atoms::AtomSphericalDataContainer>
58 std::vector<std::string> d_atomSymbolVec;
59 std::vector<utils::Point> d_atomCoordinatesVec;
60 std::string d_fieldName;
62 };
63
64 } // namespace atoms
65} // namespace dftefe
67#endif // dftefeAtomSevereFunction_h
Definition: AtomSevereFunction.h:42
std::shared_ptr< const atoms::AtomSphericalDataContainer > d_atomSphericalDataContainer
Definition: AtomSevereFunction.h:57
std::vector< std::string > d_atomSymbolVec
Definition: AtomSevereFunction.h:58
std::vector< utils::Point > d_atomCoordinatesVec
Definition: AtomSevereFunction.h:59
double operator()(const utils::Point &point) const override
Definition: AtomSevereFunction.t.cpp:50
std::string d_fieldName
Definition: AtomSevereFunction.h:60
size_type d_derivativeType
Definition: AtomSevereFunction.h:61
Definition: Function.h:10
Definition: PointImpl.h:13
dealii includes
Definition: AtomFieldDataSpherical.cpp:31
unsigned int size_type
Definition: TypeConfig.h:8