LifeV
|
OneDFSIFlux - Base class for the flux term of the 1D hyperbolic problem. More...
#include <OneDFSIFlux.hpp>
Protected Attributes | |
physicsPtr_Type | M_physicsPtr |
Type definitions and Enumerators | |
typedef FactorySingleton< Factory< OneDFSIFlux, OneDFSI::fluxTerm_Type > > | factoryFlux_Type |
typedef OneDFSIPhysics | physics_Type |
typedef std::shared_ptr< physics_Type > | physicsPtr_Type |
typedef OneDFSIData::container2D_Type | container2D_Type |
Constructors & Destructor | |
OneDFSIFlux () | |
Empty constructor. More... | |
OneDFSIFlux (const physicsPtr_Type physicsPtr) | |
Constructor. More... | |
virtual | ~OneDFSIFlux () |
Do nothing destructor. More... | |
Virtual Methods | |
virtual Real | flux (const Real &A, const Real &Q, const ID &row, const UInt &iNode) const =0 |
Evaluate the flux term. More... | |
virtual Real | dFdU (const Real &A, const Real &Q, const ID &row, const ID &column, const UInt &iNode) const =0 |
Evaluate the derivative of the flux term. More... | |
virtual void | eigenValuesEigenVectors (const Real &A, const Real &Q, container2D_Type &eigenvalues, container2D_Type &leftEigenvector1, container2D_Type &leftEigenvector2, const UInt &iNode) const =0 |
Eigenvalues and eigenvectors of the Jacobian matrix. More... | |
virtual void | deltaEigenValuesEigenVectors (const Real &A, const Real &Q, container2D_Type &deltaEigenvalues, container2D_Type &deltaLeftEigenvector1, container2D_Type &deltaLeftEigenvector2, const UInt &iNode) const =0 |
Derivatives of the eigenvalues and eigenvectors of the derivative of the Jacobian matrix. More... | |
Set Methods | |
void | setPhysics (const physicsPtr_Type &physicsPtr) |
Set the physics of the problem. More... | |
Get Methods | |
physicsPtr_Type | physics () const |
Get the physics of the problem. More... | |
Unimplemented Methods | |
OneDFSIFlux (const OneDFSIFlux &flux) | |
OneDFSIFlux & | operator= (const OneDFSIFlux &flux) |
OneDFSIFlux - Base class for the flux term of the 1D hyperbolic problem.
The conservative form of the generic hyperbolic problem is
where are the conservative variables, the corresponding fluxes, and represents the source terms.
This class implements all the interfaces required for the computation of and its derivatives.
Definition at line 63 of file OneDFSIFlux.hpp.
typedef FactorySingleton< Factory< OneDFSIFlux, OneDFSI::fluxTerm_Type > > factoryFlux_Type |
Definition at line 71 of file OneDFSIFlux.hpp.
typedef OneDFSIPhysics physics_Type |
Definition at line 73 of file OneDFSIFlux.hpp.
typedef std::shared_ptr< physics_Type > physicsPtr_Type |
Definition at line 74 of file OneDFSIFlux.hpp.
Definition at line 76 of file OneDFSIFlux.hpp.
|
inlineexplicit |
Empty constructor.
Definition at line 85 of file OneDFSIFlux.hpp.
|
inlineexplicit |
Constructor.
physicsPtr | pointer to the physics of the problem |
Definition at line 91 of file OneDFSIFlux.hpp.
|
inlinevirtual |
Do nothing destructor.
Definition at line 94 of file OneDFSIFlux.hpp.
|
explicitprivate |
|
pure virtual |
Evaluate the flux term.
A | area |
Q | flow rate |
row | row of the flux term |
iNode | node of the mesh |
Implemented in OneDFSIFluxNonLinear, and OneDFSIFluxLinear.
|
pure virtual |
Evaluate the derivative of the flux term.
A | area |
Q | flow rate |
row | row of the derivative of the flux term |
column | column of the derivative of the flux term |
iNode | node of the mesh |
Implemented in OneDFSIFluxNonLinear, and OneDFSIFluxLinear.
|
pure virtual |
Eigenvalues and eigenvectors of the Jacobian matrix.
A | area |
Q | flow rate |
eigenvalues | eigenvalues of the Jacobian matrix |
leftEigenvector1 | first row of the left eigenvector matrix |
leftEigenvector2 | second row of the left eigenvector matrix |
iNode | node of the mesh |
Implemented in OneDFSIFluxNonLinear, and OneDFSIFluxLinear.
|
pure virtual |
Derivatives of the eigenvalues and eigenvectors of the derivative of the Jacobian matrix.
A | area |
Q | flow rate |
deltaEigenvalues | derivative of the eigenvalues of the derivative of the Jacobian matrix |
deltaLeftEigenvector1 | derivative of the first row of the left eigenvector matrix |
deltaLeftEigenvector2 | derivative of the second row of the left eigenvector matrix |
iNode | node of the mesh |
Implemented in OneDFSIFluxNonLinear, and OneDFSIFluxLinear.
|
inline |
Set the physics of the problem.
physicsPtr | pointer to the physics of the problem |
Definition at line 162 of file OneDFSIFlux.hpp.
|
inline |
Get the physics of the problem.
Definition at line 177 of file OneDFSIFlux.hpp.
|
private |
|
protected |
Definition at line 186 of file OneDFSIFlux.hpp.