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::SPIparams Struct Reference

#include <SPIparams.hpp>

Public Member Functions

 SPIparams (std::string _name="parameters")
 constructor with no arguments More...
 
PetscInt printSPI ()
 print all variables in SPIparams More...
 
virtual PetscInt print ()
 print all variables in SPIparams More...
 

Data Fields

std::string name
 name of parameter class More...
 
PetscScalar Re
 Reynolds number. More...
 
PetscScalar beta
 beta spanwise wavenumber More...
 
PetscScalar alpha
 alpha streamwise wavenumber More...
 
PetscScalar omega
 omega, temporal frequency (rad/s) More...
 
PetscScalar x_start
 streamwise starting location More...
 
PetscScalar x
 current streamwise position More...
 
PetscScalar x_prev
 previous streamwise position More...
 
PetscScalar nu
 kinematic viscosity (typically 1/Re) More...
 

Detailed Description

Definition at line 8 of file SPIparams.hpp.

Constructor & Destructor Documentation

◆ SPIparams()

SPI::SPIparams::SPIparams ( std::string  _name = "parameters")

constructor with no arguments

Parameters
[in]_name[in] name of parameters (default parameters)

Definition at line 6 of file SPIparams.cpp.

Member Function Documentation

◆ print()

PetscInt SPI::SPIparams::print ( )
virtual

print all variables in SPIparams

Definition at line 23 of file SPIparams.cpp.

◆ printSPI()

PetscInt SPI::SPIparams::printSPI ( )

print all variables in SPIparams

Definition at line 12 of file SPIparams.cpp.

Field Documentation

◆ alpha

PetscScalar SPI::SPIparams::alpha

alpha streamwise wavenumber

Definition at line 15 of file SPIparams.hpp.

◆ beta

PetscScalar SPI::SPIparams::beta

beta spanwise wavenumber

Definition at line 14 of file SPIparams.hpp.

◆ name

std::string SPI::SPIparams::name

name of parameter class

Definition at line 12 of file SPIparams.hpp.

◆ nu

PetscScalar SPI::SPIparams::nu

kinematic viscosity (typically 1/Re)

Definition at line 20 of file SPIparams.hpp.

◆ omega

PetscScalar SPI::SPIparams::omega

omega, temporal frequency (rad/s)

Definition at line 16 of file SPIparams.hpp.

◆ Re

PetscScalar SPI::SPIparams::Re

Reynolds number.

Definition at line 13 of file SPIparams.hpp.

◆ x

PetscScalar SPI::SPIparams::x

current streamwise position

Definition at line 18 of file SPIparams.hpp.

◆ x_prev

PetscScalar SPI::SPIparams::x_prev

previous streamwise position

Definition at line 19 of file SPIparams.hpp.

◆ x_start

PetscScalar SPI::SPIparams::x_start

streamwise starting location

Definition at line 17 of file SPIparams.hpp.


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