Rodin::PETSc namespace

PETSc integration module for Rodin.

The PETSc module provides integration with the Portable, Extensible Toolkit for Scientific Computation (PETSc), enabling the use of distributed and parallel linear algebra objects, Krylov solvers, and nonlinear solver frameworks within Rodin's finite element pipeline.

Submodules

  • Math — PETSc vector, matrix, and linear system wrappers
  • Solver — KSP, SNES, CG, and GMRES solver aliases
  • AssemblyAssembly strategies for PETSc objects (sequential, MPI, OpenMP)
  • Variational — Trial/test functions, forms, grid functions, and problems backed by PETSc

Namespaces

namespace Assembly
PETSc-specific assembly strategies.

Classes

template<class Handle>
class Object
RAII base class for wrappers around PETSc opaque handles.

Typedefs

using Scalar = PetscScalar
Scalar type used by PETSc vectors and matrices.
using Integer = PetscInt
Integer index type used by PETSc row/column indices.
using Real = PetscReal
Real-valued floating-point type (tolerances, norms, etc.).
using Complex = PetscComplex
Complex scalar type (available when PETSc is built with complex support).

Typedef documentation

using Rodin::PETSc::Scalar = PetscScalar

Scalar type used by PETSc vectors and matrices.

using Rodin::PETSc::Integer = PetscInt

Integer index type used by PETSc row/column indices.

using Rodin::PETSc::Real = PetscReal

Real-valued floating-point type (tolerances, norms, etc.).

using Rodin::PETSc::Complex = PetscComplex

Complex scalar type (available when PETSc is built with complex support).