DPsim
Loading...
Searching...
No Matches
CPS::Math::ScopedZeroSkipping Class Reference

#include <MathUtils.h>

Public Member Functions

 ScopedZeroSkipping (Bool enabled)
 
 ~ScopedZeroSkipping ()
 
 ScopedZeroSkipping (const ScopedZeroSkipping &)=delete
 
ScopedZeroSkipping & operator= (const ScopedZeroSkipping &)=delete
 

Detailed Description

Scoped setting for omitting exact zero values while assembling sparse matrices. Enabled by default and thread-local to keep solver scopes isolated.

Definition at line 21 of file MathUtils.h.

Constructor & Destructor Documentation

◆ ScopedZeroSkipping() [1/2]

Math::ScopedZeroSkipping::ScopedZeroSkipping ( Bool enabled)
explicit

Definition at line 51 of file MathUtils.cpp.

◆ ~ScopedZeroSkipping()

Math::ScopedZeroSkipping::~ScopedZeroSkipping ( )

Definition at line 56 of file MathUtils.cpp.

◆ ScopedZeroSkipping() [2/2]

CPS::Math::ScopedZeroSkipping::ScopedZeroSkipping ( const ScopedZeroSkipping & )
delete

Member Function Documentation

◆ operator=()

ScopedZeroSkipping & CPS::Math::ScopedZeroSkipping::operator= ( const ScopedZeroSkipping & )
delete

The documentation for this class was generated from the following files: