SPI
SLEPc PETSc Interface is used for rapid development and intuitive matrix operations similar to MatLab or NumPy style of operations
Public Member Functions | Data Fields
SPI::SPIbaseflow Struct Reference

#include <SPIbaseflow.hpp>

Public Member Functions

 SPIbaseflow (std::string _name="baseflow")
 constructor with no arguments More...
 
 SPIbaseflow (SPIVec U, SPIVec V, SPIVec Ux, SPIVec Uxx, SPIVec Uy, SPIVec Uxy, SPIVec Vx, SPIVec Vxx, SPIVec Vy, SPIVec W, SPIVec Wx, SPIVec Wy, SPIVec Wxy, SPIVec P, std::string _name="baseflow")
 constructor with baseflow arguments More...
 
PetscInt print ()
 print baseflow values More...
 
 ~SPIbaseflow ()
 destructor of saved SPIVec of baseflow More...
 

Data Fields

std::string name
 baseflow name More...
 
PetscErrorCode ierr
 ierr for various routines and operations More...
 
PetscBool flag_init =PETSC_FALSE
 flag if it has been initialized More...
 
SPIVec U
 
SPIVec V
 
SPIVec Ux
 
SPIVec Uxx
 
SPIVec Uy
 
SPIVec Uxy
 
SPIVec Vx
 
SPIVec Vxx
 
SPIVec Vy
 
SPIVec W
 
SPIVec Wx
 
SPIVec Wy
 
SPIVec Wxy
 
SPIVec P
 

Detailed Description

Definition at line 17 of file SPIbaseflow.hpp.

Constructor & Destructor Documentation

◆ SPIbaseflow() [1/2]

SPI::SPIbaseflow::SPIbaseflow ( std::string  _name = "baseflow")

constructor with no arguments

Parameters
[in]_name[in] baseflow name (default baseflow)

Definition at line 6 of file SPIbaseflow.cpp.

◆ SPIbaseflow() [2/2]

SPI::SPIbaseflow::SPIbaseflow ( SPIVec  U,
SPIVec  V,
SPIVec  Ux,
SPIVec  Uxx,
SPIVec  Uy,
SPIVec  Uxy,
SPIVec  Vx,
SPIVec  Vxx,
SPIVec  Vy,
SPIVec  W,
SPIVec  Wx,
SPIVec  Wy,
SPIVec  Wxy,
SPIVec  P,
std::string  _name = "baseflow" 
)

constructor with baseflow arguments

Parameters
[in]U[in] streamwise baseflow
[in]V[in] wall-normal baseflow
[in]Ux[in] streamwise baseflow derivative with respect to streamwise
[in]Uxx[in] streamwise baseflow second derivative with respect to streamwise
[in]Uy[in] streamwise baseflow derivative with respect to wall-normal
[in]Uxy[in] streamwise baseflow mixed derivative
[in]Vx[in] wall-normal baseflow derivative with respect to streamwise
[in]Vxx[in] wall-normal baseflow second derivative with respect to streamwise
[in]Vy[in] wall-normal baseflow derivative with respect to wall-normal
[in]W[in] spanwise baseflow
[in]Wx[in] spanwise baseflow derivative with respect to streamwise
[in]Wy[in] spanwise baseflow derivative with respect to wall-normal
[in]Wxy[in] spanwise baseflow mixed derivative
[in]P[in] pressure baseflow
[in]_name[in] baseflow name (default baseflow)

Definition at line 10 of file SPIbaseflow.cpp.

◆ ~SPIbaseflow()

SPI::SPIbaseflow::~SPIbaseflow ( )

destructor of saved SPIVec of baseflow

Definition at line 71 of file SPIbaseflow.cpp.

Member Function Documentation

◆ print()

PetscInt SPI::SPIbaseflow::print ( )

print baseflow values

Definition at line 45 of file SPIbaseflow.cpp.

Field Documentation

◆ flag_init

PetscBool SPI::SPIbaseflow::flag_init =PETSC_FALSE

flag if it has been initialized

Definition at line 37 of file SPIbaseflow.hpp.

◆ ierr

PetscErrorCode SPI::SPIbaseflow::ierr

ierr for various routines and operations

Definition at line 36 of file SPIbaseflow.hpp.

◆ name

std::string SPI::SPIbaseflow::name

baseflow name

Definition at line 35 of file SPIbaseflow.hpp.

◆ P

SPIVec SPI::SPIbaseflow::P

Definition at line 52 of file SPIbaseflow.hpp.

◆ U

SPIVec SPI::SPIbaseflow::U

Definition at line 39 of file SPIbaseflow.hpp.

◆ Ux

SPIVec SPI::SPIbaseflow::Ux

Definition at line 41 of file SPIbaseflow.hpp.

◆ Uxx

SPIVec SPI::SPIbaseflow::Uxx

Definition at line 42 of file SPIbaseflow.hpp.

◆ Uxy

SPIVec SPI::SPIbaseflow::Uxy

Definition at line 44 of file SPIbaseflow.hpp.

◆ Uy

SPIVec SPI::SPIbaseflow::Uy

Definition at line 43 of file SPIbaseflow.hpp.

◆ V

SPIVec SPI::SPIbaseflow::V

Definition at line 40 of file SPIbaseflow.hpp.

◆ Vx

SPIVec SPI::SPIbaseflow::Vx

Definition at line 45 of file SPIbaseflow.hpp.

◆ Vxx

SPIVec SPI::SPIbaseflow::Vxx

Definition at line 46 of file SPIbaseflow.hpp.

◆ Vy

SPIVec SPI::SPIbaseflow::Vy

Definition at line 47 of file SPIbaseflow.hpp.

◆ W

SPIVec SPI::SPIbaseflow::W

Definition at line 48 of file SPIbaseflow.hpp.

◆ Wx

SPIVec SPI::SPIbaseflow::Wx

Definition at line 49 of file SPIbaseflow.hpp.

◆ Wxy

SPIVec SPI::SPIbaseflow::Wxy

Definition at line 51 of file SPIbaseflow.hpp.

◆ Wy

SPIVec SPI::SPIbaseflow::Wy

Definition at line 50 of file SPIbaseflow.hpp.


The documentation for this struct was generated from the following files: