1 #ifndef SRC_TRANSPORT_STREAM_TRANSPORT_HPP_
2 #define SRC_TRANSPORT_STREAM_TRANSPORT_HPP_
5 #include <configure.hpp>
8 #include <deal.II/lac/solver_gmres.h>
9 #include <deal.II/lac/sparse_matrix.h>
10 #include <deal.II/lac/vector.h>
35 return (i + GhostZoneSize) *
colsh_ + (
j + GhostZoneSize);
66 dealii::SparseMatrix<Real>
mass_;
dealii::Vector< Real > dqvec_
void evolve(AthenaArray< Real > *q, Real dt, Real theta=1.)
void setAdvectionMatrix(AthenaArray< Real > const &streamf, Real dx)
dealii::SparseMatrix< Real > bneumann_
dealii::SparsityPattern skk_
dealii::Vector< Real > rhs_
dealii::SolverControl control_
void setDiffusionMatrix(Real kdiff, Real dx)
dealii::Vector< Real > qvec_
dealii::SparseMatrix< Real > KmJ_
dealii::SparseMatrix< Real > mass_
dealii::SparseMatrix< Real > KmJmN_
void setDiffusionMatrix(AthenaArray< Real > const &mkdiff)
dealii::SolverGMRES solver_
dealii::SparseMatrix< Real > diffusion_
int64_t globalh(int i, int j) const
dealii::SparsityPattern skh_
int64_t global(int i, int j) const
void assembleSystem(Real dt, Real theta)
StreamTransport(int rows, int cols, bool fourth_order=true)
dealii::SparsityPattern shk_
dealii::SparseMatrix< Real > advection_