cloudy trunk
Loading...
Searching...
No Matches
newton_step.h
Go to the documentation of this file.
1/* This file is part of Cloudy and is copyright (C)1978-2013 by Gary J. Ferland and
2 * others. For conditions of distribution and use see copyright notice in license.txt */
3
4#ifndef NEWTON_STEP_H_
5#define NEWTON_STEP_H_
6
7#include "mole.h"
8#include "mole_priv.h"
9
10/* mole_co_priv.h */
15bool newton_step(GroupMap &mole_map, const valarray<double> &oldmols, valarray<double> &newmols, realnum *eqerror, realnum *error, const long n,
16 double *rlimit, double *rmax,
17 valarray<double> &escale,
18 void (*jacobn)(GroupMap &mole_map,
19 const valarray<double> &b2vec,
20 double * const ervals, double * const amat,
21 const bool lgJac, bool *lgConserved));
22
23typedef void (*error_print_t)(long, long,
24 const valarray<double> &,
25 const valarray<double> &);
26
27int32 solve_system(const valarray<double> &a, valarray<double> &b,
28 long int n, error_print_t error_print);
29
30#endif /* NEWTON_STEP_H_ */
static double * amat
float realnum
Definition cddefines.h:103
int32 solve_system(const valarray< double > &a, valarray< double > &b, long int n, error_print_t error_print)
bool newton_step(GroupMap &mole_map, const valarray< double > &oldmols, valarray< double > &newmols, realnum *eqerror, realnum *error, const long n, double *rlimit, double *rmax, valarray< double > &escale, void(*jacobn)(GroupMap &mole_map, const valarray< double > &b2vec, double *const ervals, double *const amat, const bool lgJac, bool *lgConserved))
void(* error_print_t)(long, long, const valarray< double > &, const valarray< double > &)
Definition newton_step.h:23