detects which entries in the Jacobian have to be recomputed  
 More...
#include <dumux/assembly/partialreassembler.hh>
template<class Assembler>
class Dumux::PartialReassembler< Assembler >
- Template Parameters
- 
  
  
|  | 
|  | PartialReassembler (const Assembler &assembler) | 
|  | constructor 
 | 
|  | 
| void | computeColors (const Assembler &assembler, const std::vector< Scalar > &distanceFromLastLinearization, Scalar threshold) | 
|  | Determine the colors of entities for partial reassembly. 
 | 
|  | 
| 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 
 | 
|  | 
| 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 | 
|  | 
◆ PartialReassembler()
template<class Assembler> 
 
 
◆ computeColors()
template<class Assembler> 
  
  | 
        
          | void Dumux::PartialReassembler< Assembler >::computeColors | ( | const Assembler & | assembler, |  
          |  |  | const std::vector< Scalar > & | distanceFromLastLinearization, |  
          |  |  | Scalar | threshold ) |  | inline | 
 
The following approach is used:
- Set all elements to 'green'
- Mark all elements as 'red' which exhibit an relative error above the tolerance
- Mark all neighbors of 'red' elements also 'red'
- Parameters
- 
  
    | assembler | the assembler |  | distanceFromLastLinearization | The distance from the last linearization |  | threshold | Reassemble only if the distance from the last linearization is above this value. |  
 
 
 
◆ dofColor()
template<class Assembler> 
 
 
◆ elementColor()
template<class Assembler> 
 
 
◆ report()
template<class Assembler> 
template<class Communication> 
 
 
◆ resetColors()
template<class Assembler> 
 
 
◆ resetJacobian()
template<class Assembler> 
 
 
◆ vertexColor()
template<class Assembler> 
template<bool enable = decltype(isValid(hasVertexColor()).template check<Engine>())::value, typename std::enable_if_t< enable, int > = 0> 
 
 
The documentation for this class was generated from the following file: