mirror of
https://codeberg.org/vcbferreira/NuFI_deal.ii
synced 2026-08-12 22:43:17 +02:00
27 lines
968 B
C++
27 lines
968 B
C++
#ifndef SAVE_RESULTS_H
|
|
#define SAVE_RESULTS_H
|
|
|
|
#include "nufi/nufi_solver.h"
|
|
#include "nufi/poisson_problem.h"
|
|
#include <deal.II/lac/vector.h>
|
|
#include <string>
|
|
|
|
void save_f(const NuFISolver &solver, unsigned int n,
|
|
const PoissonProblem<1> &poisson,
|
|
const std::vector<Vector<double>> &phi_history, unsigned int Nx_out,
|
|
unsigned int Nv_out, const std::string &filename);
|
|
|
|
void save_rho(const NuFISolver &solver, unsigned int n,
|
|
const PoissonProblem<1> &poisson,
|
|
const std::vector<Vector<double>> &phi_history,
|
|
unsigned int Nx_out, const std::string &filename);
|
|
|
|
void save_Efield(unsigned int n, const PoissonProblem<1> &poisson,
|
|
const std::vector<Vector<double>> &phi_history,
|
|
unsigned int Nx_out, const std::string &filename);
|
|
|
|
void save_space_vector(const std::vector<double> &vals,
|
|
const std::string &filename, size_t it);
|
|
|
|
#endif
|