Loading...
Searching...
No Matches
combustion.h

The combustion problem: class header for the Newton method.

The combustion problem: class header for the Newton method

struct combustion {
typedef Float float_type;
typedef field value_type;
combustion(const geo& omega=geo(), string approx="");
void reset(const geo& omega, string approx);
field initial (std::string restart="");
idiststream& get (idiststream& is, field& uh);
odiststream& put (odiststream& os, const field& uh) const;
string parameter_name() const { return "lambda"; }
float_type parameter() const { return lambda; }
void set_parameter(float_type lambda1) { lambda = lambda1; }
bool stop (const field& xh) const { return xh.max_abs() > 10; }
field residue (const field& uh) const;
form derivative (const field& uh) const;
field derivative_versus_parameter (const field& uh) const;
problem::determinant_type update_derivative (const field& uh) const;
field derivative_solve (const field& mrh) const;
field derivative_trans_mult (const field& mrh) const;
field massify (const field& uh) const { return m*uh; }
field unmassify (const field& uh) const;
float_type space_dot (const field& xh, const field& yh) const;
float_type dual_space_dot (const field& mrh, const field& msh) const;
protected:
float_type lambda;
space Xh;
form m;
problem pm;
mutable form a1;
mutable problem pa1;
mutable branch event;
};
#include "combustion1.icc"
#include "combustion2.icc"
Float
see the Float page for the full documentation
branch
see the branch page for the full documentation
field
see the field page for the full documentation
form
see the form page for the full documentation
geo
see the geo page for the full documentation
problem
see the problem page for the full documentation
space
see the space page for the full documentation
combustion1.icc
The combustion problem: class body for the Newton method.
combustion2.icc
The combustion problem: class body for the Newton method.
combustion
Definition combustion.h:25
combustion::derivative_trans_mult
field derivative_trans_mult(const field &mrh) const
Definition combustion2.icc:52
combustion::a1
form a1
Definition combustion.h:52
combustion::float_type
Float float_type
Definition combustion.h:26
combustion::Xh
space Xh
Definition combustion.h:49
combustion::derivative_solve
field derivative_solve(const field &mrh) const
Definition combustion2.icc:47
combustion::event
branch event
Definition combustion.h:54
combustion::unmassify
field unmassify(const field &uh) const
Definition combustion2.icc:58
combustion::pa1
problem pa1
Definition combustion.h:53
combustion::stop
bool stop(const field &xh) const
Definition combustion.h:36
combustion::value_type
field value_type
Definition combustion.h:27
combustion::space_dot
float_type space_dot(const field &xh, const field &yh) const
Definition combustion2.icc:63
combustion::dual_space_dot
float_type dual_space_dot(const field &mrh, const field &msh) const
Definition combustion2.icc:65
combustion::lambda
float_type lambda
Definition combustion.h:48
combustion::parameter
float_type parameter() const
Definition combustion.h:34
combustion::m
form m
Definition combustion.h:50
combustion::massify
field massify(const field &uh) const
Definition combustion.h:43
combustion::derivative_versus_parameter
field derivative_versus_parameter(const field &uh) const
Definition combustion2.icc:43
combustion::put
odiststream & put(odiststream &os, const field &uh) const
Definition combustion1.icc:43
combustion::derivative
form derivative(const field &uh) const
Definition combustion2.icc:31
combustion::initial
field initial(std::string restart="")
Definition combustion1.icc:35
combustion::set_parameter
void set_parameter(float_type lambda1)
Definition combustion.h:35
combustion::update_derivative
problem::determinant_type update_derivative(const field &uh) const
Definition combustion2.icc:36
combustion::reset
void reset(const geo &omega, string approx)
Definition combustion1.icc:29
combustion::get
idiststream & get(idiststream &is, field &uh)
Definition combustion1.icc:46
combustion::residue
field residue(const field &uh) const
Definition combustion2.icc:25
combustion::pm
problem pm
Definition combustion.h:51
combustion::parameter_name
string parameter_name() const
Definition combustion.h:33
lambda
Definition yield_slip_circle.h:34