LifeV
OneDFSIFunctionSolverDefinedRiemann Class Reference

OneDFSIFunctionSolverDefinedRiemann - Class which implements Riemann boundary conditions for the 1D segment. More...

#include <OneDFSIFunctionSolverDefined.hpp>

+ Inheritance diagram for OneDFSIFunctionSolverDefinedRiemann:
+ Collaboration diagram for OneDFSIFunctionSolverDefinedRiemann:

Protected Attributes

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 and Enumerators

typedef OneDFSIFunctionSolverDefined super
 
typedef super::container2D_Type container2D_Type
 

Constructors & Destructor

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

Methods

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

Protected Methods

void updateBCVariables ()
 Update the boundary condition variables. More...
 

Additional Inherited Members

- 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 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 Member Functions inherited from OneDFSIFunctionSolverDefined
virtual void setupNode ()
 Automatically identify the boundary node. More...
 

Detailed Description

OneDFSIFunctionSolverDefinedRiemann - Class which implements Riemann boundary conditions for the 1D segment.

Author
Lucia Mirabella, Tiziano Passerini

Definition at line 189 of file OneDFSIFunctionSolverDefined.hpp.

Member Typedef Documentation

◆ super

◆ container2D_Type

Constructor & Destructor Documentation

◆ OneDFSIFunctionSolverDefinedRiemann() [1/2]

OneDFSIFunctionSolverDefinedRiemann ( const bcSide_Type bcSide,
const bcType_Type bcType 
)
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$).

Definition at line 107 of file OneDFSIFunctionSolverDefined.cpp.

+ Here is the caller graph for this function:

◆ OneDFSIFunctionSolverDefinedRiemann() [2/2]

Copy constructor.

Parameters
bcFunctionRiemannOneDFSIFunctionSolverDefinedRiemann

Definition at line 113 of file OneDFSIFunctionSolverDefined.cpp.

+ Here is the caller graph for this function:

◆ ~OneDFSIFunctionSolverDefinedRiemann()

virtual ~OneDFSIFunctionSolverDefinedRiemann ( )
inlinevirtual

Destructor.

Definition at line 219 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 OneDFSIFunctionSolverDefined.

Reimplemented in OneDFSIFunctionSolverDefinedWindkessel3, OneDFSIFunctionSolverDefinedAbsorbing, and OneDFSIFunctionSolverDefinedCompatibility.

Definition at line 123 of file OneDFSIFunctionSolverDefined.cpp.

◆ updateBCVariables()

void updateBCVariables ( )
protected

Update the boundary condition variables.

Definition at line 134 of file OneDFSIFunctionSolverDefined.cpp.

+ Here is the caller graph for this function:

Field Documentation

◆ M_bcU

container2D_Type M_bcU
protected

Value of U at the boundary.

Definition at line 250 of file OneDFSIFunctionSolverDefined.hpp.

◆ M_bcW

container2D_Type M_bcW
protected

Value of W at the boundary.

Definition at line 253 of file OneDFSIFunctionSolverDefined.hpp.


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