Version 2, position dependent E/B, kinetic ions, boris mover, terminator

This commit is contained in:
Jonas Kellerer
2022-10-21 10:09:19 +02:00
parent acc55cf003
commit 83fd2e5d7e
869 changed files with 1033204 additions and 3634436 deletions
+27
View File
@@ -0,0 +1,27 @@
#ifndef FUNCTIONS_H
#define FUNCTIONS_H
#include <functional>
#include <vector>
namespace D1ToD1 {
std::function<double(double)> PiecewiseLinear(std::vector<double> positions,
std::vector<double> values);
std::function<double(double)> Constant(double constant);
std::function<double(double)> Product(
std::vector<std::function<double(double)>> functions);
}; // namespace D1ToD1
namespace D3ToD1 {
std::function<double(double, double, double)> Constant(double value);
std::function<double(double, double, double)> Product(
std::function<double(double)> fi,
std::function<double(double)> fj,
std::function<double(double)> fk);
}; // namespace D3ToD1
#endif /* FUNCTIONS_H */