Namespaces | Macros | Functions
set_D.cpp File Reference
#include <iostream>
#include <stdexcept>
#include <string>
#include <cmath>
#include "set_D.hpp"
#include "get_D_Coeffs.hpp"
#include "Init_Vec.hpp"
#include "Init_Mat.hpp"
#include "print.hpp"
#include "set_Mat.hpp"
#include "set_Vec.hpp"
#include "map_D.hpp"

Namespaces

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

Macros

#define ANSI_COLOR_CYAN   "\x1b[36m"
 
#define ANSI_COLOR_RESET   "\x1b[0m"
 

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...
 

Macro Definition Documentation

#define ANSI_COLOR_CYAN   "\x1b[36m"
#define ANSI_COLOR_RESET   "\x1b[0m"