Namespaces | Functions
get_D_Coeffs.hpp File Reference
#include <petscksp.h>

Go to the source code of this file.

Namespaces

 SPE
 Namespace containing all functions and data classes for this solver.
 

Functions

PetscInt SPE::get_D_Coeffs (const PetscScalar s[], const PetscInt &n, Vec &output, const PetscInt &d=2)
 Solve arbitrary stencil points s of length N with order of derivatives d<N can be obtained from equation on MIT website http://web.media.mit.edu/~crtaylor/calculator.html where the accuracy is determined as the usual form O(h^(N-d)) More...