PETScWrappers::MatrixBase::LastAction Struct Reference

List of all members.

Public Types

enum  Values { none, insert, add }


Detailed Description

PETSc doesn't allow to mix additions to matrix entries and overwriting them (to make synchronisation of parallel computations simpler). Since the interface of the existing classes don't support the notion of not interleaving things, we have to emulate this ourselves. The way we do it is to, for each access operation, store whether it is an insertion or an addition. If the previous one was of different type, then we first have to flush the PETSc buffers; otherwise, we can simply go on.

The following structure and variable declare and store the previous state.


Member Enumeration Documentation

Enumerator:
none 
insert 
add 


The documentation for this struct was generated from the following file:

deal.II documentation generated on Sat Aug 15 16:52:43 2009 by doxygen 1.5.9