Cantera  2.0
Namespaces | Functions | Variables
MultiNewton.cpp File Reference

Damped Newton solver for 1D multi-domain problems. More...

#include <vector>
#include "cantera/oneD/MultiNewton.h"
#include "cantera/base/ctexceptions.h"
#include "cantera/base/vec_functions.h"
#include "cantera/base/stringUtils.h"
#include <cstdio>
#include <cmath>
#include <ctime>
Include dependency graph for MultiNewton.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.
 

Variables

const string dashedline
 

Detailed Description

Damped Newton solver for 1D multi-domain problems.

Definition in file MultiNewton.cpp.