preCICE v3.1.2
Loading...
Searching...
No Matches
Classes | Namespaces | Enumerations | Functions
Petsc.hpp File Reference
#include "logging/Logger.hpp"
#include "precice/span.hpp"
#include "utils/Parallel.hpp"
#include <string>
#include <utility>
#include "petscao.h"
#include "petscis.h"
#include "petscksp.h"
#include "petscmat.h"
#include "petscvec.h"
Include dependency graph for Petsc.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  precice::utils::Petsc
 Utility class for managing PETSc operations. More...
 
class  precice::utils::petsc::Vector
 
class  precice::utils::petsc::Matrix
 
class  precice::utils::petsc::KSPSolver
 

Namespaces

namespace  precice
 Main namespace of the precice library.
 
namespace  precice::logging
 contains the logging framework.
 
namespace  precice::utils
 contains precice-related utilities.
 
namespace  precice::utils::petsc
 PETSc related utilities.
 

Enumerations

enum  precice::utils::petsc::VIEWERFORMAT { precice::utils::petsc::ASCII , precice::utils::petsc::BINARY }
 

Functions

void precice::utils::petsc::swap (Vector &lhs, Vector &rhs) noexcept
 
void precice::utils::petsc::destroy (KSP *ksp)
 Destroys an KSP, if ksp is not null and PetscIsInitialized.
 
void precice::utils::petsc::destroy (ISLocalToGlobalMapping *IS)
 Destroys an ISLocalToGlobalMapping, if IS is not null and PetscIsInitialized.
 
void precice::utils::petsc::destroy (AO *ao)
 Destroys an application ordering, if ao is not null and PetscIsInitialized.