LifeV
OneDFSIFunctionSolverDefinedAbsorbing Class Reference

OneDFSIFunctionSolverDefinedAbsorbing - Class which implements absorbing boundary conditions for the 1D segment. More...

#include <OneDFSIFunctionSolverDefined.hpp>

+ Inheritance diagram for OneDFSIFunctionSolverDefinedAbsorbing:
+ Collaboration diagram for OneDFSIFunctionSolverDefinedAbsorbing:

Protected Member Functions

virtual void resistance (Real &)
 Set the value of the resistance. More...
 
virtual 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

Type definitions

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
 

Constructors & Destructor

 OneDFSIFunctionSolverDefinedAbsorbing (const bcSide_Type &bcSide, const bcType_Type &bcType)
 Constructor. More...
 
 OneDFSIFunctionSolverDefinedAbsorbing (const OneDFSIFunctionSolverDefinedAbsorbing &bcFunctionAbsorbing)
 Copy constructor. More...
 
virtual ~OneDFSIFunctionSolverDefinedAbsorbing ()
 Destructor. More...
 

Methods

Real operator() (const Real &time, const Real &timeStep)
 Operator() More...
 

Additional Inherited Members

- 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 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...
 
- 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
 

Detailed Description

OneDFSIFunctionSolverDefinedAbsorbing - Class which implements absorbing boundary conditions for the 1D segment.

Author
Maria Rita de Luca

Definition at line 401 of file OneDFSIFunctionSolverDefined.hpp.

Member Typedef Documentation

◆ super

◆ fluxPtr_Type

◆ sourcePtr_Type

◆ solutionPtr_Type

◆ mesh_Type

Definition at line 414 of file OneDFSIFunctionSolverDefined.hpp.

Constructor & Destructor Documentation

◆ OneDFSIFunctionSolverDefinedAbsorbing() [1/2]

OneDFSIFunctionSolverDefinedAbsorbing ( const bcSide_Type bcSide,
const bcType_Type bcType 
)
inlineexplicit

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$).

Definition at line 427 of file OneDFSIFunctionSolverDefined.hpp.

+ Here is the caller graph for this function:

◆ OneDFSIFunctionSolverDefinedAbsorbing() [2/2]

OneDFSIFunctionSolverDefinedAbsorbing ( const OneDFSIFunctionSolverDefinedAbsorbing bcFunctionAbsorbing)
inlineexplicit

Copy constructor.

Parameters
bcFunctionAbsorbingOneDFSIFunctionSolverDefinedAbsorbing

Definition at line 433 of file OneDFSIFunctionSolverDefined.hpp.

+ Here is the caller graph for this function:

◆ ~OneDFSIFunctionSolverDefinedAbsorbing()

virtual ~OneDFSIFunctionSolverDefinedAbsorbing ( )
inlinevirtual

Destructor.

Definition at line 436 of file OneDFSIFunctionSolverDefined.hpp.

Member Function Documentation

◆ operator()()

Real operator() ( const Real time,
const Real timeStep 
)
virtual

Operator()

Evaluate the function.

Parameters
timethe current time.
timeStepthe time step.
Returns
the value of the function.

Reimplemented from OneDFSIFunctionSolverDefinedCompatibility.

Definition at line 312 of file OneDFSIFunctionSolverDefined.cpp.

◆ resistance()

virtual void resistance ( Real )
inlineprotectedvirtual

Set the value of the resistance.

For absorbing BC do nothing.

Parameters
resistancevalue of the resistance

Reimplemented in OneDFSIFunctionSolverDefinedResistance.

Definition at line 463 of file OneDFSIFunctionSolverDefined.hpp.

+ Here is the caller graph for this function:

◆ venousPressure()

virtual Real venousPressure ( )
inlineprotectedvirtual

Venous pressure.

For absorbing BC the venous pressure is equal to the external pressure.

Returns
venous pressure.

Reimplemented in OneDFSIFunctionSolverDefinedResistance.

Definition at line 473 of file OneDFSIFunctionSolverDefined.hpp.


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