42 #include <lifev/core/LifeV.hpp> 43 #include <lifev/core/fem/DOFInterface.hpp> 44 #include <lifev/core/array/VectorEpetra.hpp> 132 virtual Real operator() (
const ID& globalDofId,
const ID& component )
const;
170 virtual std::ostream&
showMe (
bool , std::ostream& out = std::cout )
const 172 out <<
"not implemented in parent class, use derived class implementation!" << std::endl;
410 BCVector (
const vector_Type& rightHandSideVector,
UInt const numberOfTotalDof,
UInt type = 0 );
435 std::ostream&
showMe (
bool verbose =
false, std::ostream& out = std::cout )
const;
600 std::ostream&
showMe (
bool verbose =
false, std::ostream& out = std::cout )
const;
606 return *M_interfaceDofPtr;
Real betaCoeff() const
Return the value of the beta coefficient.
VectorEpetra - The Epetra Vector format Wrapper.
void setRobinCoeff(const Real &robinBoundaryMassCoeff)
set the boundary mass coefficient of Robin bc
std::ostream & showMe(bool verbose=false, std::ostream &out=std::cout) const
showMe
BCVectorInterface()
Default Constructor.
void setResistanceCoeff(const Real &resistanceCoeff)
set the Resistance coefficient
virtual Real robinCoeffVector(const ID &globalDofId, const ID &component) const
Return the value of the selected component of the boundary mass coefficient vector at position dofID...
vectorConstPtr_Type M_robinBoundaryMassCoeffVectorPtr
The pointer to FE Vector holding the robin boundary Mass coefficients.
BCVector(const vector_Type &rightHandSideVector, UInt const numberOfTotalDof, UInt type=0)
Constructor.
Real M_betaCoeff
Coefficient for the beta coefficient.
vector_Type const * vectorConstPtr_Type
UInt nbTotalDOF() const
Return the number of total DOF.
dofInterfacePtr_Type M_interfaceDofPtr
DOFInterface object holding the connections between the interface dofs.
bool M_finalized
true when the BCVector is updated
BCVectorBase bcVectorBase_Type
Real operator()(const ID &globalDofId, const ID &component) const
Return the value of the selected component of rightHandSideVector at position globalDofID.
const vector_Type & rhsVector() const
Return the underlying data structure for the RHS vector.
std::ostream & showMe(bool verbose=false, std::ostream &out=std::cout) const
showMe
bool M_isRobinBdMassCoeffAVector
boolean determining whether the boundary mass coefficient is a FE Vector
void setup(const vector_Type &rightHandSideVector, UInt numberOfTotalDof, const dofInterfacePtr_Type &interfaceDofPtr, UInt type=0)
setup after default constructor
Real M_resistanceCoeff
Coefficient for Resistance coefficient.
UInt M_type
Type of boundary condition; see the BCBase class description.
void updateInverseJacobian(const UInt &iQuadPt)
bool isFinalized() const
determine whether the BCVector is updated
Real robinCoeff() const
Return the value of the boundary mass coefficient of Robin conditions.
void setBetaCoeff(const Real &betaCoeff)
set the Beta coefficient FE vector
bool isBetaCoeffAVector() const
BCVector & operator=(const BCVector &bcVector)
Assignment operator for BCVector.
vectorConstPtr_Type M_rightHandSideVectorPtr
The pointer to FE vector for the right hand side part of the equation.
Real betaCoeffVector(const ID &globalDofId, const ID &component) const
Return the value of the selected component of the beta coefficient vector at position dofID...
BCVectorBase::BCVectorBasePtr_Type clone() const
Clone the current object.
BCVectorBase - class that holds the FE vectors used for prescribing boundary conditions.
Real resistanceCoeff() const
Return the value of the resistance coefficient.
BCVectorInterface(const BCVectorInterface &bcVectorInterface)
Copy Constructor.
BCVector()
Default Constructor.
virtual BCVectorBase & operator=(BCVectorBase const &)
Assignment operator.
BCVectorInterface & operator=(const BCVectorInterface &bcVectorInterface)
Assignment operator for BCVectorInterface.
BCVectorInterface - class that holds the FE vectors used for prescribing boundary conditions on Inter...
virtual ~BCVector()
Destructor.
BCVectorBase(const BCVectorBase &bcVectorBase)
Copy Constructor.
void setRhsVector(const vector_Type &rightHandSideVector, UInt numberOfTotalDof, const dofInterfacePtr_Type &interfaceDofPtr, UInt type=0)
set the BC vector (after default construction)
vectorConstPtr_Type M_betaCoeffVectorPtr
BCVectorInterface(const vector_Type &rightHandSideVector, UInt numberOfTotalDof, const dofInterfacePtr_Type &interfaceDofPtr, UInt type=0)
Constructor.
BCVectorBase()
Empty Constructor.
bool isRobinCoeffAVector() const
determine whether the boundary mass coefficient for Robin bc is a Vector
void setRhsVector(const vector_Type &righHandSideVector, UInt numberOfTotalDOF, UInt type=0)
set the right hand side FE vector
BCVectorBase bcVectorBase_Type
super class
void setRobinCoeffVector(const vector_Type &robinBoundaryMassCoeffVector)
set the boundary mass coefficient FE vector for Robin boundary conditions
Real M_robinBoundaryMassCoeff
Coefficient for boundary mass term in Robin conditions.
virtual Real operator()(const ID &globalDofId, const ID &component) const
Return the value of the selected component of rightHandSideVector at position globalDofID.
double Real
Generic real data.
Real robinCoeffVector(const ID &globalDofId, const ID &component) const
Return the value of the selected component of the boundary mass coefficient vector at position dofID...
BCVectorBase(const vector_Type &rightHandSideVector, const UInt numberOfTotalDof, UInt type=0)
Constructor.
DOFInterface const & dofInterface() const
Return reference to DOFInterface object, the container of connection of DOFs.
void setBetaCoeffVector(const vector_Type &betaCoeffVector)
set the beta coefficient FE vector
virtual BCVectorBasePtr_Type clone() const
Clone the current object.
std::shared_ptr< DOFInterface > dofInterfacePtr_Type
UInt type() const
Return the type of conditions (see BCVector class description)
BCVector - class that holds the FE vectors used for prescribing boundary conditions.
virtual ~BCVectorInterface()
Destructor.
UInt M_numberOfTotalDof
Number of total dof in the vector of data.
std::shared_ptr< BCVectorBase > BCVectorBasePtr_Type
bool M_isBetaCoeffAVector
boolean determining whether the boundary mass coefficient is a FE Vector
virtual Real betaCoeffVector(const ID &globalDofId, const ID &component) const
Return the value of the selected component of the beta coefficient vector at position dofID...
uint32_type UInt
generic unsigned integer (used mainly for addressing)
virtual std::ostream & showMe(bool, std::ostream &out=std::cout) const
showMe
virtual ~BCVectorBase()
Destructor.
BCVector(const BCVector &bcVector)