LifeV
BCManage.hpp File Reference

Functions for prescribing boundary conditions. More...

+ Include dependency graph for BCManage.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 LifeV
 Default Physical Solver.
 

Functions

template<typename VectorType , typename MeshType , typename DataType >
void bcManageVector (VectorType &rightHandSide, const MeshType &mesh, const DOF &dof, const BCHandler &bcHandler, CurrentFEManifold &currentBdFE, const DataType &time, const DataType &diagonalizeCoef)
 Prescribe boundary conditions. Case in which only the right hand side is modified. More...
 
template<typename VectorType , typename MeshType , typename DataType >
void bcManageResidual (VectorType &res, VectorType &rhs, const VectorType &sol, const MeshType &mesh, const DOF &dof, const BCHandler &bcHandler, CurrentFEManifold &currentBdFE, const DataType &time, const DataType &diagonalizeCoef)
 
template<typename VectorType , typename DataType , typename Mesh , typename MapEpetra >
void bcManageVector (VectorType &rightHandSide, FESpace< Mesh, MapEpetra > &feSpace, const BCHandler &bcHandler, const DataType &time, const DataType &diagonalizeCoef)
 Prescribe boundary conditions. Case in which only the right hand side is modified. More...
 
template<typename VectorType , typename DataType >
void bcEssentialManageVector (VectorType &rightHandSide, const DOF &dof, const BCBase &boundaryCond, const DataType &time, const DataType &diagonalizeCoef, UInt offset)
 Prescribe Essential boundary conditions on the right hand side. More...
 

Boundary conditions treatment

template<typename MatrixType , typename VectorType , typename MeshType , typename DataType >
void bcManage (MatrixType &matrix, VectorType &rightHandSide, MeshType const &mesh, DOF const &dof, BCHandler const &bcHandler, CurrentFEManifold &currentBdFE, DataType const &diagonalizeCoef, DataType const &time=0)
 Prescribe boundary conditions. More...
 
template<typename MatrixType , typename VectorType , typename MeshType , typename DataType >
void bcManage (Real(*mu)(Real time, Real x, Real y, Real z, Real u), MatrixType &matrix, VectorType &rightHandSide, const MeshType &mesh, const DOF &dof, const BCHandler &bcHandler, CurrentFEManifold &currentBdFE, const DataType diagonalizeCoef, const DataType &time, VectorType &feVec)
 Prescribe boundary conditions. Case in which the user defined function depends on the FE vector feVec. More...
 
template<typename MatrixType , typename MeshType , typename DataType >
void bcManageMatrix (MatrixType &matrix, const MeshType &mesh, const DOF &dof, const BCHandler &bcHandler, CurrentFEManifold &currentBdFE, const DataType &diagonalizeCoef, const DataType &time=0)
 Prescribe boundary conditions. Case in which only the matrix is modified. More...
 
template<typename VectorType , typename MeshType , typename DataType >
 bcManageVector (VectorType &rightHandSide, const MeshType &mesh, const DOF &dof, const BCHandler &bcHandler, CurrentFEManifold &currentBdFE, const DataType &time, const DataType &diagonalizeCoef)
 Prescribe boundary conditions. Case in which only the right hand side is modified. More...
 
template<typename VectorType , typename MeshType , typename DataType >
void bcManageRhs (VectorType &rightHandSide, const MeshType &mesh, const DOF &dof, const BCHandler &bcHandler, CurrentFEManifold &currentBdFE, const DataType &diagonalizeCoef, const DataType &time)
 Prescribe boundary conditions. Case in which only the right hand side is modified. More...
 
template<typename VectorType , typename DataType , typename Mesh , typename MapEpetra >
 bcManageVector (VectorType &rightHandSide, FESpace< Mesh, MapEpetra > &feSpace, const BCHandler &bcHandler, const DataType &time, const DataType &diagonalizeCoef)
 Prescribe boundary conditions. Case in which only the right hand side is modified. More...
 
template<typename VectorType , typename DataType , typename Mesh , typename MapEpetra >
void bcManageResidual (VectorType &res, VectorType &rhs, const VectorType &sol, FESpace< Mesh, MapEpetra > &feSpace, const BCHandler &bcHandler, const DataType &time, const DataType &diagonalizeCoef)
 Prescribe boundary conditions. Case in which only the residual is available. More...
 
template<typename VectorType , typename DataType , typename Mesh , typename MapEpetra >
void bcManageRhs (VectorType &rightHandSide, FESpace< Mesh, MapEpetra > &feSpace, const BCHandler &bcHandler, const DataType &diagonalizeCoef, const DataType &time)
 Prescribe boundary conditions. Case in which only the right hand side is modified. More...
 

Essential BC

template<typename MatrixType , typename VectorType , typename MeshType , typename DataType >
void bcEssentialManage (MatrixType &matrix, VectorType &rightHandSide, const MeshType &, const DOF &dof, const BCBase &boundaryCond, const CurrentFEManifold &, const DataType &diagonalizeCoef, const DataType &time, UInt offset)
 Prescribe Essential boundary conditions. Case in which the user defined function depends on the FE vector feVec. More...
 
template<typename MatrixType , typename VectorType , typename MeshType , typename DataType >
void bcEssentialManageUDep (MatrixType &matrix, VectorType &rightHandSide, const MeshType &, const DOF &dof, const BCBase &boundaryCond, const CurrentFEManifold &, const DataType &diagonalizeCoef, const DataType &time, const VectorType &feVec, UInt offset=0)
 Prescribe Essential boundary conditions. Case in which the user defined function depends on the FE vector feVec. More...
 
template<typename MatrixType , typename DataType >
void bcEssentialManageMatrix (MatrixType &matrix, const DOF &dof, const BCBase &boundaryCond, const DataType &diagonalizeCoef, UInt offset)
 Prescribe Essential boundary conditions diagonalizing the matrix. More...
 
template<typename VectorType , typename DataType >
 bcEssentialManageVector (VectorType &rightHandSide, const DOF &dof, const BCBase &boundaryCond, const DataType &time, const DataType &diagonalizeCoef, UInt offset)
 Prescribe Essential boundary conditions on the right hand side. More...
 
template<typename VectorType , typename DataType >
void bcEssentialManageRhs (VectorType &rightHandSide, const DOF &dof, const BCBase &boundaryCond, const DataType &diagonalizeCoef, const DataType &time, UInt offset)
 Prescribe Essential boundary conditions on the right hand side. More...
 
template<typename VectorType , typename DataType >
void bcEssentialManageRhs (VectorType &rightHandSide, const DOF &dof, const BCHandler &bcHandler, const DataType &diagonalizeCoef, const DataType &time)
 Prescribe all the Essential boundary conditions on the right hand side and forgetting about the other BCs. More...
 
template<typename VectorType , typename DataType >
void bcEssentialManageResidual (VectorType &res, VectorType &rhs, const VectorType &sol, const DOF &dof, const BCBase &boundaryCond, const DataType &time, const DataType &diagonalizeCoef, UInt offset)
 Prescribe essential boundary conditions. Case in which only the residual is available. More...
 
template<typename MatrixType , typename DataType >
void bcManageMtimeUDep (MatrixType &matrix, const DOF &dof, const BCHandler &bcHandler, const DataType diagonalizeCoef)
 ! Prescribe Essential boundary conditions. More...
 

Natural BC

template<typename VectorType , typename MeshType , typename DataType >
void bcNaturalManage (VectorType &rightHandSide, const MeshType &mesh, const DOF &dof, const BCBase &boundaryCond, CurrentFEManifold &currentBdFE, const DataType &time, UInt offset)
 Prescribe Natural boundary condition. More...
 
template<typename VectorType , typename MeshType , typename DataType >
void bcNaturalManageUDep (Real(*mu)(Real time, Real x, Real y, Real z, Real u), VectorType &rightHandSide, const MeshType &mesh, const DOF &dof, const BCBase &boundaryCond, CurrentFEManifold &currentBdFE, const DataType &time, const VectorType &feVec, UInt offset)
 Prescribe Natural boundary condition. Case in which the user defined function depends on the FE vector feVec. More...
 

Robin BC

template<typename MatrixType , typename VectorType , typename DataType , typename MeshType >
void bcRobinManage (MatrixType &matrix, VectorType &rightHandSide, const MeshType &mesh, const DOF &dof, const BCBase &boundaryCond, CurrentFEManifold &currentBdFE, const DataType &time, UInt offset)
 Prescribe Robin boundary condition. More...
 
template<typename MatrixType , typename DataType , typename MeshType >
void bcRobinManageMatrix (MatrixType &matrix, const MeshType &mesh, const DOF &dof, const BCBase &boundaryCond, CurrentFEManifold &currentBdFE, const DataType &time, UInt offset)
 Prescribe Robin boundary condition only on the matrix. More...
 
template<typename VectorType , typename DataType , typename MeshType >
void bcRobinManageResidual (VectorType &residual, VectorType &rightHandSide, const VectorType &solution, const MeshType &mesh, const DOF &dof, const BCBase &boundaryCond, CurrentFEManifold &currentBdFE, const DataType &time, UInt offset)
 Prescribe Robin boundary conditions. Case in which only the residual is available. More...
 
template<typename VectorType , typename DataType , typename MeshType >
void bcResistanceManageResidual (VectorType &residual, VectorType &rightHandSide, const VectorType &solution, const MeshType &mesh, const DOF &dof, const BCBase &boundaryCond, CurrentFEManifold &currentBdFE, const DataType &time, UInt offset)
 Paolo Tricerri/////////////////////. More...
 
template<typename VectorType , typename DataType , typename MeshType >
void bcRobinManageVector (VectorType &rightHandSide, const MeshType &mesh, const DOF &dof, const BCBase &boundaryCond, CurrentFEManifold &currentBdFE, const DataType &time, UInt offset)
 Prescribe Robin boundary condition only on the rightHandSide. More...
 

Flux BC

template<typename MatrixType , typename VectorType , typename MeshType , typename DataType >
void bcFluxManage (MatrixType &matrix, VectorType &rightHandSide, const MeshType &mesh, const DOF &dof, const BCBase &boundaryCond, CurrentFEManifold &currentBdFE, const DataType &time, UInt offset)
 Prescribe Flux boundary condition only on the matrix. More...
 
template<typename VectorType , typename DataType >
void bcFluxManageVector (VectorType &rightHandSide, const BCBase &boundaryCond, const DataType &time, UInt offset)
 Prescribe Flux boundary condition only on the right hand side. More...
 
template<typename MatrixType , typename MeshType , typename DataType >
void bcFluxManageMatrix (MatrixType &matrix, const MeshType &mesh, const DOF &dof, const BCBase &boundaryCond, CurrentFEManifold &currentBdFE, const DataType &, UInt offset)
 Prescribe Flux boundary condition only on the matrix. More...
 
template<typename VectorType , typename MeshType , typename DataType >
void bcFluxManageResidual (VectorType &residual, VectorType &rightHandSide, const VectorType &solution, const MeshType &mesh, const DOF &dof, const BCBase &boundaryCond, CurrentFEManifold &currentBdFE, const DataType &, UInt offset)
 Prescribe Flux boundary conditions. Case in which only the residual is available. More...
 

Resistance BC

template<typename MatrixType , typename VectorType , typename DataType , typename MeshType >
void bcResistanceManage (MatrixType &matrix, VectorType &rightHandSide, const MeshType &mesh, const DOF &dof, const BCBase &boundaryCond, CurrentFEManifold &currentBdFE, const DataType &, UInt offset)
 Prescribe Resistance boundary condition. More...
 
template<typename VectorType , typename DataType , typename MeshType >
void bcResistanceManageVector (VectorType &rightHandSide, const MeshType &mesh, const DOF &dof, const BCBase &boundaryCond, CurrentFEManifold &currentBdFE, const DataType &, UInt offset)
 
template<typename MatrixType , typename DataType , typename MeshType >
void bcResistanceManageMatrix (MatrixType &matrix, const MeshType &mesh, const DOF &dof, const BCBase &boundaryCond, CurrentFEManifold &currentBdFE, const DataType &, UInt offset)
 

Detailed Description

Functions for prescribing boundary conditions.

Author
Miguel Fernandez migue.nosp@m.l.fe.nosp@m.rnand.nosp@m.ez@i.nosp@m.nria..nosp@m.fr
Contributor:
Mauro Perego pereg.nosp@m.o.ma.nosp@m.uro@g.nosp@m.mail.nosp@m..com
Maintainer:
Mauro Perego pereg.nosp@m.o.ma.nosp@m.uro@g.nosp@m.mail.nosp@m..com
Date
7-2002

Definition in file BCManage.hpp.