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 "ddc_helper.hpp"
8#include "geometry.hpp"
9#include "ichargedensitycalculator.hpp"
10#include "quadrature.hpp"
11
21{
22private:
24
25public:
31 explicit ChargeDensityCalculator(DConstFieldVxVy coeffs);
32
38 void operator()(DFieldXY rho, DConstFieldSpXYVxVy allfdistribu) const final;
39};
A class which computes charges density with Kokkos.
Definition chargedensitycalculator.hpp:20
ChargeDensityCalculator(DConstFieldVxVy coeffs)
Create a ChargeDensityCalculator object.
void operator()(DFieldXY rho, DConstFieldSpXYVxVy allfdistribu) const final
Computes the charge density rho from the distribution function.
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