detects which entries in the Jacobian have to be recomputed More...
#include <dumux/assembly/partialreassembler.hh>
detects which entries in the Jacobian have to be recomputed
TypeTag | The TypeTag |
Public Member Functions | |
PartialReassembler (const Assembler &assembler) | |
constructor More... | |
void | computeColors (const Assembler &assembler, const std::vector< Scalar > &distanceFromLastLinearization, Scalar threshold) |
Determine the colors of entities for partial reassembly. More... | |
void | resetColors () |
void | resetJacobian (Assembler &assembler) const |
template<class Communication > | |
void | report (const Communication &comm, std::ostream &outStream) |
called by the assembler after successful assembly More... | |
EntityColor | elementColor (size_t idx) const |
EntityColor | dofColor (size_t idx) const |
template<bool enable = decltype(isValid(hasVertexColor()).template check<Engine>())::value, typename std::enable_if_t< enable, int > = 0> | |
EntityColor | vertexColor (size_t idx) const |
|
inline |
constructor
assembler | the assembler |
|
inline |
Determine the colors of entities for partial reassembly.
The following approach is used:
assembler | the assembler |
distanceFromLastLinearization | The distance from the last linearization |
threshold | Reassemble only if the distance from the last linearization is above this value. |
|
inline |
|
inline |
|
inline |
called by the assembler after successful assembly
|
inline |
|
inline |
|
inline |