8 #ifndef SRC_FLOW_MORTAR_ASSEMBLY_HH_ 9 #define SRC_FLOW_MORTAR_ASSEMBLY_HH_ 73 inline arma::mat &
tensor_average(
unsigned int row_dim,
unsigned int col_dim) {
74 return tensor_average_[4*row_dim + col_dim];
77 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
arma::Col< LongIdx > DofVec
IntersectionQuadratureP0 quadrature_
MixedMeshIntersections & mixed_mesh_
P1_CouplingAssembler(AssemblyDataPtr data)
LocalSystem::DofVec vel_dofs
void fix_velocity(LocalElementAccessorBase< 3 > ele_ac)
MortarAssemblyBase(AssemblyDataPtr data)
LocalElementAccessorBase< 3 > slave_ac_
LocalSystem::DofVec dirichlet_dofs
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.
Main class for computation of intersection of meshes of combined dimensions.