26 lines
752 B
C++
26 lines
752 B
C++
#ifndef IO_H
|
|
#define IO_H
|
|
|
|
#include "Parameter.h"
|
|
#include "Fields.h"
|
|
#include "Boundary.h"
|
|
#include "PoissonSolver.h"
|
|
|
|
namespace IO {
|
|
Fields::Density denstiy(const Parameter& parameter);
|
|
Boundary rearwallBoundary(const Parameter& parameter);
|
|
Boundary tubewallBoundary(const Parameter& parameter);
|
|
Boundary dpsBoundary(const Parameter& parameter);
|
|
|
|
double length(const Parameter& parameter);
|
|
double radius(const Parameter& parameter);
|
|
|
|
PoissonSolver solver(const Parameter& parameter);
|
|
|
|
void save(const Fields::Potential& potential, const Parameter& parameter);
|
|
void save(const Fields::Density& density, const Parameter& parameter);
|
|
void save(const Fields::ElectricField& density, const Parameter& parameter);
|
|
};
|
|
|
|
#endif /* IO_H */
|