All:
I am trying to have the meshworker going for a problem set on a hyper
surface.
As far as I can tell, it seems that this feature is already incorporated
but cannot understand the implementation of
*%%%%%*
*/Applications/deal.II.app/Contents/Resources/include/deal.II/meshworker/loop.*
*%%%%%*
template<int dim, int spacedim, class ITERATOR, class ASSEMBLER>
void integration_loop(ITERATOR begin,
typename identity<ITERATOR>::type end,
DoFInfo<dim, spacedim> &dof_info,
IntegrationInfoBox<dim, spacedim> &box,
const LocalIntegrator<dim, spacedim> &integrator,
ASSEMBLER &assembler,
const LoopControl &lctrl = LoopControl())
{
std_cxx11::function<void (DoFInfo<dim>&, IntegrationInfo<dim,
spacedim>&)> cell_worker;
std_cxx11::function<void (DoFInfo<dim>&, IntegrationInfo<dim,
spacedim>&)> boundary_worker;
std_cxx11::function<void (DoFInfo<dim> &, DoFInfo<dim> &,
IntegrationInfo<dim, spacedim> &,
IntegrationInfo<dim, spacedim> &)>
face_worker;
if (integrator.use_cell)
cell_worker = std_cxx11::bind(&LocalIntegrator<dim, spacedim>::cell,
&integrator, std_cxx11::_1, std_cxx11::_2);
...
The DoFInfo argument of LocalIntegrator<dim, spacedim>::cell contains two
templates <dim,spacedim>, which seems logical. However, the DoFinfo in
cell_worker only takes a single template <dim>.
This creates an error at the compilation.
Am I missing something or the DoFInfo in cell_worker (and boundary_worker)
should be DoFInfo<dim,spacedim> & ?
Thanks in advance,
Andrea
--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.