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