37 #ifndef BLOCKMATRIXRN_H 38 #define BLOCKMATRIXRN_H 1
40 #include <lifev/core/LifeV.hpp> 42 #include <lifev/core/LifeV.hpp> 44 #include <lifev/fsi/solver/MonolithicBlockMatrix.hpp> 45 #include <lifev/fsi/solver/MonolithicRobinInterface.hpp> 63 class MonolithicBlockMatrixRN :
public MonolithicBlockMatrix,
private MonolithicRobinInterface
69 typedef MonolithicBlockMatrix super_Type;
70 typedef MonolithicRobinInterface superRobin;
78 MonolithicBlockMatrixRN (
const std::vector<Int>& flags ) :
84 ~MonolithicBlockMatrixRN() {}
92 void setDataFromGetPot (
const GetPot& data,
const std::string& section );
95 void GlobalAssemble();
114 void coupler (mapPtr_Type& map,
115 const std::map<ID, ID>& locDofMap,
116 const vectorPtr_Type& numerationInterface,
117 const Real& timeStep,
118 const Real& coefficient,
119 const Real& rescaleFactor,
123 void coupler (mapPtr_Type& map,
124 const std::map<ID, ID>& locDofMap,
125 const vectorPtr_Type& numerationInterface,
126 const Real& timeStep,
127 const Real& coefficient,
128 const Real& rescaleFactor);
131 void blockAssembling();
136 void setRobin ( matrixPtr_Type& matrix, vectorPtr_Type& vec )
138 setRobinMatrix ( matrix );
143 void setRobin ( matrixPtr_Type& matrix )
145 setRobinMatrix ( matrix );
152 static MonolithicBlockMatrix* createAdditiveSchwarzRN()
154 const Int couplings[] = { 15, 0, 16 };
155 const std::vector<Int> couplingVector (couplings, couplings + 3);
156 return new MonolithicBlockMatrixRN (couplingVector);
void assignFunction(bcBase_Type &base)
Assign the function to the base of the BCHandler.
int32_type Int
Generic integer data.
double Real
Generic real data.
uint32_type UInt
generic unsigned integer (used mainly for addressing)