21 #define FLU_CKAPPA_EX 1
24 #define FLU_CKAPPA_FL 4
33 STOASTLIB
double l2norm (
const Solution &sol);
49 int nParam()
const {
return nprm; }
50 void SetParam (
int which,
const RVector &prm);
51 void SetParam (
int which,
double prm) { param[which] = prm; }
53 const RVector GetParam (
int which)
const;
55 const RVector GetActiveParams ()
const;
58 void SetActiveParams (
const RVector &prm);
61 void SetActive (
int which,
bool act);
62 inline bool IsActive (
int which)
const {
return active[which]; }
63 inline int nActive()
const {
return nactive; }
65 int ActiveDim()
const;
68 void Extents (
int which,
double &vmin,
double &vmax)
const;
69 bool Bounded (
int which,
double vmin,
double vmax);
76 void Scale (
int which,
double factor);
79 void vmul (
const RVector &v)
const;
92 void WriteImgGeneric (
int imgno,
const char *filename,
93 int prmind,
bool append =
true);
96 static void WriteImgGeneric (
int imgno,
const char *filename,
97 const RVector &img,
bool append =
true);
100 void WriteImg_mua (
int imgno,
const char *nimname,
bool append =
true);
101 void WriteImg_mus (
int imgno,
const char *nimname,
bool append =
true);
103 friend STOASTLIB
double l2norm (
const Solution &sol);
117 for (
int i = 0; i < sol.nprm; i++)
118 if (res.active[i]) res.param[i] = log(sol.param[i]);
124 #endif // !__SOLUTION_H
Base class for mapping between mesh and an independent basis representation.
Definition: raster.h:20
Definition: solution.h:39