--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en
---
You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dealii+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en
--- You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dealii+unsubscribe@googlegroups.com.
typename dealii::DoFHandler<dim>::active_cell_iterator
cell = dof_handler.begin_active(),
endc = dof_handler.end();
const std::vector< dealii::Point< dim > > sp = fe.get_unit_support_points ();
std::vector< unsigned int > dof_indices(fe.dofs_per_cell);
for (; cell!=endc; ++cell) {
//skip cells you are not interested...
//get DoFs...
cell->get_dof_indices(dof_indices);
//get support points...
std::vector< dealii::Point<dim>> rp;
dealii::Quadrature<dim> q(sp);
dealii::FEValues<dim> fe_values (fe, q, dealii::update_q_points);
fe_values.reinit (cell);
rp = fe_values.get_quadrature_points();
//sizes should match:
assert (rp.size() == dof_indices.size());
}
To unsubscribe from this group and stop receiving emails from it, send an email to dealii+un...@googlegroups.com.