97 if(data.getIndices().size()==0) PetscFunctionReturn(0);
99 EntityHandle this_face = getNumeredEntFiniteElementPtr()->getEnt();
100 int nb_gauss_pts_on_this_face = data.getN().size1();
101 for(
int ffgg = 0;ffgg<nb_gauss_pts_on_this_face;ffgg++) {
103 CommonData::MultiIndexData gauss_pt_data(gg,side,
type);
104 pair<CommonData::Container::iterator,bool> p;
109 CommonData::MultiIndexData &p_data =
const_cast<CommonData::MultiIndexData&
>(*p.first);
111 int nb_shape_fun = data.getN().size2();
112 shape_fun.resize(nb_shape_fun);
113 cblas_dcopy(nb_shape_fun,&data.getN()(ffgg,0),1,&shape_fun[0],1);
114 p_data.iNdices = data.getIndices();
115 p_data.dofOrders.resize(data.getFieldDofs().size(),
false);
116 for(
unsigned int dd = 0;
dd<data.getFieldDofs().size();
dd++) {
117 p_data.dofOrders[
dd] = data.getFieldDofs()[
dd]->getDofOrder();
119 int nb_dofs = data.getFieldData().size();
120 if(
type == MBVERTEX) {
124 for(
int rr = 0;rr<3;rr++) {
126 nb_dofs/3,&data.getFieldData()[rr],3,&data.getN()(ffgg,0),1
135 for(
int rr = 0;rr<3;rr++) {
137 nb_dofs/3,&data.getFieldData()[rr],3,&data.getN()(ffgg,0),1
142 }
catch (
const std::exception& ex) {
144 ss <<
"throw in method: " << ex.what() << endl;
145 SETERRQ(PETSC_COMM_SELF,1,ss.str().c_str());
149 PetscFunctionReturn(0);