You could do this in one of 2 ways: Either you need to do combine the 
::update/assemble_XYZ and ::update_assemble_XYZ into a single function, or 
you can leave them as they are and replace the WorkSteam::run call by the 
appropriate manual cell loop, e.g.
  WorkStream::run 
<https://www.dealii.org/8.4.0/doxygen/deal.II/namespaceWorkStream.html#a0c5d332d74a4df80784140218896b169>
(dof_handler_ref.begin_active 
<https://www.dealii.org/8.4.0/doxygen/deal.II/classDoFHandler.html#ad2df51a32781906218910731e063ac62>
(),
                 dof_handler_ref.end 
<https://www.dealii.org/8.4.0/doxygen/deal.II/classDoFHandler.html#a05c70e1862a2ad145f91f9da1f44cc28>
(),
                 *this,
                 &Solid::update_qph_incremental_one_cell,
                 &Solid::copy_local_to_global_UQPH,
                 scratch_data_UQPH,
                 per_task_data_UQPH);
would become
typename DoFHandler<dim>::active_cell_iterator 
<https://www.dealii.org/8.4.0/doxygen/deal.II/classTriaActiveIterator.html> 
cell =
   dof_handler_ref.begin_active 
<https://www.dealii.org/8.4.0/doxygen/deal.II/classTriangulation.html#abef8795e729458954fd7301214012665>
(), endc = dof_handler_ref.end 
<https://www.dealii.org/8.4.0/doxygen/deal.II/classTriangulation.html#a55aebb671467ea1367153f81463855ca>
();
 for (; cell != endc; ++cell)
{
update_qph_incremental_one_cell(cell, scratch_data_UQPH, per_task_data_UQPH
);
}

Even better (in case you ever want to include multithreading at a later 
stage), you could simply have a switch between these two options which 
defaults to serial mode until you decide otherwise.

J-P


On Tuesday, July 19, 2016 at 10:48:31 PM UTC+2, Samuel Petzold wrote:
>
> I do not care for mpi/parallel processing so if ya'll can also help me 
> remove these objects that would be great.
>

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to