1.6.0
CCC
 
Loading...
Searching...
No Matches
AModelOptim.cpp File Reference
#include "Model/AModelOptim.hpp"
#include "Basic/AStringable.hpp"
#include "Enum/EConsElem.hpp"
#include "geoslib_define.h"
#include "Matrix/MatrixSquareGeneral.hpp"
#include "Matrix/MatrixSquareSymmetric.hpp"
#include "Variogram/Vario.hpp"
#include "LinearOp/CholeskyDense.hpp"
#include "Model/Model.hpp"
#include "Model/Option_AutoFit.hpp"
#include "Model/Option_VarioFit.hpp"
#include "Model/Constraints.hpp"
#include <cmath>
#include <nlopt.h>

Macros

#define IJDIR(ijvar, ipadir)   ((ijvar)*npadir + (ipadir))
 
#define WT(ijvar, ipadir)   wt[IJDIR(ijvar, ipadir)]
 
#define TAKE_ROT    ((_optvar.getLockSamerot() && first_covrot < 0) || !_optvar.getLockSamerot())
 
#define DEFINE_THIRD   (cova->hasParam())
 
#define DEFINE_RANGE   (cova->hasRange() > 0)
 
#define DEFINE_ANICOEF   (cova->hasRange() != 0 && _optvar.getAuthAniso())
 
#define DEFINE_ANIROT    (cova->hasRange() != 0 && _optvar.getAuthAniso() && _optvar.getAuthRotation())
 
#define UNDEFINE_ANIROT
 

Macro Definition Documentation

◆ DEFINE_ANICOEF

#define DEFINE_ANICOEF   (cova->hasRange() != 0 && _optvar.getAuthAniso())

◆ DEFINE_ANIROT

#define DEFINE_ANIROT    (cova->hasRange() != 0 && _optvar.getAuthAniso() && _optvar.getAuthRotation())

◆ DEFINE_RANGE

#define DEFINE_RANGE   (cova->hasRange() > 0)

◆ DEFINE_THIRD

#define DEFINE_THIRD   (cova->hasParam())

◆ IJDIR

#define IJDIR (   ijvar,
  ipadir 
)    ((ijvar)*npadir + (ipadir))

◆ TAKE_ROT

#define TAKE_ROT    ((_optvar.getLockSamerot() && first_covrot < 0) || !_optvar.getLockSamerot())

◆ UNDEFINE_ANIROT

#define UNDEFINE_ANIROT
Value:
(cova->hasRange() == 0 || !_optvar.getAuthAniso() || \
!_optvar.getAuthRotation())

◆ WT

#define WT (   ijvar,
  ipadir 
)    wt[IJDIR(ijvar, ipadir)]