preCICE v3.1.2
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
Petsc.cpp File Reference
#include "Petsc.hpp"
#include "logging/Logger.hpp"
#include <memory>
#include <mpi.h>
#include <numeric>
#include <sstream>
#include <type_traits>
#include <utility>
#include <vector>
#include "logging/LogMacros.hpp"
#include "petsc.h"
#include "petscdrawtypes.h"
#include "petscis.h"
#include "petscksp.h"
#include "petscsystypes.h"
#include "petscvec.h"
#include "petscviewertypes.h"
#include "utils/Parallel.hpp"
#include "utils/assertion.hpp"
#include <random>
#include <string>
#include "petscdraw.h"
#include "petscviewer.h"
Include dependency graph for Petsc.cpp:

Go to the source code of this file.

Classes

struct  precice::utils::petsc::Viewer
 

Namespaces

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

Functions

template<class T >
MPI_Comm precice::utils::petsc::getCommunicator (T obj)
 
template<class T >
void precice::utils::petsc::setName (T obj, const std::string &name)
 
template<class T >
std::string precice::utils::petsc::getName (T obj)
 
void precice::utils::petsc::swap (Vector &lhs, Vector &rhs) noexcept
 
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.