8 #ifndef SRC_FLOW_MORTAR_ASSEMBLY_HH_ 9 #define SRC_FLOW_MORTAR_ASSEMBLY_HH_ 72 inline arma::mat &
tensor_average(
unsigned int row_dim,
unsigned int col_dim) {
73 return tensor_average_[4*row_dim + col_dim];
76 void add_to_linsys(
double scale);
std::vector< arma::mat > tensor_average_
Row matrices to compute element pressure as average of boundary pressures.
virtual void assembly(LocalElementAccessorBase< 3 > ele_ac)
std::shared_ptr< DarcyMH::EqData > AssemblyDataPtr
virtual ~MortarAssemblyBase()
vector< double > dirichlet
IntersectionQuadratureP0 quadrature_
MixedMeshIntersections & mixed_mesh_
P1_CouplingAssembler(AssemblyDataPtr data)
void fix_velocity(LocalElementAccessorBase< 3 > ele_ac)
MortarAssemblyBase(AssemblyDataPtr data)
LocalElementAccessorBase< 3 > slave_ac_
arma::mat & tensor_average(unsigned int row_dim, unsigned int col_dim)
vector< unsigned int > IsecList
std::vector< arma::vec > col_average_
vector< IsecData > isec_data_list
mixed-hybrid model of linear Darcy flow, possibly unsteady.
arma::uvec dirichlet_dofs
Main class for computation of intersection of meshes of combined dimensions.