Rheolef  7.1
an efficient C++ finite element environment
combustion.h

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