epot_matrixsolver.hpp
Go to the documentation of this file.
Vector * _d_vec
Derivative vector for nonlinear solution.
Definition: epot_matrixsolver.hpp:110
void preprocess(MeshScalarField &epot, const MeshScalarField &scharge)
Preprocess.
Definition: epot_matrixsolver.cpp:753
void postprocess(void)
Postprocess.
Definition: epot_matrixsolver.cpp:832
Vector * _fd_vec
Finite Difference vector.
Definition: epot_matrixsolver.hpp:109
Node2DoF _n2d
Nodes to degrees of freedom map.
Definition: epot_matrixsolver.hpp:107
Class for constructing the linear/nonlinear problem for the solver.
Definition: epot_solver.hpp:207
Compressed row sparse matrix algebra.
Poisson equation problem for solving electric potential.
const Vector * _sol
Current solution vector.
Definition: epot_matrixsolver.hpp:111
Class nodes to degrees of freedom mapping.
Definition: epot_matrixsolver.hpp:75
void set_solution(MeshScalarField &epot, const Vector &X) const
Load electric potential from solution vector.
Definition: epot_matrixsolver.cpp:740
void get_vecmat(const CRowMatrix **A, const Vector **B)
Return const pointers to the matrix A and vector B of the linear problem.
Definition: epot_matrixsolver.cpp:839
virtual void debug_print(std::ostream &os) const
Print debugging information to os.
Definition: epot_matrixsolver.cpp:883
void get_resjac(const CRowMatrix **J, const Vector **R, const Vector &X)
Return const pointers to jacobian matrix and residual vector of the problem to J and R at X...
Definition: epot_matrixsolver.cpp:847
Parent class for Matrix-based solvers for Electric potential problem.
Definition: epot_matrixsolver.hpp:62
N-dimensional vector.
CRowMatrix * _fd_mat
Finite Difference matrix.
Definition: epot_matrixsolver.hpp:108
virtual void save(std::ostream &s) const
Saves problem data to stream.
Definition: epot_matrixsolver.cpp:900
void set_initial_guess(const MeshScalarField &epot, Vector &X) const
Load initial solution vector from electric potential.
Definition: epot_matrixsolver.cpp:727
bool linear(void) const
Return true if problem is linear.
Definition: epot_matrixsolver.cpp:874
void debug_print(std::ostream &os) const
Print debugging information to os.
Definition: epot_matrixsolver.cpp:88
void reset_matrix(void)
Reset matrix representation.
Definition: epot_matrixsolver.cpp:713
EpotMatrixSolver(Geometry &geom)
Constructor.
Definition: epot_matrixsolver.cpp:114
virtual ~EpotMatrixSolver()
Destructor.
Definition: epot_matrixsolver.cpp:128