|
| | DTROperation () |
| | Default constructor.
|
| |
| void | clear () override |
| | Clear the operation.
|
| |
| void | evaluate_coefficients (const problem_data::DiffusionCoefficient< dim > &diffusion_function, const problem_data::TransportCoefficient< dim > &transport_function, const problem_data::ReactionCoefficient< dim > &reaction_function, const problem_data::ForcingTerm< dim > &forcing_term_function) |
| | Evaluate the coefficients of the DTR problem.
|
| |
| virtual void | compute_diagonal () override |
| | Compute the diagonal entries of the matrix.
|
| |
| const Table< 2, VectorizedArray< number > > & | get_diffusion_coefficient () const |
| | Get the diffusion coefficient table.
|
| |
| const Table< 2, Tensor< 1, dim, VectorizedArray< number > > > & | get_transport_coefficient () const |
| | Get the transport coefficient table.
|
| |
| const Table< 2, VectorizedArray< number > > & | get_reaction_coefficient () const |
| | Get the reaction coefficient table.
|
| |
| const Table< 2, VectorizedArray< number > > & | get_forcing_term_coefficient () const |
| | Get the forcing term coefficient table.
|
| |
| | DTROperation () |
| |
| void | clear () override |
| |
| void | evaluate_coefficients (const DiffusionCoefficient< dim > &diffusion_function, const TransportCoefficient< dim > &transport_function, const ReactionCoefficient< dim > &reaction_function, const ForcingTerm< dim > &forcing_term_function) |
| |
| virtual void | compute_diagonal () override |
| |
| const Table< 2, VectorizedArray< number > > & | get_diffusion_coefficient () const |
| |
| const Table< 2, Tensor< 1, dim, VectorizedArray< number > > > & | get_transport_coefficient () const |
| |
| const Table< 2, VectorizedArray< number > > & | get_reaction_coefficient () const |
| |
| const Table< 2, VectorizedArray< number > > & | get_forcing_term_coefficient () const |
| |
template<int dim, int fe_degree, typename number>
class DTR_mf::DTROperation< dim, fe_degree, number >
The DTROperation class implements the DTR linear operation needed at each iteration of the linear solver.
This class is derived from the MatrixFreeOperators::Base class provided by deal.II. It is responsible for evaluating the coefficients, computing the diagonal, and applying the linear operation required by the Conjugate Gradient solver for the DTR problem.
- Template Parameters
-
| dim | The dimension of the problem. |
| fe_degree | The degree of the finite element used. |
| number | The number type used for the computations. |