Namespaces | Functions
set_D.hpp File Reference
#include <petscksp.h>
#include "class.hpp"

Go to the source code of this file.

Namespaces

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

Functions

PetscInt SPE::set_D (const PetscScalar y[], const PetscScalar yP[], const PetscInt &n, Mat &output, SPE &data, const PetscInt &order=2, const PetscInt &d=2, const PetscBool &periodic=PETSC_FALSE, const PetscBool &staggered=PETSC_FALSE, const PetscBool &reduce_wall_order=PETSC_TRUE, const PetscBool &uniform=PETSC_TRUE)
 set D matrix operator for specified order and derivative More...
 
PetscInt SPE::set_D_fourier (const PetscInt N, const PetscScalar &T, Mat &output, const PetscInt &d=1)
 set D matrix operator for specified derivative using fouier collocated points More...
 
PetscInt SPE::set_D (SPE &data)
 set D matrices and operators for use in OSS and SPE More...