OGS
PETScVector.cpp File Reference

Detailed Description

Definition of member functions of class PETScVector, which provides an interface to PETSc vector routines.

Note: the return message of PETSc routines is omitted in the source code. If it is really needed, it can be activated by adding a PetscErrorCode type variable before each PETSc function

Author
Wenqing Wang
Date
Nov 2011 - Sep 2013

Definition in file PETScVector.cpp.

#include "PETScVector.h"
#include <algorithm>
#include <cassert>
#include "BaseLib/Algorithm.h"
#include "BaseLib/Error.h"
#include "BaseLib/MPI.h"
Include dependency graph for PETScVector.cpp:

Go to the source code of this file.

Namespaces

namespace  MathLib
 

Macros

#define nEXIT_TEST
 

Functions

void MathLib::finalizeVectorAssembly (PETScVector &vec)
 Function to finalize the vector assembly.
 

Macro Definition Documentation

◆ nEXIT_TEST

#define nEXIT_TEST