Gyselalib++
 
Loading...
Searching...
No Matches
chargedensitycalculator.hpp
1// SPDX-License-Identifier: MIT
2
3#pragma once
4
5#include <ddc/ddc.hpp>
6
7#include "geometry.hpp"
8#include "ichargedensitycalculator.hpp"
9#include "quadrature.hpp"
10
20{
21private:
23
24public:
30 explicit ChargeDensityCalculator(DConstFieldVx coeffs);
31
39 DFieldX operator()(DFieldX rho, DConstFieldSpXVx allfdistribu) const final;
40};
A class which computes charges density with Kokkos.
Definition chargedensitycalculator.hpp:20
DFieldX operator()(DFieldX rho, DConstFieldSpXVx allfdistribu) const final
Computes the charge density rho from the distribution function.
ChargeDensityCalculator(DConstFieldVx coeffs)
Create a ChargeDensityCalculator object.
A class which calculates the charge density.
Definition ichargedensitycalculator.hpp:16
A class providing an operator for integrating functions defined on a discrete index range.
Definition quadrature.hpp:29