IBAMR
An adaptive and distributed-memory parallel implementation of the immersed boundary (IB) method
Public Member Functions | List of all members
IBAMR::StokesSpecifications Class Reference

Class StokesSpecifications is a lightweight utility class that is used to specify the physical parameters of the incompressible Navier-Stokes equations. More...

#include </home/runner/work/IBAMR/IBAMR/include/ibamr/StokesSpecifications.h>

Inheritance diagram for IBAMR::StokesSpecifications:
Inheritance graph
[legend]

Public Member Functions

 StokesSpecifications (double rho=0.0, double mu=0.0, double lambda=0.0)
 Default constructor.
 
 StokesSpecifications (const StokesSpecifications &from)
 Copy constructor. More...
 
virtual ~StokesSpecifications ()
 Destructor.
 
StokesSpecificationsoperator= (const StokesSpecifications &that)
 Assignment operator. More...
 
double getRho () const
 
void setRho (double rho)
 Set the mass density coefficient of the fluid.
 
double getMu () const
 
void setMu (double mu)
 Set the dynamic viscosity coefficient of the fluid.
 
double getLambda () const
 
void setLambda (double lambda)
 Set the drag coefficient of the fluid.
 

Detailed Description

Class StokesSpecifications is a lightweight utility class that is used to specify the physical parameters of the incompressible Navier-Stokes equations.

Constructor & Destructor Documentation

◆ StokesSpecifications()

IBAMR::StokesSpecifications::StokesSpecifications ( const StokesSpecifications from)
inline

Copy constructor.

Parameters
fromThe value to copy to this object.

Member Function Documentation

◆ getLambda()

double IBAMR::StokesSpecifications::getLambda ( ) const
inline
Returns
The drag coefficient of the fluid.

◆ getMu()

double IBAMR::StokesSpecifications::getMu ( ) const
inline
Returns
The dynamic viscosity coefficient of the fluid.

◆ getRho()

double IBAMR::StokesSpecifications::getRho ( ) const
inline
Returns
The mass density coefficient of the fluid.

◆ operator=()

StokesSpecifications& IBAMR::StokesSpecifications::operator= ( const StokesSpecifications that)
inline

Assignment operator.

Parameters
thatThe value to assign to this object.
Returns
A reference to this object.

The documentation for this class was generated from the following file: