Classes | |
| struct | AssembledLinearSystem |
| struct | StrongFormulationSolverDiagnostics |
| struct | StrongFormulationSolverSettings |
Enumerations | |
| enum class | Criterion { PotentialTemporalDerivative , MomentsTemporalDerivative , PotentialAndMomentsTemporalDerivative } |
| enum class | PreconditionerType { Identity , Jacobi , SpdIsai , SymmetricGaussSeidel , Ssor , ChebyshevJacobi , IrJacobi , GeneralIsai , Multigrid } |
Functions | |
| constexpr std::string_view | preconditioner_name (PreconditionerType preconditioner) |
| PreconditionerType | parse_preconditioner (std::string_view name) |
| template<class ExecSpace , class RHSView , class SolutionView > | |
| std::vector< StrongFormulationSolverDiagnostics > | minimize_strong_formulation_residual (ExecSpace const &exec, std::shared_ptr< gko::matrix::Csr< double, gko::int32 > > const &matrix, std::vector< RHSView > const &rhs, std::vector< SolutionView > const &solutions, StrongFormulationSolverSettings settings={}) |
| Solve independent loads with one native sparse matrix and preconditioner. | |
| template<class ExecSpace , class OperatorModel , class RHSViewType , class SolutionViewType > | |
| StrongFormulationSolverDiagnostics | minimize_strong_formulation_residual (ExecSpace const &exec_space, OperatorModel const &operator_model, RHSViewType const &rhs, SolutionViewType const &solution, StrongFormulationSolverSettings settings={}) |
| struct similie::solvers::AssembledLinearSystem |
Definition at line 14 of file stencil_assembly.hpp.

| Class Members | ||
|---|---|---|
| shared_ptr< Csr< double, int32 > > | matrix | |
| View< double ** > | rhs | |
| View< double * > | row_scales | |
| struct similie::solvers::StrongFormulationSolverDiagnostics |
Definition at line 148 of file minimize_strong_formulation_residual.hpp.

| struct similie::solvers::StrongFormulationSolverSettings |
Definition at line 128 of file minimize_strong_formulation_residual.hpp.

| Class Members | ||
|---|---|---|
| unsigned int | max_iterations = 2000U | |
| double | relative_tolerance = 1.0e-12 | |
| unsigned int | jacobi_max_block_size = 1U | |
| bool | use_matrix_free = true | |
| bool | use_initial_guess = false | |
| shared_ptr< LinOp const > | generated_preconditioner | |
| Criterion | criterion = Criterion::MomentsTemporalDerivative | |
| PreconditionerType | preconditioner = PreconditionerType::Jacobi | |
| double | vector_potential_gauge_penalty = 20.0 | |
| double | sor_relaxation_factor = 1.2 | |
| unsigned int | chebyshev_iterations = 8U | |
| double | chebyshev_lower_bound = 0.05 | |
| double | chebyshev_upper_bound = 1.5 | |
| unsigned int | ir_iterations = 8U | |
| double | ir_relaxation_factor = 1.0 | |
|
strong |
| Enumerator | |
|---|---|
| PotentialTemporalDerivative | |
| MomentsTemporalDerivative | |
| PotentialAndMomentsTemporalDerivative | |
Definition at line 51 of file minimize_strong_formulation_residual.hpp.
|
strong |
| Enumerator | |
|---|---|
| Identity | |
| Jacobi | |
| SpdIsai | |
| SymmetricGaussSeidel | |
| Ssor | |
| ChebyshevJacobi | |
| IrJacobi | |
| GeneralIsai | |
| Multigrid | |
Definition at line 57 of file minimize_strong_formulation_residual.hpp.
|
inlineconstexpr |
Definition at line 69 of file minimize_strong_formulation_residual.hpp.
|
inline |
Definition at line 94 of file minimize_strong_formulation_residual.hpp.
| std::vector< StrongFormulationSolverDiagnostics > similie::solvers::minimize_strong_formulation_residual | ( | ExecSpace const & | exec, |
| std::shared_ptr< gko::matrix::Csr< double, gko::int32 > > const & | matrix, | ||
| std::vector< RHSView > const & | rhs, | ||
| std::vector< SolutionView > const & | solutions, | ||
| StrongFormulationSolverSettings | settings = {} ) |
Solve independent loads with one native sparse matrix and preconditioner.
Definition at line 1440 of file minimize_strong_formulation_residual.hpp.
| StrongFormulationSolverDiagnostics similie::solvers::minimize_strong_formulation_residual | ( | ExecSpace const & | exec_space, |
| OperatorModel const & | operator_model, | ||
| RHSViewType const & | rhs, | ||
| SolutionViewType const & | solution, | ||
| StrongFormulationSolverSettings | settings = {} ) |
Definition at line 1482 of file minimize_strong_formulation_residual.hpp.