Reaktoro  A unified framework for modeling chemically reactive systems
Reaktoro::RegularizerOptions Struct Reference

## Detailed Description

A type that describes the options for regularizing linear constraints.

#include <Regularizer.hpp>

Inheritance diagram for Reaktoro::RegularizerOptions:

## Public Attributes

bool echelonize = true
The boolean flag that indicates if echelonization should be performed. More...

unsigned max_denominator = 0
The maximum denominator that can exist in the coefficient matrix A. More...

## Member Data Documentation

 bool Reaktoro::RegularizerOptions::echelonize = true

The boolean flag that indicates if echelonization should be performed.

The echelonization of the linear constraints can help on robustness and accuracy by minimizing round-off errors.

 unsigned Reaktoro::RegularizerOptions::max_denominator = 0

The maximum denominator that can exist in the coefficient matrix A.

Set this option to zero if the coefficients in A are not represented by rational numbers. Otherwise, set it to the maximum denominator that can represent the coefficients in rational form. This is a useful information to eliminate round-off errors when assembling the regularized coefficient matrix.

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