LifeV
OneDFSIFunctionSolverDefinedResistance Class Reference

OneDFSIFunctionSolverDefinedResistance - Class which implements resistance boundary conditions for the 1D segment. More...

#include <OneDFSIFunctionSolverDefined.hpp>

+ Inheritance diagram for OneDFSIFunctionSolverDefinedResistance:
+ Collaboration diagram for OneDFSIFunctionSolverDefinedResistance:

Protected Member Functions

void resistance (Real &resistance)
 Set the value of the resistance. More...
 
Real venousPressure ()
 Venous pressure. More...
 
- Protected Member Functions inherited from OneDFSIFunctionSolverDefinedCompatibility
void setupNode ()
 Automatically identify the boundary node. More...
 
Real computeRHS (const Real &timeStep)
 Compute the rhs. More...
 
void computeEigenValuesVectors ()
 Compute the current eigenvalues and eigenvectors. More...
 
Real evaluateRHS (const Real &eigenvalue, const container2D_Type &eigenvector, const container2D_Type &deltaEigenvector, const Real &timeStep)
 Compute the rhs. More...
 
Real computeCFL (const Real &eigenvalue, const Real &timeStep) const
 Compute the current CFL. More...
 
Real scalarProduct (const container2D_Type &vector1, const container2D_Type &vector2)
 Scalar product between 2 2D vectors. More...
 
- Protected Member Functions inherited from OneDFSIFunctionSolverDefinedRiemann
void updateBCVariables ()
 Update the boundary condition variables. More...
 
- Protected Member Functions inherited from OneDFSIFunctionSolverDefined

Protected Attributes

Real M_resistance
 
- Protected Attributes inherited from OneDFSIFunctionSolverDefinedCompatibility
UInt M_bcElement
 ID of the boundary edge. More...
 
UInt M_bcInternalNode
 Dof of the internal node adjacent to the boundary. More...
 
container2D_Type M_eigenvalues
 Eigen values of the jacobian diffFlux (= dF/dU = H) More...
 
container2D_Type M_deltaEigenvalues
 
container2D_Type M_leftEigenvector1
 Left eigen vectors for the two eigen values. More...
 
container2D_Type M_leftEigenvector2
 
container2D_Type M_deltaLeftEigenvector1
 
container2D_Type M_deltaLeftEigenvector2
 
- Protected Attributes inherited from OneDFSIFunctionSolverDefinedRiemann
container2D_Type M_bcU
 Value of U at the boundary. More...
 
container2D_Type M_bcW
 Value of W at the boundary. More...
 
- Protected Attributes inherited from OneDFSIFunctionSolverDefined
fluxPtr_Type M_fluxPtr
 
sourcePtr_Type M_sourcePtr
 
solutionPtr_Type M_solutionPtr
 
UInt M_bcNode
 
bcSide_Type M_bcSide
 
bcType_Type M_bcType
 

Type definitions

typedef OneDFSIFunctionSolverDefinedAbsorbing super
 
typedef super::fluxPtr_Type fluxPtr_Type
 
typedef super::sourcePtr_Type sourcePtr_Type
 
typedef super::solutionPtr_Type solutionPtr_Type
 

Constructors & Destructor

 OneDFSIFunctionSolverDefinedResistance (const bcSide_Type &bcSide, const bcType_Type &bcType, const Real &resistance)
 Constructor. More...
 
 OneDFSIFunctionSolverDefinedResistance (const OneDFSIFunctionSolverDefinedResistance &bcFunctionResistance)
 Copy constructor. More...
 
virtual ~OneDFSIFunctionSolverDefinedResistance ()
 Destructor. More...
 

Additional Inherited Members

- Public Types inherited from OneDFSIFunctionSolverDefinedAbsorbing
typedef OneDFSIFunctionSolverDefinedCompatibility super
 
typedef super::fluxPtr_Type fluxPtr_Type
 
typedef super::sourcePtr_Type sourcePtr_Type
 
typedef super::solutionPtr_Type solutionPtr_Type
 
typedef super::mesh_Type mesh_Type
 
- Public Types inherited from OneDFSIFunctionSolverDefinedCompatibility
typedef OneDFSIFunctionSolverDefinedRiemann super
 
typedef super::fluxPtr_Type fluxPtr_Type
 
typedef super::sourcePtr_Type sourcePtr_Type
 
typedef super::solutionPtr_Type solutionPtr_Type
 
typedef super::mesh_Type mesh_Type
 
typedef super::container2D_Type container2D_Type
 
- Public Types inherited from OneDFSIFunctionSolverDefinedRiemann
typedef OneDFSIFunctionSolverDefined super
 
typedef super::container2D_Type container2D_Type
 
- Public Types inherited from OneDFSIFunctionSolverDefined
typedef OneDFSIFunction bcFunction_Type
 
typedef std::shared_ptr< bcFunction_TypebcFunctionPtr_Type
 
typedef OneDFSIFlux flux_Type
 
typedef std::shared_ptr< flux_TypefluxPtr_Type
 
typedef OneDFSISource source_Type
 
typedef std::shared_ptr< source_TypesourcePtr_Type
 
typedef OneDFSIData data_Type
 
typedef data_Type::mesh_Type mesh_Type
 
typedef data_Type::container2D_Type container2D_Type
 
typedef SolverAmesos linearSolver_Type
 
typedef linearSolver_Type::vector_type vector_Type
 
typedef std::shared_ptr< vector_TypevectorPtr_Type
 
typedef std::array< vectorPtr_Type, 2 > vectorPtrContainer_Type
 
typedef linearSolver_Type::matrix_type matrix_Type
 
typedef std::map< std::string, vectorPtr_Typesolution_Type
 
typedef std::shared_ptr< solution_TypesolutionPtr_Type
 
typedef OneDFSI::bcLine_Type bcLine_Type
 
typedef OneDFSI::bcSide_Type bcSide_Type
 
typedef OneDFSI::bcType_Type bcType_Type
 
- Public Member Functions inherited from OneDFSIFunctionSolverDefinedAbsorbing
 OneDFSIFunctionSolverDefinedAbsorbing (const bcSide_Type &bcSide, const bcType_Type &bcType)
 Constructor. More...
 
 OneDFSIFunctionSolverDefinedAbsorbing (const OneDFSIFunctionSolverDefinedAbsorbing &bcFunctionAbsorbing)
 Copy constructor. More...
 
virtual ~OneDFSIFunctionSolverDefinedAbsorbing ()
 Destructor. More...
 
Real operator() (const Real &time, const Real &timeStep)
 Operator() More...
 
- Public Member Functions inherited from OneDFSIFunctionSolverDefinedCompatibility
 OneDFSIFunctionSolverDefinedCompatibility (const bcSide_Type &bcSide, const bcType_Type &bcType)
 Constructor. More...
 
 OneDFSIFunctionSolverDefinedCompatibility (const OneDFSIFunctionSolverDefinedCompatibility &bcFunctionCompatibility)
 Copy constructor. More...
 
virtual ~OneDFSIFunctionSolverDefinedCompatibility ()
 Destructor. More...
 
- Public Member Functions inherited from OneDFSIFunctionSolverDefinedRiemann
 OneDFSIFunctionSolverDefinedRiemann (const bcSide_Type &bcSide, const bcType_Type &bcType)
 Constructor. More...
 
 OneDFSIFunctionSolverDefinedRiemann (const OneDFSIFunctionSolverDefinedRiemann &bcFunctionRiemann)
 Copy constructor. More...
 
virtual ~OneDFSIFunctionSolverDefinedRiemann ()
 Destructor. More...
 
- Public Member Functions inherited from OneDFSIFunctionSolverDefined
 OneDFSIFunctionSolverDefined (const bcSide_Type &bcSide, const bcType_Type &bcType)
 Constructor. More...
 
 OneDFSIFunctionSolverDefined (const OneDFSIFunctionSolverDefined &bcFunctionDefault)
 Copy constructor. More...
 
virtual ~OneDFSIFunctionSolverDefined ()
 Destructor. More...
 
void setFluxSource (const fluxPtr_Type &fluxPtr, const sourcePtr_Type &sourcePtr)
 Set the flux and the source classes for the problem. More...
 
void setSolution (const solutionPtr_Type &solutionPtr)
 Set the solution of the problem. More...
 

Detailed Description

OneDFSIFunctionSolverDefinedResistance - Class which implements resistance boundary conditions for the 1D segment.

Author
Lucia Mirabella, Tiziano Passerini

Definition at line 487 of file OneDFSIFunctionSolverDefined.hpp.

Member Typedef Documentation

◆ super

◆ fluxPtr_Type

◆ sourcePtr_Type

◆ solutionPtr_Type

Constructor & Destructor Documentation

◆ OneDFSIFunctionSolverDefinedResistance() [1/2]

OneDFSIFunctionSolverDefinedResistance ( const bcSide_Type bcSide,
const bcType_Type bcType,
const Real resistance 
)
explicit

Constructor.

Parameters
bcLinethe line of the boundary condition (first or second).
bcTypethe type of the boundary condition ( $Q$, $A$, $P$, $S$, $W_1$, $W_2$).
resistancethe terminal resistance.

Definition at line 358 of file OneDFSIFunctionSolverDefined.cpp.

◆ OneDFSIFunctionSolverDefinedResistance() [2/2]

Copy constructor.

Parameters
bcFunctionResistanceOneDFSIFunctionSolverDefinedResistance

Definition at line 363 of file OneDFSIFunctionSolverDefined.cpp.

◆ ~OneDFSIFunctionSolverDefinedResistance()

virtual ~OneDFSIFunctionSolverDefinedResistance ( )
inlinevirtual

Destructor.

Definition at line 521 of file OneDFSIFunctionSolverDefined.hpp.

Member Function Documentation

◆ resistance()

void resistance ( Real resistance)
inlineprotectedvirtual

Set the value of the resistance.

Parameters
resistancevalue of the resistance

Reimplemented from OneDFSIFunctionSolverDefinedAbsorbing.

Definition at line 531 of file OneDFSIFunctionSolverDefined.hpp.

◆ venousPressure()

Real venousPressure ( )
inlineprotectedvirtual

Venous pressure.

Returns
venous pressure.

Reimplemented from OneDFSIFunctionSolverDefinedAbsorbing.

Definition at line 540 of file OneDFSIFunctionSolverDefined.hpp.

Field Documentation

◆ M_resistance

Real M_resistance
protected

Definition at line 545 of file OneDFSIFunctionSolverDefined.hpp.


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