Cantera  2.0
Namespaces | Functions
newton_utils.cpp File Reference
#include "cantera/base/ct_defs.h"
#include "cantera/oneD/Domain1D.h"
#include <cstdio>
Include dependency graph for newton_utils.cpp:

Go to the source code of this file.

Namespaces

namespace  Cantera
 Provides class Nucleus.
 

Functions

doublereal bound_step (const doublereal *x, const doublereal *step, Domain1D &r, int loglevel)
 Return a damping coefficient that keeps the solution after taking one Newton step between specified lower and upper bounds.
 
doublereal norm_square (const doublereal *x, const doublereal *step, Domain1D &r)
 This function computes the square of a weighted norm of a step vector for one domain.