LifeV
|
OneDFSIModelBCFunctionDefault - Base class for deriving specific 1D boundary functions. More...
#include <OneDFSIFunctionSolverDefined.hpp>
Protected Attributes | |
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 OneDFSIFunction | bcFunction_Type |
typedef std::shared_ptr< bcFunction_Type > | bcFunctionPtr_Type |
typedef OneDFSIFlux | flux_Type |
typedef std::shared_ptr< flux_Type > | fluxPtr_Type |
typedef OneDFSISource | source_Type |
typedef std::shared_ptr< source_Type > | sourcePtr_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_Type > | vectorPtr_Type |
typedef std::array< vectorPtr_Type, 2 > | vectorPtrContainer_Type |
typedef linearSolver_Type::matrix_type | matrix_Type |
typedef std::map< std::string, vectorPtr_Type > | solution_Type |
typedef std::shared_ptr< solution_Type > | solutionPtr_Type |
typedef OneDFSI::bcLine_Type | bcLine_Type |
typedef OneDFSI::bcSide_Type | bcSide_Type |
typedef OneDFSI::bcType_Type | bcType_Type |
Constructors & Destructor | |
OneDFSIFunctionSolverDefined (const bcSide_Type &bcSide, const bcType_Type &bcType) | |
Constructor. More... | |
OneDFSIFunctionSolverDefined (const OneDFSIFunctionSolverDefined &bcFunctionDefault) | |
Copy constructor. More... | |
virtual | ~OneDFSIFunctionSolverDefined () |
Destructor. More... | |
Methods | |
virtual Real | operator() (const Real &time, const Real &timeStep) |
Operator() More... | |
Set Methods | |
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 Methods | |
virtual void | setupNode () |
Automatically identify the boundary node. More... | |
OneDFSIModelBCFunctionDefault - Base class for deriving specific 1D boundary functions.
This class provide a general interface for implementing some specific boundary conditions for the 1D segment.
Definition at line 65 of file OneDFSIFunctionSolverDefined.hpp.
typedef OneDFSIFunction bcFunction_Type |
Definition at line 72 of file OneDFSIFunctionSolverDefined.hpp.
typedef std::shared_ptr<bcFunction_Type> bcFunctionPtr_Type |
Definition at line 73 of file OneDFSIFunctionSolverDefined.hpp.
typedef OneDFSIFlux flux_Type |
Definition at line 75 of file OneDFSIFunctionSolverDefined.hpp.
typedef std::shared_ptr< flux_Type > fluxPtr_Type |
Definition at line 76 of file OneDFSIFunctionSolverDefined.hpp.
typedef OneDFSISource source_Type |
Definition at line 78 of file OneDFSIFunctionSolverDefined.hpp.
typedef std::shared_ptr< source_Type > sourcePtr_Type |
Definition at line 79 of file OneDFSIFunctionSolverDefined.hpp.
typedef OneDFSIData data_Type |
Definition at line 81 of file OneDFSIFunctionSolverDefined.hpp.
typedef data_Type::mesh_Type mesh_Type |
Definition at line 82 of file OneDFSIFunctionSolverDefined.hpp.
Definition at line 84 of file OneDFSIFunctionSolverDefined.hpp.
typedef SolverAmesos linearSolver_Type |
Definition at line 86 of file OneDFSIFunctionSolverDefined.hpp.
Definition at line 87 of file OneDFSIFunctionSolverDefined.hpp.
typedef std::shared_ptr< vector_Type > vectorPtr_Type |
Definition at line 88 of file OneDFSIFunctionSolverDefined.hpp.
typedef std::array< vectorPtr_Type, 2 > vectorPtrContainer_Type |
Definition at line 89 of file OneDFSIFunctionSolverDefined.hpp.
Definition at line 91 of file OneDFSIFunctionSolverDefined.hpp.
typedef std::map< std::string, vectorPtr_Type > solution_Type |
Definition at line 93 of file OneDFSIFunctionSolverDefined.hpp.
typedef std::shared_ptr< solution_Type > solutionPtr_Type |
Definition at line 94 of file OneDFSIFunctionSolverDefined.hpp.
typedef OneDFSI::bcLine_Type bcLine_Type |
Definition at line 96 of file OneDFSIFunctionSolverDefined.hpp.
typedef OneDFSI::bcSide_Type bcSide_Type |
Definition at line 97 of file OneDFSIFunctionSolverDefined.hpp.
typedef OneDFSI::bcType_Type bcType_Type |
Definition at line 98 of file OneDFSIFunctionSolverDefined.hpp.
|
explicit |
Constructor.
bcLine | the line of the boundary condition (first or second). |
bcType | the type of the boundary condition ( , , , , , ). |
Definition at line 51 of file OneDFSIFunctionSolverDefined.cpp.
|
explicit |
Copy constructor.
bcFunctionDefault | OneDFSIFunctionSolverDefined |
Definition at line 61 of file OneDFSIFunctionSolverDefined.cpp.
|
inlinevirtual |
Destructor.
Definition at line 120 of file OneDFSIFunctionSolverDefined.hpp.
Operator()
Evaluate the function.
time | the current time. |
timeStep | the time step. |
Reimplemented in OneDFSIFunctionSolverDefinedWindkessel3, OneDFSIFunctionSolverDefinedAbsorbing, OneDFSIFunctionSolverDefinedCompatibility, and OneDFSIFunctionSolverDefinedRiemann.
Definition at line 73 of file OneDFSIFunctionSolverDefined.cpp.
void setFluxSource | ( | const fluxPtr_Type & | fluxPtr, |
const sourcePtr_Type & | sourcePtr | ||
) |
Set the flux and the source classes for the problem.
fluxPtr | pointer to the flux term of the problem. |
sourcePtr | pointer to the source term of the problem. |
Definition at line 85 of file OneDFSIFunctionSolverDefined.cpp.
|
inline |
Set the solution of the problem.
solutionPtr | pointer to the solution of the problem. |
Definition at line 155 of file OneDFSIFunctionSolverDefined.hpp.
|
protectedvirtual |
Automatically identify the boundary node.
Reimplemented in OneDFSIFunctionSolverDefinedCompatibility.
Definition at line 97 of file OneDFSIFunctionSolverDefined.cpp.
|
protected |
Definition at line 172 of file OneDFSIFunctionSolverDefined.hpp.
|
protected |
Definition at line 173 of file OneDFSIFunctionSolverDefined.hpp.
|
protected |
Definition at line 174 of file OneDFSIFunctionSolverDefined.hpp.
|
protected |
Definition at line 176 of file OneDFSIFunctionSolverDefined.hpp.
|
protected |
Definition at line 177 of file OneDFSIFunctionSolverDefined.hpp.
|
protected |
Definition at line 178 of file OneDFSIFunctionSolverDefined.hpp.