41 int row_side,
int col_side,
42 EntityType row_type,EntityType col_type,
43 DataForcesAndSurcesCore::EntData &row_data,
44 DataForcesAndSurcesCore::EntData &col_data
49 if(row_data.getIndices().size()==0) PetscFunctionReturn(0);
50 if(col_data.getIndices().size()==0) PetscFunctionReturn(0);
51 if(col_type==MBVERTEX) {
54 const FENumeredDofEntity *dof_ptr;
55 ierr = getNumeredEntFiniteElementPtr()->getColDofsByPetscGlobalDofIdx(col_data.getIndices()[0],&dof_ptr); CHKERRQ(
ierr);
56 int rank = dof_ptr->getNbOfCoeffs();
65 for(
int nn=0; nn<3; nn++){
77 SETERRQ(PETSC_COMM_SELF,1,
"not implemented");
81 int nb_rows=row_data.getIndices().size();
82 int nb_cols=col_data.getIndices().size();
84 Aij,nb_rows,&row_data.getIndices()[0],nb_cols,&col_data.getIndices()[0],&
Mat_face(0,0),ADD_VALUES
90 Aij,nb_cols,&col_data.getIndices()[0],nb_rows,&row_data.getIndices()[0],&
Mat_face_Tran(0,0),ADD_VALUES
94 }
catch (
const std::exception& ex) {
96 ss <<
"throw in method: " << ex.what() << endl;
97 SETERRQ(PETSC_COMM_SELF,1,ss.str().c_str());
99 PetscFunctionReturn(0);