Skip to content
Started by upstream project "Debian_Linux-ADOL-C" build number 4215
originally caused by:
 Started by GitHub push by NJSchlegel
Running as SYSTEM
Building remotely on Debian_12-VM (debian linux) in workspace /home/jenkins/workspace/Debian_Linux-ADOL-C/AMPI/ampion/label/Debian_12-VM
The recommended git tool is: NONE
 > git rev-parse --resolve-git-dir /home/jenkins/workspace/Debian_Linux-ADOL-C/AMPI/ampion/label/Debian_12-VM/.git # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url git@github.com:ISSMteam/ISSM.git # timeout=10
Fetching upstream changes from git@github.com:ISSMteam/ISSM.git
 > git --version # timeout=10
 > git --version # 'git version 2.39.5'
using GIT_SSH to set credentials GitHub Deploy Key - ISSMteam/ISSM - Jenkins
Verifying host key using known hosts file
 > git fetch --tags --force --progress -- git@github.com:ISSMteam/ISSM.git +refs/heads/*:refs/remotes/origin/* # timeout=10
Checking out Revision 9315ab5892e5aeabd2c7cfa698c2e4af0eb43496 (refs/remotes/origin/main)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 9315ab5892e5aeabd2c7cfa698c2e4af0eb43496 # timeout=10
Commit message: "Merge pull request #208 from NJSchlegel/main"
 > git rev-list --no-walk 6d21937c030d3ee50dd61a1487372c887e959362 # timeout=10
[Debian_12-VM] $ /bin/bash /tmp/jenkins15648762614536647634.sh
Cleaning up execution directory
======================================================
             Determining installation type            
======================================================
   
List of changed files
---------------------
src/c/analyses/LevelsetAnalysis.cpp
src/c/classes/Elements/Tria.cpp
src/m/classes/calvingcrevassedepth.m
src/m/classes/calvingcrevassedepth.py
src/m/classes/clusters/ccr.m
test/Archives/Archive815.arch
test/Archives/Archive816.arch
test/NightlyRun/test809.m
test/NightlyRun/test809.py
test/NightlyRun/test814.m
test/NightlyRun/test815.m
test/NightlyRun/test816.m
   
-- checking for changed externalpackages... no
-- checking for reconfiguration... no
-- checking for recompilation... yes
======================================================
       Skipping autotools                        
======================================================
======================================================
       Skipping cmake                        
======================================================
======================================================
       Skipping petsc                        
======================================================
======================================================
       Skipping gsl                        
======================================================
======================================================
       Skipping triangle                        
======================================================
======================================================
       Skipping adjoinablempi                        
======================================================
======================================================
       Skipping adolc                        
======================================================
======================================================
       Skipping shell2junit                        
======================================================
======================================================
                    Compiling ISSM                    
======================================================
Making with 8 CPUs
make  all-recursive
make[1]: Entering directory '/home/jenkins/workspace/Debian_Linux-ADOL-C/AMPI/ampion/label/Debian_12-VM'
Making all in src
make[2]: Entering directory '/home/jenkins/workspace/Debian_Linux-ADOL-C/AMPI/ampion/label/Debian_12-VM/src'
Making all in c
make[3]: Entering directory '/home/jenkins/workspace/Debian_Linux-ADOL-C/AMPI/ampion/label/Debian_12-VM/src/c'
  CXX      classes/Elements/libISSMCore_la-Tria.lo
  CXX      analyses/libISSMCore_la-LevelsetAnalysis.lo
./classes/Elements/Tria.cpp: In member function ‘virtual void Tria::CalvingCrevasseDepth()’:
./classes/Elements/Tria.cpp:827:60: error: no matching function for call to ‘pow(IssmDouble&, double)’
  827 |                         wd_star = sigma*(0.2-(0.12*std::pow(hurst,0.6)));
      |                                                    ~~~~~~~~^~~~~~~~~~~
In file included from /usr/include/c++/12/math.h:36,
                 from ./classes/Elements/Tria.cpp:14:
/usr/include/c++/12/cmath:415:5: note: candidate: ‘template<class _Tp, class _Up> constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::pow(_Tp, _Up)’
  415 |     pow(_Tp __x, _Up __y)
      |     ^~~
/usr/include/c++/12/cmath:415:5: note:   template argument deduction/substitution failed:
/usr/include/c++/12/cmath: In substitution of ‘template<class _Tp, class _Up> constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::pow(_Tp, _Up) [with _Tp = adouble; _Up = double]’:
./classes/Elements/Tria.cpp:827:39:   required from here
/usr/include/c++/12/cmath:415:5: error: no type named ‘__type’ in ‘struct __gnu_cxx::__promote<adouble, false>’
In file included from ./classes/Elements/.././../shared/./FSanalyticals/../Numerics/types.h:15,
                 from ./classes/Elements/.././../shared/./FSanalyticals/fsanalyticals.h:8,
                 from ./classes/Elements/.././../shared/shared.h:8,
                 from ./classes/Elements/.././Contour.h:10,
                 from ./classes/Elements/../classes.h:15,
                 from ./classes/Elements/Tria.cpp:19:
/usr/include/c++/12/complex:1019:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::pow(const complex<_Tp>&, int)’
 1019 |     pow(const complex<_Tp>& __z, int __n)
      |     ^~~
/usr/include/c++/12/complex:1019:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:827:60: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  827 |                         wd_star = sigma*(0.2-(0.12*std::pow(hurst,0.6)));
      |                                                    ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1028:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::pow(const complex<_Tp>&, const _Tp&)’
 1028 |     pow(const complex<_Tp>& __x, const _Tp& __y)
      |     ^~~
/usr/include/c++/12/complex:1028:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:827:60: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  827 |                         wd_star = sigma*(0.2-(0.12*std::pow(hurst,0.6)));
      |                                                    ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1062:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::pow(const complex<_Tp>&, const complex<_Tp>&)’
 1062 |     pow(const complex<_Tp>& __x, const complex<_Tp>& __y)
      |     ^~~
/usr/include/c++/12/complex:1062:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:827:60: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  827 |                         wd_star = sigma*(0.2-(0.12*std::pow(hurst,0.6)));
      |                                                    ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1073:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::pow(const _Tp&, const complex<_Tp>&)’
 1073 |     pow(const _Tp& __x, const complex<_Tp>& __y)
      |     ^~~
/usr/include/c++/12/complex:1073:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:827:60: note:   mismatched types ‘const std::complex<_Tp>’ and ‘double’
  827 |                         wd_star = sigma*(0.2-(0.12*std::pow(hurst,0.6)));
      |                                                    ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1854:5: note: candidate: ‘template<class _Tp, class _Up> std::complex<typename __gnu_cxx::__promote_2<_Tp, _Up>::__type> std::pow(const complex<_Tp>&, const _Up&)’
 1854 |     pow(const std::complex<_Tp>& __x, const _Up& __y)
      |     ^~~
/usr/include/c++/12/complex:1854:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:827:60: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  827 |                         wd_star = sigma*(0.2-(0.12*std::pow(hurst,0.6)));
      |                                                    ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1862:5: note: candidate: ‘template<class _Tp, class _Up> std::complex<typename __gnu_cxx::__promote_2<_Tp, _Up>::__type> std::pow(const _Tp&, const complex<_Up>&)’
 1862 |     pow(const _Tp& __x, const std::complex<_Up>& __y)
      |     ^~~
/usr/include/c++/12/complex:1862:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:827:60: note:   mismatched types ‘const std::complex<_Up>’ and ‘double’
  827 |                         wd_star = sigma*(0.2-(0.12*std::pow(hurst,0.6)));
      |                                                    ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1870:5: note: candidate: ‘template<class _Tp, class _Up> std::complex<typename __gnu_cxx::__promote_2<_Tp, _Up>::__type> std::pow(const complex<_Tp>&, const complex<_Up>&)’
 1870 |     pow(const std::complex<_Tp>& __x, const std::complex<_Up>& __y)
      |     ^~~
/usr/include/c++/12/complex:1870:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:827:60: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  827 |                         wd_star = sigma*(0.2-(0.12*std::pow(hurst,0.6)));
      |                                                    ~~~~~~~~^~~~~~~~~~~
In file included from /usr/include/features.h:489,
                 from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from ./classes/Elements/Tria.cpp:12:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:140:1: note: candidate: ‘double pow(double, double)’
  140 | __MATHCALL_VEC (pow,, (_Mdouble_ __x, _Mdouble_ __y));
      | ^~~~~~~~~~~~~~
In file included from /usr/include/c++/12/cmath:45:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:140:1: note:   no known conversion for argument 1 from ‘IssmDouble’ {aka ‘adouble’} to ‘double’
  140 | __MATHCALL_VEC (pow,, (_Mdouble_ __x, _Mdouble_ __y));
      | ^
/usr/include/c++/12/cmath:388:3: note: candidate: ‘constexpr float std::pow(float, float)’
  388 |   pow(float __x, float __y)
      |   ^~~
/usr/include/c++/12/cmath:388:13: note:   no known conversion for argument 1 from ‘IssmDouble’ {aka ‘adouble’} to ‘float’
  388 |   pow(float __x, float __y)
      |       ~~~~~~^~~
/usr/include/c++/12/cmath:392:3: note: candidate: ‘constexpr long double std::pow(long double, long double)’
  392 |   pow(long double __x, long double __y)
      |   ^~~
/usr/include/c++/12/cmath:392:19: note:   no known conversion for argument 1 from ‘IssmDouble’ {aka ‘adouble’} to ‘long double’
  392 |   pow(long double __x, long double __y)
      |       ~~~~~~~~~~~~^~~
./classes/Elements/Tria.cpp:829:61: error: no matching function for call to ‘erf(adub)’
  829 |                         water_depth[iv] = 0.9*sigma*std::erf(0.27*S)*(1-(0.08*std::pow(hurst,0.6))-(0.72*std::erf(0.76*S)));}
      |                                                     ~~~~~~~~^~~~~~~~
/usr/include/c++/12/cmath:1318:5: note: candidate: ‘template<class _Tp> constexpr typename __gnu_cxx::__enable_if<std::__is_integer<_Tp>::__value, double>::__type std::erf(_Tp)’
 1318 |     erf(_Tp __x)
      |     ^~~
/usr/include/c++/12/cmath:1318:5: note:   template argument deduction/substitution failed:
/usr/include/c++/12/cmath: In substitution of ‘template<class _Tp> constexpr typename __gnu_cxx::__enable_if<std::__is_integer<_Tp>::__value, double>::__type std::erf(_Tp) [with _Tp = adub]’:
./classes/Elements/Tria.cpp:829:40:   required from here
/usr/include/c++/12/cmath:1318:5: error: no type named ‘__type’ in ‘struct __gnu_cxx::__enable_if<false, double>’
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:231:1: note: candidate: ‘double erf(double)’
  231 | __MATHCALL_VEC (erf,, (_Mdouble_));
      | ^~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:231:24: note:   no known conversion for argument 1 from ‘adub’ to ‘double’
  231 | __MATHCALL_VEC (erf,, (_Mdouble_));
      |                        ^~~~~~~~~
/usr/include/c++/12/cmath:1306:3: note: candidate: ‘constexpr float std::erf(float)’
 1306 |   erf(float __x)
      |   ^~~
/usr/include/c++/12/cmath:1306:13: note:   no known conversion for argument 1 from ‘adub’ to ‘float’
 1306 |   erf(float __x)
      |       ~~~~~~^~~
/usr/include/c++/12/cmath:1310:3: note: candidate: ‘constexpr long double std::erf(long double)’
 1310 |   erf(long double __x)
      |   ^~~
/usr/include/c++/12/cmath:1310:19: note:   no known conversion for argument 1 from ‘adub’ to ‘long double’
 1310 |   erf(long double __x)
      |       ~~~~~~~~~~~~^~~
./classes/Elements/Tria.cpp:829:87: error: no matching function for call to ‘pow(IssmDouble&, double)’
  829 |                         water_depth[iv] = 0.9*sigma*std::erf(0.27*S)*(1-(0.08*std::pow(hurst,0.6))-(0.72*std::erf(0.76*S)));}
      |                                                                               ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/cmath:415:5: note: candidate: ‘template<class _Tp, class _Up> constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::pow(_Tp, _Up)’
  415 |     pow(_Tp __x, _Up __y)
      |     ^~~
/usr/include/c++/12/cmath:415:5: note:   template argument deduction/substitution failed:
/usr/include/c++/12/cmath: In substitution of ‘template<class _Tp, class _Up> constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::pow(_Tp, _Up) [with _Tp = adouble; _Up = double]’:
./classes/Elements/Tria.cpp:829:66:   required from here
/usr/include/c++/12/cmath:415:5: error: no type named ‘__type’ in ‘struct __gnu_cxx::__promote<adouble, false>’
/usr/include/c++/12/complex:1019:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::pow(const complex<_Tp>&, int)’
 1019 |     pow(const complex<_Tp>& __z, int __n)
      |     ^~~
/usr/include/c++/12/complex:1019:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:829:87: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  829 |                         water_depth[iv] = 0.9*sigma*std::erf(0.27*S)*(1-(0.08*std::pow(hurst,0.6))-(0.72*std::erf(0.76*S)));}
      |                                                                               ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1028:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::pow(const complex<_Tp>&, const _Tp&)’
 1028 |     pow(const complex<_Tp>& __x, const _Tp& __y)
      |     ^~~
/usr/include/c++/12/complex:1028:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:829:87: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  829 |                         water_depth[iv] = 0.9*sigma*std::erf(0.27*S)*(1-(0.08*std::pow(hurst,0.6))-(0.72*std::erf(0.76*S)));}
      |                                                                               ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1062:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::pow(const complex<_Tp>&, const complex<_Tp>&)’
 1062 |     pow(const complex<_Tp>& __x, const complex<_Tp>& __y)
      |     ^~~
/usr/include/c++/12/complex:1062:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:829:87: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  829 |                         water_depth[iv] = 0.9*sigma*std::erf(0.27*S)*(1-(0.08*std::pow(hurst,0.6))-(0.72*std::erf(0.76*S)));}
      |                                                                               ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1073:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::pow(const _Tp&, const complex<_Tp>&)’
 1073 |     pow(const _Tp& __x, const complex<_Tp>& __y)
      |     ^~~
/usr/include/c++/12/complex:1073:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:829:87: note:   mismatched types ‘const std::complex<_Tp>’ and ‘double’
  829 |                         water_depth[iv] = 0.9*sigma*std::erf(0.27*S)*(1-(0.08*std::pow(hurst,0.6))-(0.72*std::erf(0.76*S)));}
      |                                                                               ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1854:5: note: candidate: ‘template<class _Tp, class _Up> std::complex<typename __gnu_cxx::__promote_2<_Tp, _Up>::__type> std::pow(const complex<_Tp>&, const _Up&)’
 1854 |     pow(const std::complex<_Tp>& __x, const _Up& __y)
      |     ^~~
/usr/include/c++/12/complex:1854:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:829:87: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  829 |                         water_depth[iv] = 0.9*sigma*std::erf(0.27*S)*(1-(0.08*std::pow(hurst,0.6))-(0.72*std::erf(0.76*S)));}
      |                                                                               ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1862:5: note: candidate: ‘template<class _Tp, class _Up> std::complex<typename __gnu_cxx::__promote_2<_Tp, _Up>::__type> std::pow(const _Tp&, const complex<_Up>&)’
 1862 |     pow(const _Tp& __x, const std::complex<_Up>& __y)
      |     ^~~
/usr/include/c++/12/complex:1862:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:829:87: note:   mismatched types ‘const std::complex<_Up>’ and ‘double’
  829 |                         water_depth[iv] = 0.9*sigma*std::erf(0.27*S)*(1-(0.08*std::pow(hurst,0.6))-(0.72*std::erf(0.76*S)));}
      |                                                                               ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1870:5: note: candidate: ‘template<class _Tp, class _Up> std::complex<typename __gnu_cxx::__promote_2<_Tp, _Up>::__type> std::pow(const complex<_Tp>&, const complex<_Up>&)’
 1870 |     pow(const std::complex<_Tp>& __x, const std::complex<_Up>& __y)
      |     ^~~
/usr/include/c++/12/complex:1870:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:829:87: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  829 |                         water_depth[iv] = 0.9*sigma*std::erf(0.27*S)*(1-(0.08*std::pow(hurst,0.6))-(0.72*std::erf(0.76*S)));}
      |                                                                               ~~~~~~~~^~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:140:1: note: candidate: ‘double pow(double, double)’
  140 | __MATHCALL_VEC (pow,, (_Mdouble_ __x, _Mdouble_ __y));
      | ^~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:140:1: note:   no known conversion for argument 1 from ‘IssmDouble’ {aka ‘adouble’} to ‘double’
  140 | __MATHCALL_VEC (pow,, (_Mdouble_ __x, _Mdouble_ __y));
      | ^
/usr/include/c++/12/cmath:388:3: note: candidate: ‘constexpr float std::pow(float, float)’
  388 |   pow(float __x, float __y)
      |   ^~~
/usr/include/c++/12/cmath:388:13: note:   no known conversion for argument 1 from ‘IssmDouble’ {aka ‘adouble’} to ‘float’
  388 |   pow(float __x, float __y)
      |       ~~~~~~^~~
/usr/include/c++/12/cmath:392:3: note: candidate: ‘constexpr long double std::pow(long double, long double)’
  392 |   pow(long double __x, long double __y)
      |   ^~~
/usr/include/c++/12/cmath:392:19: note:   no known conversion for argument 1 from ‘IssmDouble’ {aka ‘adouble’} to ‘long double’
  392 |   pow(long double __x, long double __y)
      |       ~~~~~~~~~~~~^~~
./classes/Elements/Tria.cpp:829:114: error: no matching function for call to ‘erf(adub)’
  829 |                         water_depth[iv] = 0.9*sigma*std::erf(0.27*S)*(1-(0.08*std::pow(hurst,0.6))-(0.72*std::erf(0.76*S)));}
      |                                                                                                          ~~~~~~~~^~~~~~~~
/usr/include/c++/12/cmath:1318:5: note: candidate: ‘template<class _Tp> constexpr typename __gnu_cxx::__enable_if<std::__is_integer<_Tp>::__value, double>::__type std::erf(_Tp)’
 1318 |     erf(_Tp __x)
      |     ^~~
/usr/include/c++/12/cmath:1318:5: note:   template argument deduction/substitution failed:
/usr/include/c++/12/cmath: In substitution of ‘template<class _Tp> constexpr typename __gnu_cxx::__enable_if<std::__is_integer<_Tp>::__value, double>::__type std::erf(_Tp) [with _Tp = adub]’:
./classes/Elements/Tria.cpp:829:93:   required from here
/usr/include/c++/12/cmath:1318:5: error: no type named ‘__type’ in ‘struct __gnu_cxx::__enable_if<false, double>’
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:231:1: note: candidate: ‘double erf(double)’
  231 | __MATHCALL_VEC (erf,, (_Mdouble_));
      | ^~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:231:24: note:   no known conversion for argument 1 from ‘adub’ to ‘double’
  231 | __MATHCALL_VEC (erf,, (_Mdouble_));
      |                        ^~~~~~~~~
/usr/include/c++/12/cmath:1306:3: note: candidate: ‘constexpr float std::erf(float)’
 1306 |   erf(float __x)
      |   ^~~
/usr/include/c++/12/cmath:1306:13: note:   no known conversion for argument 1 from ‘adub’ to ‘float’
 1306 |   erf(float __x)
      |       ~~~~~~^~~
/usr/include/c++/12/cmath:1310:3: note: candidate: ‘constexpr long double std::erf(long double)’
 1310 |   erf(long double __x)
      |   ^~~
/usr/include/c++/12/cmath:1310:19: note:   no known conversion for argument 1 from ‘adub’ to ‘long double’
 1310 |   erf(long double __x)
      |       ~~~~~~~~~~~~^~~
./classes/Elements/Tria.cpp:834:60: error: no matching function for call to ‘pow(IssmDouble&, double)’
  834 |                         wd_star = sigma*(0.2-(0.12*std::pow(hurst,0.6)));
      |                                                    ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/cmath:415:5: note: candidate: ‘template<class _Tp, class _Up> constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::pow(_Tp, _Up)’
  415 |     pow(_Tp __x, _Up __y)
      |     ^~~
/usr/include/c++/12/cmath:415:5: note:   template argument deduction/substitution failed:
/usr/include/c++/12/cmath: In substitution of ‘template<class _Tp, class _Up> constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::pow(_Tp, _Up) [with _Tp = adouble; _Up = double]’:
./classes/Elements/Tria.cpp:834:39:   required from here
/usr/include/c++/12/cmath:415:5: error: no type named ‘__type’ in ‘struct __gnu_cxx::__promote<adouble, false>’
/usr/include/c++/12/complex:1019:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::pow(const complex<_Tp>&, int)’
 1019 |     pow(const complex<_Tp>& __z, int __n)
      |     ^~~
/usr/include/c++/12/complex:1019:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:834:60: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  834 |                         wd_star = sigma*(0.2-(0.12*std::pow(hurst,0.6)));
      |                                                    ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1028:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::pow(const complex<_Tp>&, const _Tp&)’
 1028 |     pow(const complex<_Tp>& __x, const _Tp& __y)
      |     ^~~
/usr/include/c++/12/complex:1028:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:834:60: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  834 |                         wd_star = sigma*(0.2-(0.12*std::pow(hurst,0.6)));
      |                                                    ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1062:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::pow(const complex<_Tp>&, const complex<_Tp>&)’
 1062 |     pow(const complex<_Tp>& __x, const complex<_Tp>& __y)
      |     ^~~
/usr/include/c++/12/complex:1062:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:834:60: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  834 |                         wd_star = sigma*(0.2-(0.12*std::pow(hurst,0.6)));
      |                                                    ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1073:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::pow(const _Tp&, const complex<_Tp>&)’
 1073 |     pow(const _Tp& __x, const complex<_Tp>& __y)
      |     ^~~
/usr/include/c++/12/complex:1073:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:834:60: note:   mismatched types ‘const std::complex<_Tp>’ and ‘double’
  834 |                         wd_star = sigma*(0.2-(0.12*std::pow(hurst,0.6)));
      |                                                    ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1854:5: note: candidate: ‘template<class _Tp, class _Up> std::complex<typename __gnu_cxx::__promote_2<_Tp, _Up>::__type> std::pow(const complex<_Tp>&, const _Up&)’
 1854 |     pow(const std::complex<_Tp>& __x, const _Up& __y)
      |     ^~~
/usr/include/c++/12/complex:1854:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:834:60: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  834 |                         wd_star = sigma*(0.2-(0.12*std::pow(hurst,0.6)));
      |                                                    ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1862:5: note: candidate: ‘template<class _Tp, class _Up> std::complex<typename __gnu_cxx::__promote_2<_Tp, _Up>::__type> std::pow(const _Tp&, const complex<_Up>&)’
 1862 |     pow(const _Tp& __x, const std::complex<_Up>& __y)
      |     ^~~
/usr/include/c++/12/complex:1862:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:834:60: note:   mismatched types ‘const std::complex<_Up>’ and ‘double’
  834 |                         wd_star = sigma*(0.2-(0.12*std::pow(hurst,0.6)));
      |                                                    ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1870:5: note: candidate: ‘template<class _Tp, class _Up> std::complex<typename __gnu_cxx::__promote_2<_Tp, _Up>::__type> std::pow(const complex<_Tp>&, const complex<_Up>&)’
 1870 |     pow(const std::complex<_Tp>& __x, const std::complex<_Up>& __y)
      |     ^~~
/usr/include/c++/12/complex:1870:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:834:60: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  834 |                         wd_star = sigma*(0.2-(0.12*std::pow(hurst,0.6)));
      |                                                    ~~~~~~~~^~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:140:1: note: candidate: ‘double pow(double, double)’
  140 | __MATHCALL_VEC (pow,, (_Mdouble_ __x, _Mdouble_ __y));
      | ^~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:140:1: note:   no known conversion for argument 1 from ‘IssmDouble’ {aka ‘adouble’} to ‘double’
  140 | __MATHCALL_VEC (pow,, (_Mdouble_ __x, _Mdouble_ __y));
      | ^
/usr/include/c++/12/cmath:388:3: note: candidate: ‘constexpr float std::pow(float, float)’
  388 |   pow(float __x, float __y)
      |   ^~~
/usr/include/c++/12/cmath:388:13: note:   no known conversion for argument 1 from ‘IssmDouble’ {aka ‘adouble’} to ‘float’
  388 |   pow(float __x, float __y)
      |       ~~~~~~^~~
/usr/include/c++/12/cmath:392:3: note: candidate: ‘constexpr long double std::pow(long double, long double)’
  392 |   pow(long double __x, long double __y)
      |   ^~~
/usr/include/c++/12/cmath:392:19: note:   no known conversion for argument 1 from ‘IssmDouble’ {aka ‘adouble’} to ‘long double’
  392 |   pow(long double __x, long double __y)
      |       ~~~~~~~~~~~~^~~
./classes/Elements/Tria.cpp:836:60: error: no matching function for call to ‘erf(adub)’
  836 |                         lake_depth[iv] = 0.6*sigma*std::erf(67*S)*(1-(0.41*std::pow(hurst,0.6)));}
      |                                                    ~~~~~~~~^~~~~~
/usr/include/c++/12/cmath:1318:5: note: candidate: ‘template<class _Tp> constexpr typename __gnu_cxx::__enable_if<std::__is_integer<_Tp>::__value, double>::__type std::erf(_Tp)’
 1318 |     erf(_Tp __x)
      |     ^~~
/usr/include/c++/12/cmath:1318:5: note:   template argument deduction/substitution failed:
/usr/include/c++/12/cmath: In substitution of ‘template<class _Tp> constexpr typename __gnu_cxx::__enable_if<std::__is_integer<_Tp>::__value, double>::__type std::erf(_Tp) [with _Tp = adub]’:
./classes/Elements/Tria.cpp:836:39:   required from here
/usr/include/c++/12/cmath:1318:5: error: no type named ‘__type’ in ‘struct __gnu_cxx::__enable_if<false, double>’
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:231:1: note: candidate: ‘double erf(double)’
  231 | __MATHCALL_VEC (erf,, (_Mdouble_));
      | ^~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:231:24: note:   no known conversion for argument 1 from ‘adub’ to ‘double’
  231 | __MATHCALL_VEC (erf,, (_Mdouble_));
      |                        ^~~~~~~~~
/usr/include/c++/12/cmath:1306:3: note: candidate: ‘constexpr float std::erf(float)’
 1306 |   erf(float __x)
      |   ^~~
/usr/include/c++/12/cmath:1306:13: note:   no known conversion for argument 1 from ‘adub’ to ‘float’
 1306 |   erf(float __x)
      |       ~~~~~~^~~
/usr/include/c++/12/cmath:1310:3: note: candidate: ‘constexpr long double std::erf(long double)’
 1310 |   erf(long double __x)
      |   ^~~
/usr/include/c++/12/cmath:1310:19: note:   no known conversion for argument 1 from ‘adub’ to ‘long double’
 1310 |   erf(long double __x)
      |       ~~~~~~~~~~~~^~~
./classes/Elements/Tria.cpp:836:84: error: no matching function for call to ‘pow(IssmDouble&, double)’
  836 |                         lake_depth[iv] = 0.6*sigma*std::erf(67*S)*(1-(0.41*std::pow(hurst,0.6)));}
      |                                                                            ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/cmath:415:5: note: candidate: ‘template<class _Tp, class _Up> constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::pow(_Tp, _Up)’
  415 |     pow(_Tp __x, _Up __y)
      |     ^~~
/usr/include/c++/12/cmath:415:5: note:   template argument deduction/substitution failed:
/usr/include/c++/12/cmath: In substitution of ‘template<class _Tp, class _Up> constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::pow(_Tp, _Up) [with _Tp = adouble; _Up = double]’:
./classes/Elements/Tria.cpp:836:63:   required from here
/usr/include/c++/12/cmath:415:5: error: no type named ‘__type’ in ‘struct __gnu_cxx::__promote<adouble, false>’
/usr/include/c++/12/complex:1019:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::pow(const complex<_Tp>&, int)’
 1019 |     pow(const complex<_Tp>& __z, int __n)
      |     ^~~
/usr/include/c++/12/complex:1019:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:836:84: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  836 |                         lake_depth[iv] = 0.6*sigma*std::erf(67*S)*(1-(0.41*std::pow(hurst,0.6)));}
      |                                                                            ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1028:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::pow(const complex<_Tp>&, const _Tp&)’
 1028 |     pow(const complex<_Tp>& __x, const _Tp& __y)
      |     ^~~
/usr/include/c++/12/complex:1028:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:836:84: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  836 |                         lake_depth[iv] = 0.6*sigma*std::erf(67*S)*(1-(0.41*std::pow(hurst,0.6)));}
      |                                                                            ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1062:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::pow(const complex<_Tp>&, const complex<_Tp>&)’
 1062 |     pow(const complex<_Tp>& __x, const complex<_Tp>& __y)
      |     ^~~
/usr/include/c++/12/complex:1062:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:836:84: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  836 |                         lake_depth[iv] = 0.6*sigma*std::erf(67*S)*(1-(0.41*std::pow(hurst,0.6)));}
      |                                                                            ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1073:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::pow(const _Tp&, const complex<_Tp>&)’
 1073 |     pow(const _Tp& __x, const complex<_Tp>& __y)
      |     ^~~
/usr/include/c++/12/complex:1073:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:836:84: note:   mismatched types ‘const std::complex<_Tp>’ and ‘double’
  836 |                         lake_depth[iv] = 0.6*sigma*std::erf(67*S)*(1-(0.41*std::pow(hurst,0.6)));}
      |                                                                            ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1854:5: note: candidate: ‘template<class _Tp, class _Up> std::complex<typename __gnu_cxx::__promote_2<_Tp, _Up>::__type> std::pow(const complex<_Tp>&, const _Up&)’
 1854 |     pow(const std::complex<_Tp>& __x, const _Up& __y)
      |     ^~~
/usr/include/c++/12/complex:1854:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:836:84: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  836 |                         lake_depth[iv] = 0.6*sigma*std::erf(67*S)*(1-(0.41*std::pow(hurst,0.6)));}
      |                                                                            ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1862:5: note: candidate: ‘template<class _Tp, class _Up> std::complex<typename __gnu_cxx::__promote_2<_Tp, _Up>::__type> std::pow(const _Tp&, const complex<_Up>&)’
 1862 |     pow(const _Tp& __x, const std::complex<_Up>& __y)
      |     ^~~
/usr/include/c++/12/complex:1862:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:836:84: note:   mismatched types ‘const std::complex<_Up>’ and ‘double’
  836 |                         lake_depth[iv] = 0.6*sigma*std::erf(67*S)*(1-(0.41*std::pow(hurst,0.6)));}
      |                                                                            ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1870:5: note: candidate: ‘template<class _Tp, class _Up> std::complex<typename __gnu_cxx::__promote_2<_Tp, _Up>::__type> std::pow(const complex<_Tp>&, const complex<_Up>&)’
 1870 |     pow(const std::complex<_Tp>& __x, const std::complex<_Up>& __y)
      |     ^~~
/usr/include/c++/12/complex:1870:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:836:84: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  836 |                         lake_depth[iv] = 0.6*sigma*std::erf(67*S)*(1-(0.41*std::pow(hurst,0.6)));}
      |                                                                            ~~~~~~~~^~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:140:1: note: candidate: ‘double pow(double, double)’
  140 | __MATHCALL_VEC (pow,, (_Mdouble_ __x, _Mdouble_ __y));
      | ^~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:140:1: note:   no known conversion for argument 1 from ‘IssmDouble’ {aka ‘adouble’} to ‘double’
  140 | __MATHCALL_VEC (pow,, (_Mdouble_ __x, _Mdouble_ __y));
      | ^
/usr/include/c++/12/cmath:388:3: note: candidate: ‘constexpr float std::pow(float, float)’
  388 |   pow(float __x, float __y)
      |   ^~~
/usr/include/c++/12/cmath:388:13: note:   no known conversion for argument 1 from ‘IssmDouble’ {aka ‘adouble’} to ‘float’
  388 |   pow(float __x, float __y)
      |       ~~~~~~^~~
/usr/include/c++/12/cmath:392:3: note: candidate: ‘constexpr long double std::pow(long double, long double)’
  392 |   pow(long double __x, long double __y)
      |   ^~~
/usr/include/c++/12/cmath:392:19: note:   no known conversion for argument 1 from ‘IssmDouble’ {aka ‘adouble’} to ‘long double’
  392 |   pow(long double __x, long double __y)
      |       ~~~~~~~~~~~~^~~
./classes/Elements/Tria.cpp:896:68: error: no matching function for call to ‘pow(IssmDouble&, double)’
  896 |                                 wd_star = sigma*(0.2-(0.12*std::pow(hurst,0.6)));
      |                                                            ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/cmath:415:5: note: candidate: ‘template<class _Tp, class _Up> constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::pow(_Tp, _Up)’
  415 |     pow(_Tp __x, _Up __y)
      |     ^~~
/usr/include/c++/12/cmath:415:5: note:   template argument deduction/substitution failed:
/usr/include/c++/12/cmath: In substitution of ‘template<class _Tp, class _Up> constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::pow(_Tp, _Up) [with _Tp = adouble; _Up = double]’:
./classes/Elements/Tria.cpp:896:40:   required from here
/usr/include/c++/12/cmath:415:5: error: no type named ‘__type’ in ‘struct __gnu_cxx::__promote<adouble, false>’
/usr/include/c++/12/complex:1019:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::pow(const complex<_Tp>&, int)’
 1019 |     pow(const complex<_Tp>& __z, int __n)
      |     ^~~
/usr/include/c++/12/complex:1019:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:896:68: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  896 |                                 wd_star = sigma*(0.2-(0.12*std::pow(hurst,0.6)));
      |                                                            ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1028:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::pow(const complex<_Tp>&, const _Tp&)’
 1028 |     pow(const complex<_Tp>& __x, const _Tp& __y)
      |     ^~~
/usr/include/c++/12/complex:1028:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:896:68: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  896 |                                 wd_star = sigma*(0.2-(0.12*std::pow(hurst,0.6)));
      |                                                            ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1062:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::pow(const complex<_Tp>&, const complex<_Tp>&)’
 1062 |     pow(const complex<_Tp>& __x, const complex<_Tp>& __y)
      |     ^~~
/usr/include/c++/12/complex:1062:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:896:68: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  896 |                                 wd_star = sigma*(0.2-(0.12*std::pow(hurst,0.6)));
      |                                                            ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1073:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::pow(const _Tp&, const complex<_Tp>&)’
 1073 |     pow(const _Tp& __x, const complex<_Tp>& __y)
      |     ^~~
/usr/include/c++/12/complex:1073:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:896:68: note:   mismatched types ‘const std::complex<_Tp>’ and ‘double’
  896 |                                 wd_star = sigma*(0.2-(0.12*std::pow(hurst,0.6)));
      |                                                            ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1854:5: note: candidate: ‘template<class _Tp, class _Up> std::complex<typename __gnu_cxx::__promote_2<_Tp, _Up>::__type> std::pow(const complex<_Tp>&, const _Up&)’
 1854 |     pow(const std::complex<_Tp>& __x, const _Up& __y)
      |     ^~~
/usr/include/c++/12/complex:1854:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:896:68: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  896 |                                 wd_star = sigma*(0.2-(0.12*std::pow(hurst,0.6)));
      |                                                            ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1862:5: note: candidate: ‘template<class _Tp, class _Up> std::complex<typename __gnu_cxx::__promote_2<_Tp, _Up>::__type> std::pow(const _Tp&, const complex<_Up>&)’
 1862 |     pow(const _Tp& __x, const std::complex<_Up>& __y)
      |     ^~~
/usr/include/c++/12/complex:1862:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:896:68: note:   mismatched types ‘const std::complex<_Up>’ and ‘double’
  896 |                                 wd_star = sigma*(0.2-(0.12*std::pow(hurst,0.6)));
      |                                                            ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1870:5: note: candidate: ‘template<class _Tp, class _Up> std::complex<typename __gnu_cxx::__promote_2<_Tp, _Up>::__type> std::pow(const complex<_Tp>&, const complex<_Up>&)’
 1870 |     pow(const std::complex<_Tp>& __x, const std::complex<_Up>& __y)
      |     ^~~
/usr/include/c++/12/complex:1870:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:896:68: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  896 |                                 wd_star = sigma*(0.2-(0.12*std::pow(hurst,0.6)));
      |                                                            ~~~~~~~~^~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:140:1: note: candidate: ‘double pow(double, double)’
  140 | __MATHCALL_VEC (pow,, (_Mdouble_ __x, _Mdouble_ __y));
      | ^~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:140:1: note:   no known conversion for argument 1 from ‘IssmDouble’ {aka ‘adouble’} to ‘double’
  140 | __MATHCALL_VEC (pow,, (_Mdouble_ __x, _Mdouble_ __y));
      | ^
/usr/include/c++/12/cmath:388:3: note: candidate: ‘constexpr float std::pow(float, float)’
  388 |   pow(float __x, float __y)
      |   ^~~
/usr/include/c++/12/cmath:388:13: note:   no known conversion for argument 1 from ‘IssmDouble’ {aka ‘adouble’} to ‘float’
  388 |   pow(float __x, float __y)
      |       ~~~~~~^~~
/usr/include/c++/12/cmath:392:3: note: candidate: ‘constexpr long double std::pow(long double, long double)’
  392 |   pow(long double __x, long double __y)
      |   ^~~
/usr/include/c++/12/cmath:392:19: note:   no known conversion for argument 1 from ‘IssmDouble’ {aka ‘adouble’} to ‘long double’
  392 |   pow(long double __x, long double __y)
      |       ~~~~~~~~~~~~^~~
./classes/Elements/Tria.cpp:898:69: error: no matching function for call to ‘erf(adub)’
  898 |                                 water_depth[iv] = 0.9*sigma*std::erf(0.27*S)*(1-(0.08*std::pow(hurst,0.6))-(0.72*std::erf(0.76*S)));
      |                                                             ~~~~~~~~^~~~~~~~
/usr/include/c++/12/cmath:1318:5: note: candidate: ‘template<class _Tp> constexpr typename __gnu_cxx::__enable_if<std::__is_integer<_Tp>::__value, double>::__type std::erf(_Tp)’
 1318 |     erf(_Tp __x)
      |     ^~~
/usr/include/c++/12/cmath:1318:5: note:   template argument deduction/substitution failed:
/usr/include/c++/12/cmath: In substitution of ‘template<class _Tp> constexpr typename __gnu_cxx::__enable_if<std::__is_integer<_Tp>::__value, double>::__type std::erf(_Tp) [with _Tp = adub]’:
./classes/Elements/Tria.cpp:898:41:   required from here
/usr/include/c++/12/cmath:1318:5: error: no type named ‘__type’ in ‘struct __gnu_cxx::__enable_if<false, double>’
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:231:1: note: candidate: ‘double erf(double)’
  231 | __MATHCALL_VEC (erf,, (_Mdouble_));
      | ^~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:231:24: note:   no known conversion for argument 1 from ‘adub’ to ‘double’
  231 | __MATHCALL_VEC (erf,, (_Mdouble_));
      |                        ^~~~~~~~~
/usr/include/c++/12/cmath:1306:3: note: candidate: ‘constexpr float std::erf(float)’
 1306 |   erf(float __x)
      |   ^~~
/usr/include/c++/12/cmath:1306:13: note:   no known conversion for argument 1 from ‘adub’ to ‘float’
 1306 |   erf(float __x)
      |       ~~~~~~^~~
/usr/include/c++/12/cmath:1310:3: note: candidate: ‘constexpr long double std::erf(long double)’
 1310 |   erf(long double __x)
      |   ^~~
/usr/include/c++/12/cmath:1310:19: note:   no known conversion for argument 1 from ‘adub’ to ‘long double’
 1310 |   erf(long double __x)
      |       ~~~~~~~~~~~~^~~
./classes/Elements/Tria.cpp:898:95: error: no matching function for call to ‘pow(IssmDouble&, double)’
  898 |                                 water_depth[iv] = 0.9*sigma*std::erf(0.27*S)*(1-(0.08*std::pow(hurst,0.6))-(0.72*std::erf(0.76*S)));
      |                                                                                       ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/cmath:415:5: note: candidate: ‘template<class _Tp, class _Up> constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::pow(_Tp, _Up)’
  415 |     pow(_Tp __x, _Up __y)
      |     ^~~
/usr/include/c++/12/cmath:415:5: note:   template argument deduction/substitution failed:
/usr/include/c++/12/cmath: In substitution of ‘template<class _Tp, class _Up> constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::pow(_Tp, _Up) [with _Tp = adouble; _Up = double]’:
./classes/Elements/Tria.cpp:898:67:   required from here
/usr/include/c++/12/cmath:415:5: error: no type named ‘__type’ in ‘struct __gnu_cxx::__promote<adouble, false>’
/usr/include/c++/12/complex:1019:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::pow(const complex<_Tp>&, int)’
 1019 |     pow(const complex<_Tp>& __z, int __n)
      |     ^~~
/usr/include/c++/12/complex:1019:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:898:95: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  898 |                                 water_depth[iv] = 0.9*sigma*std::erf(0.27*S)*(1-(0.08*std::pow(hurst,0.6))-(0.72*std::erf(0.76*S)));
      |                                                                                       ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1028:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::pow(const complex<_Tp>&, const _Tp&)’
 1028 |     pow(const complex<_Tp>& __x, const _Tp& __y)
      |     ^~~
/usr/include/c++/12/complex:1028:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:898:95: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  898 |                                 water_depth[iv] = 0.9*sigma*std::erf(0.27*S)*(1-(0.08*std::pow(hurst,0.6))-(0.72*std::erf(0.76*S)));
      |                                                                                       ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1062:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::pow(const complex<_Tp>&, const complex<_Tp>&)’
 1062 |     pow(const complex<_Tp>& __x, const complex<_Tp>& __y)
      |     ^~~
/usr/include/c++/12/complex:1062:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:898:95: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  898 |                                 water_depth[iv] = 0.9*sigma*std::erf(0.27*S)*(1-(0.08*std::pow(hurst,0.6))-(0.72*std::erf(0.76*S)));
      |                                                                                       ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1073:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::pow(const _Tp&, const complex<_Tp>&)’
 1073 |     pow(const _Tp& __x, const complex<_Tp>& __y)
      |     ^~~
/usr/include/c++/12/complex:1073:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:898:95: note:   mismatched types ‘const std::complex<_Tp>’ and ‘double’
  898 |                                 water_depth[iv] = 0.9*sigma*std::erf(0.27*S)*(1-(0.08*std::pow(hurst,0.6))-(0.72*std::erf(0.76*S)));
      |                                                                                       ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1854:5: note: candidate: ‘template<class _Tp, class _Up> std::complex<typename __gnu_cxx::__promote_2<_Tp, _Up>::__type> std::pow(const complex<_Tp>&, const _Up&)’
 1854 |     pow(const std::complex<_Tp>& __x, const _Up& __y)
      |     ^~~
/usr/include/c++/12/complex:1854:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:898:95: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  898 |                                 water_depth[iv] = 0.9*sigma*std::erf(0.27*S)*(1-(0.08*std::pow(hurst,0.6))-(0.72*std::erf(0.76*S)));
      |                                                                                       ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1862:5: note: candidate: ‘template<class _Tp, class _Up> std::complex<typename __gnu_cxx::__promote_2<_Tp, _Up>::__type> std::pow(const _Tp&, const complex<_Up>&)’
 1862 |     pow(const _Tp& __x, const std::complex<_Up>& __y)
      |     ^~~
/usr/include/c++/12/complex:1862:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:898:95: note:   mismatched types ‘const std::complex<_Up>’ and ‘double’
  898 |                                 water_depth[iv] = 0.9*sigma*std::erf(0.27*S)*(1-(0.08*std::pow(hurst,0.6))-(0.72*std::erf(0.76*S)));
      |                                                                                       ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1870:5: note: candidate: ‘template<class _Tp, class _Up> std::complex<typename __gnu_cxx::__promote_2<_Tp, _Up>::__type> std::pow(const complex<_Tp>&, const complex<_Up>&)’
 1870 |     pow(const std::complex<_Tp>& __x, const std::complex<_Up>& __y)
      |     ^~~
/usr/include/c++/12/complex:1870:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:898:95: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  898 |                                 water_depth[iv] = 0.9*sigma*std::erf(0.27*S)*(1-(0.08*std::pow(hurst,0.6))-(0.72*std::erf(0.76*S)));
      |                                                                                       ~~~~~~~~^~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:140:1: note: candidate: ‘double pow(double, double)’
  140 | __MATHCALL_VEC (pow,, (_Mdouble_ __x, _Mdouble_ __y));
      | ^~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:140:1: note:   no known conversion for argument 1 from ‘IssmDouble’ {aka ‘adouble’} to ‘double’
  140 | __MATHCALL_VEC (pow,, (_Mdouble_ __x, _Mdouble_ __y));
      | ^
/usr/include/c++/12/cmath:388:3: note: candidate: ‘constexpr float std::pow(float, float)’
  388 |   pow(float __x, float __y)
      |   ^~~
/usr/include/c++/12/cmath:388:13: note:   no known conversion for argument 1 from ‘IssmDouble’ {aka ‘adouble’} to ‘float’
  388 |   pow(float __x, float __y)
      |       ~~~~~~^~~
/usr/include/c++/12/cmath:392:3: note: candidate: ‘constexpr long double std::pow(long double, long double)’
  392 |   pow(long double __x, long double __y)
      |   ^~~
/usr/include/c++/12/cmath:392:19: note:   no known conversion for argument 1 from ‘IssmDouble’ {aka ‘adouble’} to ‘long double’
  392 |   pow(long double __x, long double __y)
      |       ~~~~~~~~~~~~^~~
./classes/Elements/Tria.cpp:898:122: error: no matching function for call to ‘erf(adub)’
  898 |                                 water_depth[iv] = 0.9*sigma*std::erf(0.27*S)*(1-(0.08*std::pow(hurst,0.6))-(0.72*std::erf(0.76*S)));
      |                                                                                                                  ~~~~~~~~^~~~~~~~
/usr/include/c++/12/cmath:1318:5: note: candidate: ‘template<class _Tp> constexpr typename __gnu_cxx::__enable_if<std::__is_integer<_Tp>::__value, double>::__type std::erf(_Tp)’
 1318 |     erf(_Tp __x)
      |     ^~~
/usr/include/c++/12/cmath:1318:5: note:   template argument deduction/substitution failed:
/usr/include/c++/12/cmath: In substitution of ‘template<class _Tp> constexpr typename __gnu_cxx::__enable_if<std::__is_integer<_Tp>::__value, double>::__type std::erf(_Tp) [with _Tp = adub]’:
./classes/Elements/Tria.cpp:898:94:   required from here
/usr/include/c++/12/cmath:1318:5: error: no type named ‘__type’ in ‘struct __gnu_cxx::__enable_if<false, double>’
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:231:1: note: candidate: ‘double erf(double)’
  231 | __MATHCALL_VEC (erf,, (_Mdouble_));
      | ^~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:231:24: note:   no known conversion for argument 1 from ‘adub’ to ‘double’
  231 | __MATHCALL_VEC (erf,, (_Mdouble_));
      |                        ^~~~~~~~~
/usr/include/c++/12/cmath:1306:3: note: candidate: ‘constexpr float std::erf(float)’
 1306 |   erf(float __x)
      |   ^~~
/usr/include/c++/12/cmath:1306:13: note:   no known conversion for argument 1 from ‘adub’ to ‘float’
 1306 |   erf(float __x)
      |       ~~~~~~^~~
/usr/include/c++/12/cmath:1310:3: note: candidate: ‘constexpr long double std::erf(long double)’
 1310 |   erf(long double __x)
      |   ^~~
/usr/include/c++/12/cmath:1310:19: note:   no known conversion for argument 1 from ‘adub’ to ‘long double’
 1310 |   erf(long double __x)
      |       ~~~~~~~~~~~~^~~
./classes/Elements/Tria.cpp:901:68: error: no matching function for call to ‘pow(IssmDouble&, double)’
  901 |                                 wd_star = sigma*(0.2-(0.12*std::pow(hurst,0.6)));
      |                                                            ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/cmath:415:5: note: candidate: ‘template<class _Tp, class _Up> constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::pow(_Tp, _Up)’
  415 |     pow(_Tp __x, _Up __y)
      |     ^~~
/usr/include/c++/12/cmath:415:5: note:   template argument deduction/substitution failed:
/usr/include/c++/12/cmath: In substitution of ‘template<class _Tp, class _Up> constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::pow(_Tp, _Up) [with _Tp = adouble; _Up = double]’:
./classes/Elements/Tria.cpp:901:40:   required from here
/usr/include/c++/12/cmath:415:5: error: no type named ‘__type’ in ‘struct __gnu_cxx::__promote<adouble, false>’
/usr/include/c++/12/complex:1019:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::pow(const complex<_Tp>&, int)’
 1019 |     pow(const complex<_Tp>& __z, int __n)
      |     ^~~
/usr/include/c++/12/complex:1019:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:901:68: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  901 |                                 wd_star = sigma*(0.2-(0.12*std::pow(hurst,0.6)));
      |                                                            ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1028:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::pow(const complex<_Tp>&, const _Tp&)’
 1028 |     pow(const complex<_Tp>& __x, const _Tp& __y)
      |     ^~~
/usr/include/c++/12/complex:1028:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:901:68: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  901 |                                 wd_star = sigma*(0.2-(0.12*std::pow(hurst,0.6)));
      |                                                            ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1062:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::pow(const complex<_Tp>&, const complex<_Tp>&)’
 1062 |     pow(const complex<_Tp>& __x, const complex<_Tp>& __y)
      |     ^~~
/usr/include/c++/12/complex:1062:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:901:68: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  901 |                                 wd_star = sigma*(0.2-(0.12*std::pow(hurst,0.6)));
      |                                                            ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1073:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::pow(const _Tp&, const complex<_Tp>&)’
 1073 |     pow(const _Tp& __x, const complex<_Tp>& __y)
      |     ^~~
/usr/include/c++/12/complex:1073:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:901:68: note:   mismatched types ‘const std::complex<_Tp>’ and ‘double’
  901 |                                 wd_star = sigma*(0.2-(0.12*std::pow(hurst,0.6)));
      |                                                            ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1854:5: note: candidate: ‘template<class _Tp, class _Up> std::complex<typename __gnu_cxx::__promote_2<_Tp, _Up>::__type> std::pow(const complex<_Tp>&, const _Up&)’
 1854 |     pow(const std::complex<_Tp>& __x, const _Up& __y)
      |     ^~~
/usr/include/c++/12/complex:1854:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:901:68: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  901 |                                 wd_star = sigma*(0.2-(0.12*std::pow(hurst,0.6)));
      |                                                            ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1862:5: note: candidate: ‘template<class _Tp, class _Up> std::complex<typename __gnu_cxx::__promote_2<_Tp, _Up>::__type> std::pow(const _Tp&, const complex<_Up>&)’
 1862 |     pow(const _Tp& __x, const std::complex<_Up>& __y)
      |     ^~~
/usr/include/c++/12/complex:1862:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:901:68: note:   mismatched types ‘const std::complex<_Up>’ and ‘double’
  901 |                                 wd_star = sigma*(0.2-(0.12*std::pow(hurst,0.6)));
      |                                                            ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1870:5: note: candidate: ‘template<class _Tp, class _Up> std::complex<typename __gnu_cxx::__promote_2<_Tp, _Up>::__type> std::pow(const complex<_Tp>&, const complex<_Up>&)’
 1870 |     pow(const std::complex<_Tp>& __x, const std::complex<_Up>& __y)
      |     ^~~
/usr/include/c++/12/complex:1870:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:901:68: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  901 |                                 wd_star = sigma*(0.2-(0.12*std::pow(hurst,0.6)));
      |                                                            ~~~~~~~~^~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:140:1: note: candidate: ‘double pow(double, double)’
  140 | __MATHCALL_VEC (pow,, (_Mdouble_ __x, _Mdouble_ __y));
      | ^~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:140:1: note:   no known conversion for argument 1 from ‘IssmDouble’ {aka ‘adouble’} to ‘double’
  140 | __MATHCALL_VEC (pow,, (_Mdouble_ __x, _Mdouble_ __y));
      | ^
/usr/include/c++/12/cmath:388:3: note: candidate: ‘constexpr float std::pow(float, float)’
  388 |   pow(float __x, float __y)
      |   ^~~
/usr/include/c++/12/cmath:388:13: note:   no known conversion for argument 1 from ‘IssmDouble’ {aka ‘adouble’} to ‘float’
  388 |   pow(float __x, float __y)
      |       ~~~~~~^~~
/usr/include/c++/12/cmath:392:3: note: candidate: ‘constexpr long double std::pow(long double, long double)’
  392 |   pow(long double __x, long double __y)
      |   ^~~
/usr/include/c++/12/cmath:392:19: note:   no known conversion for argument 1 from ‘IssmDouble’ {aka ‘adouble’} to ‘long double’
  392 |   pow(long double __x, long double __y)
      |       ~~~~~~~~~~~~^~~
./classes/Elements/Tria.cpp:903:68: error: no matching function for call to ‘erf(adub)’
  903 |                                 lake_depth[iv] = 0.6*sigma*std::erf(67*S)*(1-(0.41*std::pow(hurst,0.6)));
      |                                                            ~~~~~~~~^~~~~~
/usr/include/c++/12/cmath:1318:5: note: candidate: ‘template<class _Tp> constexpr typename __gnu_cxx::__enable_if<std::__is_integer<_Tp>::__value, double>::__type std::erf(_Tp)’
 1318 |     erf(_Tp __x)
      |     ^~~
/usr/include/c++/12/cmath:1318:5: note:   template argument deduction/substitution failed:
/usr/include/c++/12/cmath: In substitution of ‘template<class _Tp> constexpr typename __gnu_cxx::__enable_if<std::__is_integer<_Tp>::__value, double>::__type std::erf(_Tp) [with _Tp = adub]’:
./classes/Elements/Tria.cpp:903:40:   required from here
/usr/include/c++/12/cmath:1318:5: error: no type named ‘__type’ in ‘struct __gnu_cxx::__enable_if<false, double>’
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:231:1: note: candidate: ‘double erf(double)’
  231 | __MATHCALL_VEC (erf,, (_Mdouble_));
      | ^~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:231:24: note:   no known conversion for argument 1 from ‘adub’ to ‘double’
  231 | __MATHCALL_VEC (erf,, (_Mdouble_));
      |                        ^~~~~~~~~
/usr/include/c++/12/cmath:1306:3: note: candidate: ‘constexpr float std::erf(float)’
 1306 |   erf(float __x)
      |   ^~~
/usr/include/c++/12/cmath:1306:13: note:   no known conversion for argument 1 from ‘adub’ to ‘float’
 1306 |   erf(float __x)
      |       ~~~~~~^~~
/usr/include/c++/12/cmath:1310:3: note: candidate: ‘constexpr long double std::erf(long double)’
 1310 |   erf(long double __x)
      |   ^~~
/usr/include/c++/12/cmath:1310:19: note:   no known conversion for argument 1 from ‘adub’ to ‘long double’
 1310 |   erf(long double __x)
      |       ~~~~~~~~~~~~^~~
./classes/Elements/Tria.cpp:903:92: error: no matching function for call to ‘pow(IssmDouble&, double)’
  903 |                                 lake_depth[iv] = 0.6*sigma*std::erf(67*S)*(1-(0.41*std::pow(hurst,0.6)));
      |                                                                                    ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/cmath:415:5: note: candidate: ‘template<class _Tp, class _Up> constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::pow(_Tp, _Up)’
  415 |     pow(_Tp __x, _Up __y)
      |     ^~~
/usr/include/c++/12/cmath:415:5: note:   template argument deduction/substitution failed:
/usr/include/c++/12/cmath: In substitution of ‘template<class _Tp, class _Up> constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::pow(_Tp, _Up) [with _Tp = adouble; _Up = double]’:
./classes/Elements/Tria.cpp:903:64:   required from here
/usr/include/c++/12/cmath:415:5: error: no type named ‘__type’ in ‘struct __gnu_cxx::__promote<adouble, false>’
/usr/include/c++/12/complex:1019:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::pow(const complex<_Tp>&, int)’
 1019 |     pow(const complex<_Tp>& __z, int __n)
      |     ^~~
/usr/include/c++/12/complex:1019:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:903:92: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  903 |                                 lake_depth[iv] = 0.6*sigma*std::erf(67*S)*(1-(0.41*std::pow(hurst,0.6)));
      |                                                                                    ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1028:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::pow(const complex<_Tp>&, const _Tp&)’
 1028 |     pow(const complex<_Tp>& __x, const _Tp& __y)
      |     ^~~
/usr/include/c++/12/complex:1028:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:903:92: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  903 |                                 lake_depth[iv] = 0.6*sigma*std::erf(67*S)*(1-(0.41*std::pow(hurst,0.6)));
      |                                                                                    ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1062:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::pow(const complex<_Tp>&, const complex<_Tp>&)’
 1062 |     pow(const complex<_Tp>& __x, const complex<_Tp>& __y)
      |     ^~~
/usr/include/c++/12/complex:1062:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:903:92: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  903 |                                 lake_depth[iv] = 0.6*sigma*std::erf(67*S)*(1-(0.41*std::pow(hurst,0.6)));
      |                                                                                    ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1073:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::pow(const _Tp&, const complex<_Tp>&)’
 1073 |     pow(const _Tp& __x, const complex<_Tp>& __y)
      |     ^~~
/usr/include/c++/12/complex:1073:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:903:92: note:   mismatched types ‘const std::complex<_Tp>’ and ‘double’
  903 |                                 lake_depth[iv] = 0.6*sigma*std::erf(67*S)*(1-(0.41*std::pow(hurst,0.6)));
      |                                                                                    ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1854:5: note: candidate: ‘template<class _Tp, class _Up> std::complex<typename __gnu_cxx::__promote_2<_Tp, _Up>::__type> std::pow(const complex<_Tp>&, const _Up&)’
 1854 |     pow(const std::complex<_Tp>& __x, const _Up& __y)
      |     ^~~
/usr/include/c++/12/complex:1854:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:903:92: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  903 |                                 lake_depth[iv] = 0.6*sigma*std::erf(67*S)*(1-(0.41*std::pow(hurst,0.6)));
      |                                                                                    ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1862:5: note: candidate: ‘template<class _Tp, class _Up> std::complex<typename __gnu_cxx::__promote_2<_Tp, _Up>::__type> std::pow(const _Tp&, const complex<_Up>&)’
 1862 |     pow(const _Tp& __x, const std::complex<_Up>& __y)
      |     ^~~
/usr/include/c++/12/complex:1862:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:903:92: note:   mismatched types ‘const std::complex<_Up>’ and ‘double’
  903 |                                 lake_depth[iv] = 0.6*sigma*std::erf(67*S)*(1-(0.41*std::pow(hurst,0.6)));
      |                                                                                    ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1870:5: note: candidate: ‘template<class _Tp, class _Up> std::complex<typename __gnu_cxx::__promote_2<_Tp, _Up>::__type> std::pow(const complex<_Tp>&, const complex<_Up>&)’
 1870 |     pow(const std::complex<_Tp>& __x, const std::complex<_Up>& __y)
      |     ^~~
/usr/include/c++/12/complex:1870:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:903:92: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  903 |                                 lake_depth[iv] = 0.6*sigma*std::erf(67*S)*(1-(0.41*std::pow(hurst,0.6)));
      |                                                                                    ~~~~~~~~^~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:140:1: note: candidate: ‘double pow(double, double)’
  140 | __MATHCALL_VEC (pow,, (_Mdouble_ __x, _Mdouble_ __y));
      | ^~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:140:1: note:   no known conversion for argument 1 from ‘IssmDouble’ {aka ‘adouble’} to ‘double’
  140 | __MATHCALL_VEC (pow,, (_Mdouble_ __x, _Mdouble_ __y));
      | ^
/usr/include/c++/12/cmath:388:3: note: candidate: ‘constexpr float std::pow(float, float)’
  388 |   pow(float __x, float __y)
      |   ^~~
/usr/include/c++/12/cmath:388:13: note:   no known conversion for argument 1 from ‘IssmDouble’ {aka ‘adouble’} to ‘float’
  388 |   pow(float __x, float __y)
      |       ~~~~~~^~~
/usr/include/c++/12/cmath:392:3: note: candidate: ‘constexpr long double std::pow(long double, long double)’
  392 |   pow(long double __x, long double __y)
      |   ^~~
/usr/include/c++/12/cmath:392:19: note:   no known conversion for argument 1 from ‘IssmDouble’ {aka ‘adouble’} to ‘long double’
  392 |   pow(long double __x, long double __y)
      |       ~~~~~~~~~~~~^~~
make[3]: *** [Makefile:6278: classes/Elements/libISSMCore_la-Tria.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/home/jenkins/workspace/Debian_Linux-ADOL-C/AMPI/ampion/label/Debian_12-VM/src/c'
make[2]: *** [Makefile:456: all-recursive] Error 1
make[2]: Leaving directory '/home/jenkins/workspace/Debian_Linux-ADOL-C/AMPI/ampion/label/Debian_12-VM/src'
make[1]: *** [Makefile:511: all-recursive] Error 1
make[1]: Leaving directory '/home/jenkins/workspace/Debian_Linux-ADOL-C/AMPI/ampion/label/Debian_12-VM'
make: *** [Makefile:443: all] Error 2
 
Compilation failed, trying to compile with only one thread
 
make  all-recursive
make[1]: Entering directory '/home/jenkins/workspace/Debian_Linux-ADOL-C/AMPI/ampion/label/Debian_12-VM'
Making all in src
make[2]: Entering directory '/home/jenkins/workspace/Debian_Linux-ADOL-C/AMPI/ampion/label/Debian_12-VM/src'
Making all in c
make[3]: Entering directory '/home/jenkins/workspace/Debian_Linux-ADOL-C/AMPI/ampion/label/Debian_12-VM/src/c'
  CXX      classes/Elements/libISSMCore_la-Tria.lo
./classes/Elements/Tria.cpp: In member function ‘virtual void Tria::CalvingCrevasseDepth()’:
./classes/Elements/Tria.cpp:827:60: error: no matching function for call to ‘pow(IssmDouble&, double)’
  827 |                         wd_star = sigma*(0.2-(0.12*std::pow(hurst,0.6)));
      |                                                    ~~~~~~~~^~~~~~~~~~~
In file included from /usr/include/c++/12/math.h:36,
                 from ./classes/Elements/Tria.cpp:14:
/usr/include/c++/12/cmath:415:5: note: candidate: ‘template<class _Tp, class _Up> constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::pow(_Tp, _Up)’
  415 |     pow(_Tp __x, _Up __y)
      |     ^~~
/usr/include/c++/12/cmath:415:5: note:   template argument deduction/substitution failed:
/usr/include/c++/12/cmath: In substitution of ‘template<class _Tp, class _Up> constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::pow(_Tp, _Up) [with _Tp = adouble; _Up = double]’:
./classes/Elements/Tria.cpp:827:39:   required from here
/usr/include/c++/12/cmath:415:5: error: no type named ‘__type’ in ‘struct __gnu_cxx::__promote<adouble, false>’
In file included from ./classes/Elements/.././../shared/./FSanalyticals/../Numerics/types.h:15,
                 from ./classes/Elements/.././../shared/./FSanalyticals/fsanalyticals.h:8,
                 from ./classes/Elements/.././../shared/shared.h:8,
                 from ./classes/Elements/.././Contour.h:10,
                 from ./classes/Elements/../classes.h:15,
                 from ./classes/Elements/Tria.cpp:19:
/usr/include/c++/12/complex:1019:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::pow(const complex<_Tp>&, int)’
 1019 |     pow(const complex<_Tp>& __z, int __n)
      |     ^~~
/usr/include/c++/12/complex:1019:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:827:60: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  827 |                         wd_star = sigma*(0.2-(0.12*std::pow(hurst,0.6)));
      |                                                    ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1028:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::pow(const complex<_Tp>&, const _Tp&)’
 1028 |     pow(const complex<_Tp>& __x, const _Tp& __y)
      |     ^~~
/usr/include/c++/12/complex:1028:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:827:60: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  827 |                         wd_star = sigma*(0.2-(0.12*std::pow(hurst,0.6)));
      |                                                    ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1062:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::pow(const complex<_Tp>&, const complex<_Tp>&)’
 1062 |     pow(const complex<_Tp>& __x, const complex<_Tp>& __y)
      |     ^~~
/usr/include/c++/12/complex:1062:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:827:60: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  827 |                         wd_star = sigma*(0.2-(0.12*std::pow(hurst,0.6)));
      |                                                    ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1073:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::pow(const _Tp&, const complex<_Tp>&)’
 1073 |     pow(const _Tp& __x, const complex<_Tp>& __y)
      |     ^~~
/usr/include/c++/12/complex:1073:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:827:60: note:   mismatched types ‘const std::complex<_Tp>’ and ‘double’
  827 |                         wd_star = sigma*(0.2-(0.12*std::pow(hurst,0.6)));
      |                                                    ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1854:5: note: candidate: ‘template<class _Tp, class _Up> std::complex<typename __gnu_cxx::__promote_2<_Tp, _Up>::__type> std::pow(const complex<_Tp>&, const _Up&)’
 1854 |     pow(const std::complex<_Tp>& __x, const _Up& __y)
      |     ^~~
/usr/include/c++/12/complex:1854:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:827:60: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  827 |                         wd_star = sigma*(0.2-(0.12*std::pow(hurst,0.6)));
      |                                                    ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1862:5: note: candidate: ‘template<class _Tp, class _Up> std::complex<typename __gnu_cxx::__promote_2<_Tp, _Up>::__type> std::pow(const _Tp&, const complex<_Up>&)’
 1862 |     pow(const _Tp& __x, const std::complex<_Up>& __y)
      |     ^~~
/usr/include/c++/12/complex:1862:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:827:60: note:   mismatched types ‘const std::complex<_Up>’ and ‘double’
  827 |                         wd_star = sigma*(0.2-(0.12*std::pow(hurst,0.6)));
      |                                                    ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1870:5: note: candidate: ‘template<class _Tp, class _Up> std::complex<typename __gnu_cxx::__promote_2<_Tp, _Up>::__type> std::pow(const complex<_Tp>&, const complex<_Up>&)’
 1870 |     pow(const std::complex<_Tp>& __x, const std::complex<_Up>& __y)
      |     ^~~
/usr/include/c++/12/complex:1870:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:827:60: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  827 |                         wd_star = sigma*(0.2-(0.12*std::pow(hurst,0.6)));
      |                                                    ~~~~~~~~^~~~~~~~~~~
In file included from /usr/include/features.h:489,
                 from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from ./classes/Elements/Tria.cpp:12:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:140:1: note: candidate: ‘double pow(double, double)’
  140 | __MATHCALL_VEC (pow,, (_Mdouble_ __x, _Mdouble_ __y));
      | ^~~~~~~~~~~~~~
In file included from /usr/include/c++/12/cmath:45:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:140:1: note:   no known conversion for argument 1 from ‘IssmDouble’ {aka ‘adouble’} to ‘double’
  140 | __MATHCALL_VEC (pow,, (_Mdouble_ __x, _Mdouble_ __y));
      | ^
/usr/include/c++/12/cmath:388:3: note: candidate: ‘constexpr float std::pow(float, float)’
  388 |   pow(float __x, float __y)
      |   ^~~
/usr/include/c++/12/cmath:388:13: note:   no known conversion for argument 1 from ‘IssmDouble’ {aka ‘adouble’} to ‘float’
  388 |   pow(float __x, float __y)
      |       ~~~~~~^~~
/usr/include/c++/12/cmath:392:3: note: candidate: ‘constexpr long double std::pow(long double, long double)’
  392 |   pow(long double __x, long double __y)
      |   ^~~
/usr/include/c++/12/cmath:392:19: note:   no known conversion for argument 1 from ‘IssmDouble’ {aka ‘adouble’} to ‘long double’
  392 |   pow(long double __x, long double __y)
      |       ~~~~~~~~~~~~^~~
./classes/Elements/Tria.cpp:829:61: error: no matching function for call to ‘erf(adub)’
  829 |                         water_depth[iv] = 0.9*sigma*std::erf(0.27*S)*(1-(0.08*std::pow(hurst,0.6))-(0.72*std::erf(0.76*S)));}
      |                                                     ~~~~~~~~^~~~~~~~
/usr/include/c++/12/cmath:1318:5: note: candidate: ‘template<class _Tp> constexpr typename __gnu_cxx::__enable_if<std::__is_integer<_Tp>::__value, double>::__type std::erf(_Tp)’
 1318 |     erf(_Tp __x)
      |     ^~~
/usr/include/c++/12/cmath:1318:5: note:   template argument deduction/substitution failed:
/usr/include/c++/12/cmath: In substitution of ‘template<class _Tp> constexpr typename __gnu_cxx::__enable_if<std::__is_integer<_Tp>::__value, double>::__type std::erf(_Tp) [with _Tp = adub]’:
./classes/Elements/Tria.cpp:829:40:   required from here
/usr/include/c++/12/cmath:1318:5: error: no type named ‘__type’ in ‘struct __gnu_cxx::__enable_if<false, double>’
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:231:1: note: candidate: ‘double erf(double)’
  231 | __MATHCALL_VEC (erf,, (_Mdouble_));
      | ^~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:231:24: note:   no known conversion for argument 1 from ‘adub’ to ‘double’
  231 | __MATHCALL_VEC (erf,, (_Mdouble_));
      |                        ^~~~~~~~~
/usr/include/c++/12/cmath:1306:3: note: candidate: ‘constexpr float std::erf(float)’
 1306 |   erf(float __x)
      |   ^~~
/usr/include/c++/12/cmath:1306:13: note:   no known conversion for argument 1 from ‘adub’ to ‘float’
 1306 |   erf(float __x)
      |       ~~~~~~^~~
/usr/include/c++/12/cmath:1310:3: note: candidate: ‘constexpr long double std::erf(long double)’
 1310 |   erf(long double __x)
      |   ^~~
/usr/include/c++/12/cmath:1310:19: note:   no known conversion for argument 1 from ‘adub’ to ‘long double’
 1310 |   erf(long double __x)
      |       ~~~~~~~~~~~~^~~
./classes/Elements/Tria.cpp:829:87: error: no matching function for call to ‘pow(IssmDouble&, double)’
  829 |                         water_depth[iv] = 0.9*sigma*std::erf(0.27*S)*(1-(0.08*std::pow(hurst,0.6))-(0.72*std::erf(0.76*S)));}
      |                                                                               ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/cmath:415:5: note: candidate: ‘template<class _Tp, class _Up> constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::pow(_Tp, _Up)’
  415 |     pow(_Tp __x, _Up __y)
      |     ^~~
/usr/include/c++/12/cmath:415:5: note:   template argument deduction/substitution failed:
/usr/include/c++/12/cmath: In substitution of ‘template<class _Tp, class _Up> constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::pow(_Tp, _Up) [with _Tp = adouble; _Up = double]’:
./classes/Elements/Tria.cpp:829:66:   required from here
/usr/include/c++/12/cmath:415:5: error: no type named ‘__type’ in ‘struct __gnu_cxx::__promote<adouble, false>’
/usr/include/c++/12/complex:1019:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::pow(const complex<_Tp>&, int)’
 1019 |     pow(const complex<_Tp>& __z, int __n)
      |     ^~~
/usr/include/c++/12/complex:1019:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:829:87: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  829 |                         water_depth[iv] = 0.9*sigma*std::erf(0.27*S)*(1-(0.08*std::pow(hurst,0.6))-(0.72*std::erf(0.76*S)));}
      |                                                                               ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1028:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::pow(const complex<_Tp>&, const _Tp&)’
 1028 |     pow(const complex<_Tp>& __x, const _Tp& __y)
      |     ^~~
/usr/include/c++/12/complex:1028:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:829:87: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  829 |                         water_depth[iv] = 0.9*sigma*std::erf(0.27*S)*(1-(0.08*std::pow(hurst,0.6))-(0.72*std::erf(0.76*S)));}
      |                                                                               ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1062:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::pow(const complex<_Tp>&, const complex<_Tp>&)’
 1062 |     pow(const complex<_Tp>& __x, const complex<_Tp>& __y)
      |     ^~~
/usr/include/c++/12/complex:1062:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:829:87: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  829 |                         water_depth[iv] = 0.9*sigma*std::erf(0.27*S)*(1-(0.08*std::pow(hurst,0.6))-(0.72*std::erf(0.76*S)));}
      |                                                                               ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1073:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::pow(const _Tp&, const complex<_Tp>&)’
 1073 |     pow(const _Tp& __x, const complex<_Tp>& __y)
      |     ^~~
/usr/include/c++/12/complex:1073:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:829:87: note:   mismatched types ‘const std::complex<_Tp>’ and ‘double’
  829 |                         water_depth[iv] = 0.9*sigma*std::erf(0.27*S)*(1-(0.08*std::pow(hurst,0.6))-(0.72*std::erf(0.76*S)));}
      |                                                                               ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1854:5: note: candidate: ‘template<class _Tp, class _Up> std::complex<typename __gnu_cxx::__promote_2<_Tp, _Up>::__type> std::pow(const complex<_Tp>&, const _Up&)’
 1854 |     pow(const std::complex<_Tp>& __x, const _Up& __y)
      |     ^~~
/usr/include/c++/12/complex:1854:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:829:87: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  829 |                         water_depth[iv] = 0.9*sigma*std::erf(0.27*S)*(1-(0.08*std::pow(hurst,0.6))-(0.72*std::erf(0.76*S)));}
      |                                                                               ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1862:5: note: candidate: ‘template<class _Tp, class _Up> std::complex<typename __gnu_cxx::__promote_2<_Tp, _Up>::__type> std::pow(const _Tp&, const complex<_Up>&)’
 1862 |     pow(const _Tp& __x, const std::complex<_Up>& __y)
      |     ^~~
/usr/include/c++/12/complex:1862:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:829:87: note:   mismatched types ‘const std::complex<_Up>’ and ‘double’
  829 |                         water_depth[iv] = 0.9*sigma*std::erf(0.27*S)*(1-(0.08*std::pow(hurst,0.6))-(0.72*std::erf(0.76*S)));}
      |                                                                               ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1870:5: note: candidate: ‘template<class _Tp, class _Up> std::complex<typename __gnu_cxx::__promote_2<_Tp, _Up>::__type> std::pow(const complex<_Tp>&, const complex<_Up>&)’
 1870 |     pow(const std::complex<_Tp>& __x, const std::complex<_Up>& __y)
      |     ^~~
/usr/include/c++/12/complex:1870:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:829:87: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  829 |                         water_depth[iv] = 0.9*sigma*std::erf(0.27*S)*(1-(0.08*std::pow(hurst,0.6))-(0.72*std::erf(0.76*S)));}
      |                                                                               ~~~~~~~~^~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:140:1: note: candidate: ‘double pow(double, double)’
  140 | __MATHCALL_VEC (pow,, (_Mdouble_ __x, _Mdouble_ __y));
      | ^~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:140:1: note:   no known conversion for argument 1 from ‘IssmDouble’ {aka ‘adouble’} to ‘double’
  140 | __MATHCALL_VEC (pow,, (_Mdouble_ __x, _Mdouble_ __y));
      | ^
/usr/include/c++/12/cmath:388:3: note: candidate: ‘constexpr float std::pow(float, float)’
  388 |   pow(float __x, float __y)
      |   ^~~
/usr/include/c++/12/cmath:388:13: note:   no known conversion for argument 1 from ‘IssmDouble’ {aka ‘adouble’} to ‘float’
  388 |   pow(float __x, float __y)
      |       ~~~~~~^~~
/usr/include/c++/12/cmath:392:3: note: candidate: ‘constexpr long double std::pow(long double, long double)’
  392 |   pow(long double __x, long double __y)
      |   ^~~
/usr/include/c++/12/cmath:392:19: note:   no known conversion for argument 1 from ‘IssmDouble’ {aka ‘adouble’} to ‘long double’
  392 |   pow(long double __x, long double __y)
      |       ~~~~~~~~~~~~^~~
./classes/Elements/Tria.cpp:829:114: error: no matching function for call to ‘erf(adub)’
  829 |                         water_depth[iv] = 0.9*sigma*std::erf(0.27*S)*(1-(0.08*std::pow(hurst,0.6))-(0.72*std::erf(0.76*S)));}
      |                                                                                                          ~~~~~~~~^~~~~~~~
/usr/include/c++/12/cmath:1318:5: note: candidate: ‘template<class _Tp> constexpr typename __gnu_cxx::__enable_if<std::__is_integer<_Tp>::__value, double>::__type std::erf(_Tp)’
 1318 |     erf(_Tp __x)
      |     ^~~
/usr/include/c++/12/cmath:1318:5: note:   template argument deduction/substitution failed:
/usr/include/c++/12/cmath: In substitution of ‘template<class _Tp> constexpr typename __gnu_cxx::__enable_if<std::__is_integer<_Tp>::__value, double>::__type std::erf(_Tp) [with _Tp = adub]’:
./classes/Elements/Tria.cpp:829:93:   required from here
/usr/include/c++/12/cmath:1318:5: error: no type named ‘__type’ in ‘struct __gnu_cxx::__enable_if<false, double>’
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:231:1: note: candidate: ‘double erf(double)’
  231 | __MATHCALL_VEC (erf,, (_Mdouble_));
      | ^~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:231:24: note:   no known conversion for argument 1 from ‘adub’ to ‘double’
  231 | __MATHCALL_VEC (erf,, (_Mdouble_));
      |                        ^~~~~~~~~
/usr/include/c++/12/cmath:1306:3: note: candidate: ‘constexpr float std::erf(float)’
 1306 |   erf(float __x)
      |   ^~~
/usr/include/c++/12/cmath:1306:13: note:   no known conversion for argument 1 from ‘adub’ to ‘float’
 1306 |   erf(float __x)
      |       ~~~~~~^~~
/usr/include/c++/12/cmath:1310:3: note: candidate: ‘constexpr long double std::erf(long double)’
 1310 |   erf(long double __x)
      |   ^~~
/usr/include/c++/12/cmath:1310:19: note:   no known conversion for argument 1 from ‘adub’ to ‘long double’
 1310 |   erf(long double __x)
      |       ~~~~~~~~~~~~^~~
./classes/Elements/Tria.cpp:834:60: error: no matching function for call to ‘pow(IssmDouble&, double)’
  834 |                         wd_star = sigma*(0.2-(0.12*std::pow(hurst,0.6)));
      |                                                    ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/cmath:415:5: note: candidate: ‘template<class _Tp, class _Up> constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::pow(_Tp, _Up)’
  415 |     pow(_Tp __x, _Up __y)
      |     ^~~
/usr/include/c++/12/cmath:415:5: note:   template argument deduction/substitution failed:
/usr/include/c++/12/cmath: In substitution of ‘template<class _Tp, class _Up> constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::pow(_Tp, _Up) [with _Tp = adouble; _Up = double]’:
./classes/Elements/Tria.cpp:834:39:   required from here
/usr/include/c++/12/cmath:415:5: error: no type named ‘__type’ in ‘struct __gnu_cxx::__promote<adouble, false>’
/usr/include/c++/12/complex:1019:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::pow(const complex<_Tp>&, int)’
 1019 |     pow(const complex<_Tp>& __z, int __n)
      |     ^~~
/usr/include/c++/12/complex:1019:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:834:60: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  834 |                         wd_star = sigma*(0.2-(0.12*std::pow(hurst,0.6)));
      |                                                    ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1028:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::pow(const complex<_Tp>&, const _Tp&)’
 1028 |     pow(const complex<_Tp>& __x, const _Tp& __y)
      |     ^~~
/usr/include/c++/12/complex:1028:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:834:60: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  834 |                         wd_star = sigma*(0.2-(0.12*std::pow(hurst,0.6)));
      |                                                    ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1062:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::pow(const complex<_Tp>&, const complex<_Tp>&)’
 1062 |     pow(const complex<_Tp>& __x, const complex<_Tp>& __y)
      |     ^~~
/usr/include/c++/12/complex:1062:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:834:60: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  834 |                         wd_star = sigma*(0.2-(0.12*std::pow(hurst,0.6)));
      |                                                    ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1073:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::pow(const _Tp&, const complex<_Tp>&)’
 1073 |     pow(const _Tp& __x, const complex<_Tp>& __y)
      |     ^~~
/usr/include/c++/12/complex:1073:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:834:60: note:   mismatched types ‘const std::complex<_Tp>’ and ‘double’
  834 |                         wd_star = sigma*(0.2-(0.12*std::pow(hurst,0.6)));
      |                                                    ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1854:5: note: candidate: ‘template<class _Tp, class _Up> std::complex<typename __gnu_cxx::__promote_2<_Tp, _Up>::__type> std::pow(const complex<_Tp>&, const _Up&)’
 1854 |     pow(const std::complex<_Tp>& __x, const _Up& __y)
      |     ^~~
/usr/include/c++/12/complex:1854:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:834:60: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  834 |                         wd_star = sigma*(0.2-(0.12*std::pow(hurst,0.6)));
      |                                                    ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1862:5: note: candidate: ‘template<class _Tp, class _Up> std::complex<typename __gnu_cxx::__promote_2<_Tp, _Up>::__type> std::pow(const _Tp&, const complex<_Up>&)’
 1862 |     pow(const _Tp& __x, const std::complex<_Up>& __y)
      |     ^~~
/usr/include/c++/12/complex:1862:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:834:60: note:   mismatched types ‘const std::complex<_Up>’ and ‘double’
  834 |                         wd_star = sigma*(0.2-(0.12*std::pow(hurst,0.6)));
      |                                                    ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1870:5: note: candidate: ‘template<class _Tp, class _Up> std::complex<typename __gnu_cxx::__promote_2<_Tp, _Up>::__type> std::pow(const complex<_Tp>&, const complex<_Up>&)’
 1870 |     pow(const std::complex<_Tp>& __x, const std::complex<_Up>& __y)
      |     ^~~
/usr/include/c++/12/complex:1870:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:834:60: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  834 |                         wd_star = sigma*(0.2-(0.12*std::pow(hurst,0.6)));
      |                                                    ~~~~~~~~^~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:140:1: note: candidate: ‘double pow(double, double)’
  140 | __MATHCALL_VEC (pow,, (_Mdouble_ __x, _Mdouble_ __y));
      | ^~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:140:1: note:   no known conversion for argument 1 from ‘IssmDouble’ {aka ‘adouble’} to ‘double’
  140 | __MATHCALL_VEC (pow,, (_Mdouble_ __x, _Mdouble_ __y));
      | ^
/usr/include/c++/12/cmath:388:3: note: candidate: ‘constexpr float std::pow(float, float)’
  388 |   pow(float __x, float __y)
      |   ^~~
/usr/include/c++/12/cmath:388:13: note:   no known conversion for argument 1 from ‘IssmDouble’ {aka ‘adouble’} to ‘float’
  388 |   pow(float __x, float __y)
      |       ~~~~~~^~~
/usr/include/c++/12/cmath:392:3: note: candidate: ‘constexpr long double std::pow(long double, long double)’
  392 |   pow(long double __x, long double __y)
      |   ^~~
/usr/include/c++/12/cmath:392:19: note:   no known conversion for argument 1 from ‘IssmDouble’ {aka ‘adouble’} to ‘long double’
  392 |   pow(long double __x, long double __y)
      |       ~~~~~~~~~~~~^~~
./classes/Elements/Tria.cpp:836:60: error: no matching function for call to ‘erf(adub)’
  836 |                         lake_depth[iv] = 0.6*sigma*std::erf(67*S)*(1-(0.41*std::pow(hurst,0.6)));}
      |                                                    ~~~~~~~~^~~~~~
/usr/include/c++/12/cmath:1318:5: note: candidate: ‘template<class _Tp> constexpr typename __gnu_cxx::__enable_if<std::__is_integer<_Tp>::__value, double>::__type std::erf(_Tp)’
 1318 |     erf(_Tp __x)
      |     ^~~
/usr/include/c++/12/cmath:1318:5: note:   template argument deduction/substitution failed:
/usr/include/c++/12/cmath: In substitution of ‘template<class _Tp> constexpr typename __gnu_cxx::__enable_if<std::__is_integer<_Tp>::__value, double>::__type std::erf(_Tp) [with _Tp = adub]’:
./classes/Elements/Tria.cpp:836:39:   required from here
/usr/include/c++/12/cmath:1318:5: error: no type named ‘__type’ in ‘struct __gnu_cxx::__enable_if<false, double>’
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:231:1: note: candidate: ‘double erf(double)’
  231 | __MATHCALL_VEC (erf,, (_Mdouble_));
      | ^~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:231:24: note:   no known conversion for argument 1 from ‘adub’ to ‘double’
  231 | __MATHCALL_VEC (erf,, (_Mdouble_));
      |                        ^~~~~~~~~
/usr/include/c++/12/cmath:1306:3: note: candidate: ‘constexpr float std::erf(float)’
 1306 |   erf(float __x)
      |   ^~~
/usr/include/c++/12/cmath:1306:13: note:   no known conversion for argument 1 from ‘adub’ to ‘float’
 1306 |   erf(float __x)
      |       ~~~~~~^~~
/usr/include/c++/12/cmath:1310:3: note: candidate: ‘constexpr long double std::erf(long double)’
 1310 |   erf(long double __x)
      |   ^~~
/usr/include/c++/12/cmath:1310:19: note:   no known conversion for argument 1 from ‘adub’ to ‘long double’
 1310 |   erf(long double __x)
      |       ~~~~~~~~~~~~^~~
./classes/Elements/Tria.cpp:836:84: error: no matching function for call to ‘pow(IssmDouble&, double)’
  836 |                         lake_depth[iv] = 0.6*sigma*std::erf(67*S)*(1-(0.41*std::pow(hurst,0.6)));}
      |                                                                            ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/cmath:415:5: note: candidate: ‘template<class _Tp, class _Up> constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::pow(_Tp, _Up)’
  415 |     pow(_Tp __x, _Up __y)
      |     ^~~
/usr/include/c++/12/cmath:415:5: note:   template argument deduction/substitution failed:
/usr/include/c++/12/cmath: In substitution of ‘template<class _Tp, class _Up> constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::pow(_Tp, _Up) [with _Tp = adouble; _Up = double]’:
./classes/Elements/Tria.cpp:836:63:   required from here
/usr/include/c++/12/cmath:415:5: error: no type named ‘__type’ in ‘struct __gnu_cxx::__promote<adouble, false>’
/usr/include/c++/12/complex:1019:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::pow(const complex<_Tp>&, int)’
 1019 |     pow(const complex<_Tp>& __z, int __n)
      |     ^~~
/usr/include/c++/12/complex:1019:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:836:84: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  836 |                         lake_depth[iv] = 0.6*sigma*std::erf(67*S)*(1-(0.41*std::pow(hurst,0.6)));}
      |                                                                            ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1028:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::pow(const complex<_Tp>&, const _Tp&)’
 1028 |     pow(const complex<_Tp>& __x, const _Tp& __y)
      |     ^~~
/usr/include/c++/12/complex:1028:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:836:84: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  836 |                         lake_depth[iv] = 0.6*sigma*std::erf(67*S)*(1-(0.41*std::pow(hurst,0.6)));}
      |                                                                            ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1062:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::pow(const complex<_Tp>&, const complex<_Tp>&)’
 1062 |     pow(const complex<_Tp>& __x, const complex<_Tp>& __y)
      |     ^~~
/usr/include/c++/12/complex:1062:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:836:84: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  836 |                         lake_depth[iv] = 0.6*sigma*std::erf(67*S)*(1-(0.41*std::pow(hurst,0.6)));}
      |                                                                            ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1073:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::pow(const _Tp&, const complex<_Tp>&)’
 1073 |     pow(const _Tp& __x, const complex<_Tp>& __y)
      |     ^~~
/usr/include/c++/12/complex:1073:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:836:84: note:   mismatched types ‘const std::complex<_Tp>’ and ‘double’
  836 |                         lake_depth[iv] = 0.6*sigma*std::erf(67*S)*(1-(0.41*std::pow(hurst,0.6)));}
      |                                                                            ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1854:5: note: candidate: ‘template<class _Tp, class _Up> std::complex<typename __gnu_cxx::__promote_2<_Tp, _Up>::__type> std::pow(const complex<_Tp>&, const _Up&)’
 1854 |     pow(const std::complex<_Tp>& __x, const _Up& __y)
      |     ^~~
/usr/include/c++/12/complex:1854:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:836:84: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  836 |                         lake_depth[iv] = 0.6*sigma*std::erf(67*S)*(1-(0.41*std::pow(hurst,0.6)));}
      |                                                                            ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1862:5: note: candidate: ‘template<class _Tp, class _Up> std::complex<typename __gnu_cxx::__promote_2<_Tp, _Up>::__type> std::pow(const _Tp&, const complex<_Up>&)’
 1862 |     pow(const _Tp& __x, const std::complex<_Up>& __y)
      |     ^~~
/usr/include/c++/12/complex:1862:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:836:84: note:   mismatched types ‘const std::complex<_Up>’ and ‘double’
  836 |                         lake_depth[iv] = 0.6*sigma*std::erf(67*S)*(1-(0.41*std::pow(hurst,0.6)));}
      |                                                                            ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1870:5: note: candidate: ‘template<class _Tp, class _Up> std::complex<typename __gnu_cxx::__promote_2<_Tp, _Up>::__type> std::pow(const complex<_Tp>&, const complex<_Up>&)’
 1870 |     pow(const std::complex<_Tp>& __x, const std::complex<_Up>& __y)
      |     ^~~
/usr/include/c++/12/complex:1870:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:836:84: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  836 |                         lake_depth[iv] = 0.6*sigma*std::erf(67*S)*(1-(0.41*std::pow(hurst,0.6)));}
      |                                                                            ~~~~~~~~^~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:140:1: note: candidate: ‘double pow(double, double)’
  140 | __MATHCALL_VEC (pow,, (_Mdouble_ __x, _Mdouble_ __y));
      | ^~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:140:1: note:   no known conversion for argument 1 from ‘IssmDouble’ {aka ‘adouble’} to ‘double’
  140 | __MATHCALL_VEC (pow,, (_Mdouble_ __x, _Mdouble_ __y));
      | ^
/usr/include/c++/12/cmath:388:3: note: candidate: ‘constexpr float std::pow(float, float)’
  388 |   pow(float __x, float __y)
      |   ^~~
/usr/include/c++/12/cmath:388:13: note:   no known conversion for argument 1 from ‘IssmDouble’ {aka ‘adouble’} to ‘float’
  388 |   pow(float __x, float __y)
      |       ~~~~~~^~~
/usr/include/c++/12/cmath:392:3: note: candidate: ‘constexpr long double std::pow(long double, long double)’
  392 |   pow(long double __x, long double __y)
      |   ^~~
/usr/include/c++/12/cmath:392:19: note:   no known conversion for argument 1 from ‘IssmDouble’ {aka ‘adouble’} to ‘long double’
  392 |   pow(long double __x, long double __y)
      |       ~~~~~~~~~~~~^~~
./classes/Elements/Tria.cpp:896:68: error: no matching function for call to ‘pow(IssmDouble&, double)’
  896 |                                 wd_star = sigma*(0.2-(0.12*std::pow(hurst,0.6)));
      |                                                            ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/cmath:415:5: note: candidate: ‘template<class _Tp, class _Up> constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::pow(_Tp, _Up)’
  415 |     pow(_Tp __x, _Up __y)
      |     ^~~
/usr/include/c++/12/cmath:415:5: note:   template argument deduction/substitution failed:
/usr/include/c++/12/cmath: In substitution of ‘template<class _Tp, class _Up> constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::pow(_Tp, _Up) [with _Tp = adouble; _Up = double]’:
./classes/Elements/Tria.cpp:896:40:   required from here
/usr/include/c++/12/cmath:415:5: error: no type named ‘__type’ in ‘struct __gnu_cxx::__promote<adouble, false>’
/usr/include/c++/12/complex:1019:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::pow(const complex<_Tp>&, int)’
 1019 |     pow(const complex<_Tp>& __z, int __n)
      |     ^~~
/usr/include/c++/12/complex:1019:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:896:68: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  896 |                                 wd_star = sigma*(0.2-(0.12*std::pow(hurst,0.6)));
      |                                                            ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1028:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::pow(const complex<_Tp>&, const _Tp&)’
 1028 |     pow(const complex<_Tp>& __x, const _Tp& __y)
      |     ^~~
/usr/include/c++/12/complex:1028:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:896:68: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  896 |                                 wd_star = sigma*(0.2-(0.12*std::pow(hurst,0.6)));
      |                                                            ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1062:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::pow(const complex<_Tp>&, const complex<_Tp>&)’
 1062 |     pow(const complex<_Tp>& __x, const complex<_Tp>& __y)
      |     ^~~
/usr/include/c++/12/complex:1062:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:896:68: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  896 |                                 wd_star = sigma*(0.2-(0.12*std::pow(hurst,0.6)));
      |                                                            ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1073:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::pow(const _Tp&, const complex<_Tp>&)’
 1073 |     pow(const _Tp& __x, const complex<_Tp>& __y)
      |     ^~~
/usr/include/c++/12/complex:1073:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:896:68: note:   mismatched types ‘const std::complex<_Tp>’ and ‘double’
  896 |                                 wd_star = sigma*(0.2-(0.12*std::pow(hurst,0.6)));
      |                                                            ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1854:5: note: candidate: ‘template<class _Tp, class _Up> std::complex<typename __gnu_cxx::__promote_2<_Tp, _Up>::__type> std::pow(const complex<_Tp>&, const _Up&)’
 1854 |     pow(const std::complex<_Tp>& __x, const _Up& __y)
      |     ^~~
/usr/include/c++/12/complex:1854:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:896:68: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  896 |                                 wd_star = sigma*(0.2-(0.12*std::pow(hurst,0.6)));
      |                                                            ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1862:5: note: candidate: ‘template<class _Tp, class _Up> std::complex<typename __gnu_cxx::__promote_2<_Tp, _Up>::__type> std::pow(const _Tp&, const complex<_Up>&)’
 1862 |     pow(const _Tp& __x, const std::complex<_Up>& __y)
      |     ^~~
/usr/include/c++/12/complex:1862:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:896:68: note:   mismatched types ‘const std::complex<_Up>’ and ‘double’
  896 |                                 wd_star = sigma*(0.2-(0.12*std::pow(hurst,0.6)));
      |                                                            ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1870:5: note: candidate: ‘template<class _Tp, class _Up> std::complex<typename __gnu_cxx::__promote_2<_Tp, _Up>::__type> std::pow(const complex<_Tp>&, const complex<_Up>&)’
 1870 |     pow(const std::complex<_Tp>& __x, const std::complex<_Up>& __y)
      |     ^~~
/usr/include/c++/12/complex:1870:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:896:68: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  896 |                                 wd_star = sigma*(0.2-(0.12*std::pow(hurst,0.6)));
      |                                                            ~~~~~~~~^~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:140:1: note: candidate: ‘double pow(double, double)’
  140 | __MATHCALL_VEC (pow,, (_Mdouble_ __x, _Mdouble_ __y));
      | ^~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:140:1: note:   no known conversion for argument 1 from ‘IssmDouble’ {aka ‘adouble’} to ‘double’
  140 | __MATHCALL_VEC (pow,, (_Mdouble_ __x, _Mdouble_ __y));
      | ^
/usr/include/c++/12/cmath:388:3: note: candidate: ‘constexpr float std::pow(float, float)’
  388 |   pow(float __x, float __y)
      |   ^~~
/usr/include/c++/12/cmath:388:13: note:   no known conversion for argument 1 from ‘IssmDouble’ {aka ‘adouble’} to ‘float’
  388 |   pow(float __x, float __y)
      |       ~~~~~~^~~
/usr/include/c++/12/cmath:392:3: note: candidate: ‘constexpr long double std::pow(long double, long double)’
  392 |   pow(long double __x, long double __y)
      |   ^~~
/usr/include/c++/12/cmath:392:19: note:   no known conversion for argument 1 from ‘IssmDouble’ {aka ‘adouble’} to ‘long double’
  392 |   pow(long double __x, long double __y)
      |       ~~~~~~~~~~~~^~~
./classes/Elements/Tria.cpp:898:69: error: no matching function for call to ‘erf(adub)’
  898 |                                 water_depth[iv] = 0.9*sigma*std::erf(0.27*S)*(1-(0.08*std::pow(hurst,0.6))-(0.72*std::erf(0.76*S)));
      |                                                             ~~~~~~~~^~~~~~~~
/usr/include/c++/12/cmath:1318:5: note: candidate: ‘template<class _Tp> constexpr typename __gnu_cxx::__enable_if<std::__is_integer<_Tp>::__value, double>::__type std::erf(_Tp)’
 1318 |     erf(_Tp __x)
      |     ^~~
/usr/include/c++/12/cmath:1318:5: note:   template argument deduction/substitution failed:
/usr/include/c++/12/cmath: In substitution of ‘template<class _Tp> constexpr typename __gnu_cxx::__enable_if<std::__is_integer<_Tp>::__value, double>::__type std::erf(_Tp) [with _Tp = adub]’:
./classes/Elements/Tria.cpp:898:41:   required from here
/usr/include/c++/12/cmath:1318:5: error: no type named ‘__type’ in ‘struct __gnu_cxx::__enable_if<false, double>’
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:231:1: note: candidate: ‘double erf(double)’
  231 | __MATHCALL_VEC (erf,, (_Mdouble_));
      | ^~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:231:24: note:   no known conversion for argument 1 from ‘adub’ to ‘double’
  231 | __MATHCALL_VEC (erf,, (_Mdouble_));
      |                        ^~~~~~~~~
/usr/include/c++/12/cmath:1306:3: note: candidate: ‘constexpr float std::erf(float)’
 1306 |   erf(float __x)
      |   ^~~
/usr/include/c++/12/cmath:1306:13: note:   no known conversion for argument 1 from ‘adub’ to ‘float’
 1306 |   erf(float __x)
      |       ~~~~~~^~~
/usr/include/c++/12/cmath:1310:3: note: candidate: ‘constexpr long double std::erf(long double)’
 1310 |   erf(long double __x)
      |   ^~~
/usr/include/c++/12/cmath:1310:19: note:   no known conversion for argument 1 from ‘adub’ to ‘long double’
 1310 |   erf(long double __x)
      |       ~~~~~~~~~~~~^~~
./classes/Elements/Tria.cpp:898:95: error: no matching function for call to ‘pow(IssmDouble&, double)’
  898 |                                 water_depth[iv] = 0.9*sigma*std::erf(0.27*S)*(1-(0.08*std::pow(hurst,0.6))-(0.72*std::erf(0.76*S)));
      |                                                                                       ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/cmath:415:5: note: candidate: ‘template<class _Tp, class _Up> constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::pow(_Tp, _Up)’
  415 |     pow(_Tp __x, _Up __y)
      |     ^~~
/usr/include/c++/12/cmath:415:5: note:   template argument deduction/substitution failed:
/usr/include/c++/12/cmath: In substitution of ‘template<class _Tp, class _Up> constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::pow(_Tp, _Up) [with _Tp = adouble; _Up = double]’:
./classes/Elements/Tria.cpp:898:67:   required from here
/usr/include/c++/12/cmath:415:5: error: no type named ‘__type’ in ‘struct __gnu_cxx::__promote<adouble, false>’
/usr/include/c++/12/complex:1019:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::pow(const complex<_Tp>&, int)’
 1019 |     pow(const complex<_Tp>& __z, int __n)
      |     ^~~
/usr/include/c++/12/complex:1019:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:898:95: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  898 |                                 water_depth[iv] = 0.9*sigma*std::erf(0.27*S)*(1-(0.08*std::pow(hurst,0.6))-(0.72*std::erf(0.76*S)));
      |                                                                                       ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1028:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::pow(const complex<_Tp>&, const _Tp&)’
 1028 |     pow(const complex<_Tp>& __x, const _Tp& __y)
      |     ^~~
/usr/include/c++/12/complex:1028:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:898:95: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  898 |                                 water_depth[iv] = 0.9*sigma*std::erf(0.27*S)*(1-(0.08*std::pow(hurst,0.6))-(0.72*std::erf(0.76*S)));
      |                                                                                       ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1062:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::pow(const complex<_Tp>&, const complex<_Tp>&)’
 1062 |     pow(const complex<_Tp>& __x, const complex<_Tp>& __y)
      |     ^~~
/usr/include/c++/12/complex:1062:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:898:95: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  898 |                                 water_depth[iv] = 0.9*sigma*std::erf(0.27*S)*(1-(0.08*std::pow(hurst,0.6))-(0.72*std::erf(0.76*S)));
      |                                                                                       ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1073:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::pow(const _Tp&, const complex<_Tp>&)’
 1073 |     pow(const _Tp& __x, const complex<_Tp>& __y)
      |     ^~~
/usr/include/c++/12/complex:1073:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:898:95: note:   mismatched types ‘const std::complex<_Tp>’ and ‘double’
  898 |                                 water_depth[iv] = 0.9*sigma*std::erf(0.27*S)*(1-(0.08*std::pow(hurst,0.6))-(0.72*std::erf(0.76*S)));
      |                                                                                       ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1854:5: note: candidate: ‘template<class _Tp, class _Up> std::complex<typename __gnu_cxx::__promote_2<_Tp, _Up>::__type> std::pow(const complex<_Tp>&, const _Up&)’
 1854 |     pow(const std::complex<_Tp>& __x, const _Up& __y)
      |     ^~~
/usr/include/c++/12/complex:1854:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:898:95: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  898 |                                 water_depth[iv] = 0.9*sigma*std::erf(0.27*S)*(1-(0.08*std::pow(hurst,0.6))-(0.72*std::erf(0.76*S)));
      |                                                                                       ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1862:5: note: candidate: ‘template<class _Tp, class _Up> std::complex<typename __gnu_cxx::__promote_2<_Tp, _Up>::__type> std::pow(const _Tp&, const complex<_Up>&)’
 1862 |     pow(const _Tp& __x, const std::complex<_Up>& __y)
      |     ^~~
/usr/include/c++/12/complex:1862:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:898:95: note:   mismatched types ‘const std::complex<_Up>’ and ‘double’
  898 |                                 water_depth[iv] = 0.9*sigma*std::erf(0.27*S)*(1-(0.08*std::pow(hurst,0.6))-(0.72*std::erf(0.76*S)));
      |                                                                                       ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1870:5: note: candidate: ‘template<class _Tp, class _Up> std::complex<typename __gnu_cxx::__promote_2<_Tp, _Up>::__type> std::pow(const complex<_Tp>&, const complex<_Up>&)’
 1870 |     pow(const std::complex<_Tp>& __x, const std::complex<_Up>& __y)
      |     ^~~
/usr/include/c++/12/complex:1870:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:898:95: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  898 |                                 water_depth[iv] = 0.9*sigma*std::erf(0.27*S)*(1-(0.08*std::pow(hurst,0.6))-(0.72*std::erf(0.76*S)));
      |                                                                                       ~~~~~~~~^~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:140:1: note: candidate: ‘double pow(double, double)’
  140 | __MATHCALL_VEC (pow,, (_Mdouble_ __x, _Mdouble_ __y));
      | ^~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:140:1: note:   no known conversion for argument 1 from ‘IssmDouble’ {aka ‘adouble’} to ‘double’
  140 | __MATHCALL_VEC (pow,, (_Mdouble_ __x, _Mdouble_ __y));
      | ^
/usr/include/c++/12/cmath:388:3: note: candidate: ‘constexpr float std::pow(float, float)’
  388 |   pow(float __x, float __y)
      |   ^~~
/usr/include/c++/12/cmath:388:13: note:   no known conversion for argument 1 from ‘IssmDouble’ {aka ‘adouble’} to ‘float’
  388 |   pow(float __x, float __y)
      |       ~~~~~~^~~
/usr/include/c++/12/cmath:392:3: note: candidate: ‘constexpr long double std::pow(long double, long double)’
  392 |   pow(long double __x, long double __y)
      |   ^~~
/usr/include/c++/12/cmath:392:19: note:   no known conversion for argument 1 from ‘IssmDouble’ {aka ‘adouble’} to ‘long double’
  392 |   pow(long double __x, long double __y)
      |       ~~~~~~~~~~~~^~~
./classes/Elements/Tria.cpp:898:122: error: no matching function for call to ‘erf(adub)’
  898 |                                 water_depth[iv] = 0.9*sigma*std::erf(0.27*S)*(1-(0.08*std::pow(hurst,0.6))-(0.72*std::erf(0.76*S)));
      |                                                                                                                  ~~~~~~~~^~~~~~~~
/usr/include/c++/12/cmath:1318:5: note: candidate: ‘template<class _Tp> constexpr typename __gnu_cxx::__enable_if<std::__is_integer<_Tp>::__value, double>::__type std::erf(_Tp)’
 1318 |     erf(_Tp __x)
      |     ^~~
/usr/include/c++/12/cmath:1318:5: note:   template argument deduction/substitution failed:
/usr/include/c++/12/cmath: In substitution of ‘template<class _Tp> constexpr typename __gnu_cxx::__enable_if<std::__is_integer<_Tp>::__value, double>::__type std::erf(_Tp) [with _Tp = adub]’:
./classes/Elements/Tria.cpp:898:94:   required from here
/usr/include/c++/12/cmath:1318:5: error: no type named ‘__type’ in ‘struct __gnu_cxx::__enable_if<false, double>’
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:231:1: note: candidate: ‘double erf(double)’
  231 | __MATHCALL_VEC (erf,, (_Mdouble_));
      | ^~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:231:24: note:   no known conversion for argument 1 from ‘adub’ to ‘double’
  231 | __MATHCALL_VEC (erf,, (_Mdouble_));
      |                        ^~~~~~~~~
/usr/include/c++/12/cmath:1306:3: note: candidate: ‘constexpr float std::erf(float)’
 1306 |   erf(float __x)
      |   ^~~
/usr/include/c++/12/cmath:1306:13: note:   no known conversion for argument 1 from ‘adub’ to ‘float’
 1306 |   erf(float __x)
      |       ~~~~~~^~~
/usr/include/c++/12/cmath:1310:3: note: candidate: ‘constexpr long double std::erf(long double)’
 1310 |   erf(long double __x)
      |   ^~~
/usr/include/c++/12/cmath:1310:19: note:   no known conversion for argument 1 from ‘adub’ to ‘long double’
 1310 |   erf(long double __x)
      |       ~~~~~~~~~~~~^~~
./classes/Elements/Tria.cpp:901:68: error: no matching function for call to ‘pow(IssmDouble&, double)’
  901 |                                 wd_star = sigma*(0.2-(0.12*std::pow(hurst,0.6)));
      |                                                            ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/cmath:415:5: note: candidate: ‘template<class _Tp, class _Up> constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::pow(_Tp, _Up)’
  415 |     pow(_Tp __x, _Up __y)
      |     ^~~
/usr/include/c++/12/cmath:415:5: note:   template argument deduction/substitution failed:
/usr/include/c++/12/cmath: In substitution of ‘template<class _Tp, class _Up> constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::pow(_Tp, _Up) [with _Tp = adouble; _Up = double]’:
./classes/Elements/Tria.cpp:901:40:   required from here
/usr/include/c++/12/cmath:415:5: error: no type named ‘__type’ in ‘struct __gnu_cxx::__promote<adouble, false>’
/usr/include/c++/12/complex:1019:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::pow(const complex<_Tp>&, int)’
 1019 |     pow(const complex<_Tp>& __z, int __n)
      |     ^~~
/usr/include/c++/12/complex:1019:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:901:68: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  901 |                                 wd_star = sigma*(0.2-(0.12*std::pow(hurst,0.6)));
      |                                                            ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1028:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::pow(const complex<_Tp>&, const _Tp&)’
 1028 |     pow(const complex<_Tp>& __x, const _Tp& __y)
      |     ^~~
/usr/include/c++/12/complex:1028:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:901:68: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  901 |                                 wd_star = sigma*(0.2-(0.12*std::pow(hurst,0.6)));
      |                                                            ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1062:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::pow(const complex<_Tp>&, const complex<_Tp>&)’
 1062 |     pow(const complex<_Tp>& __x, const complex<_Tp>& __y)
      |     ^~~
/usr/include/c++/12/complex:1062:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:901:68: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  901 |                                 wd_star = sigma*(0.2-(0.12*std::pow(hurst,0.6)));
      |                                                            ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1073:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::pow(const _Tp&, const complex<_Tp>&)’
 1073 |     pow(const _Tp& __x, const complex<_Tp>& __y)
      |     ^~~
/usr/include/c++/12/complex:1073:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:901:68: note:   mismatched types ‘const std::complex<_Tp>’ and ‘double’
  901 |                                 wd_star = sigma*(0.2-(0.12*std::pow(hurst,0.6)));
      |                                                            ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1854:5: note: candidate: ‘template<class _Tp, class _Up> std::complex<typename __gnu_cxx::__promote_2<_Tp, _Up>::__type> std::pow(const complex<_Tp>&, const _Up&)’
 1854 |     pow(const std::complex<_Tp>& __x, const _Up& __y)
      |     ^~~
/usr/include/c++/12/complex:1854:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:901:68: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  901 |                                 wd_star = sigma*(0.2-(0.12*std::pow(hurst,0.6)));
      |                                                            ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1862:5: note: candidate: ‘template<class _Tp, class _Up> std::complex<typename __gnu_cxx::__promote_2<_Tp, _Up>::__type> std::pow(const _Tp&, const complex<_Up>&)’
 1862 |     pow(const _Tp& __x, const std::complex<_Up>& __y)
      |     ^~~
/usr/include/c++/12/complex:1862:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:901:68: note:   mismatched types ‘const std::complex<_Up>’ and ‘double’
  901 |                                 wd_star = sigma*(0.2-(0.12*std::pow(hurst,0.6)));
      |                                                            ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1870:5: note: candidate: ‘template<class _Tp, class _Up> std::complex<typename __gnu_cxx::__promote_2<_Tp, _Up>::__type> std::pow(const complex<_Tp>&, const complex<_Up>&)’
 1870 |     pow(const std::complex<_Tp>& __x, const std::complex<_Up>& __y)
      |     ^~~
/usr/include/c++/12/complex:1870:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:901:68: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  901 |                                 wd_star = sigma*(0.2-(0.12*std::pow(hurst,0.6)));
      |                                                            ~~~~~~~~^~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:140:1: note: candidate: ‘double pow(double, double)’
  140 | __MATHCALL_VEC (pow,, (_Mdouble_ __x, _Mdouble_ __y));
      | ^~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:140:1: note:   no known conversion for argument 1 from ‘IssmDouble’ {aka ‘adouble’} to ‘double’
  140 | __MATHCALL_VEC (pow,, (_Mdouble_ __x, _Mdouble_ __y));
      | ^
/usr/include/c++/12/cmath:388:3: note: candidate: ‘constexpr float std::pow(float, float)’
  388 |   pow(float __x, float __y)
      |   ^~~
/usr/include/c++/12/cmath:388:13: note:   no known conversion for argument 1 from ‘IssmDouble’ {aka ‘adouble’} to ‘float’
  388 |   pow(float __x, float __y)
      |       ~~~~~~^~~
/usr/include/c++/12/cmath:392:3: note: candidate: ‘constexpr long double std::pow(long double, long double)’
  392 |   pow(long double __x, long double __y)
      |   ^~~
/usr/include/c++/12/cmath:392:19: note:   no known conversion for argument 1 from ‘IssmDouble’ {aka ‘adouble’} to ‘long double’
  392 |   pow(long double __x, long double __y)
      |       ~~~~~~~~~~~~^~~
./classes/Elements/Tria.cpp:903:68: error: no matching function for call to ‘erf(adub)’
  903 |                                 lake_depth[iv] = 0.6*sigma*std::erf(67*S)*(1-(0.41*std::pow(hurst,0.6)));
      |                                                            ~~~~~~~~^~~~~~
/usr/include/c++/12/cmath:1318:5: note: candidate: ‘template<class _Tp> constexpr typename __gnu_cxx::__enable_if<std::__is_integer<_Tp>::__value, double>::__type std::erf(_Tp)’
 1318 |     erf(_Tp __x)
      |     ^~~
/usr/include/c++/12/cmath:1318:5: note:   template argument deduction/substitution failed:
/usr/include/c++/12/cmath: In substitution of ‘template<class _Tp> constexpr typename __gnu_cxx::__enable_if<std::__is_integer<_Tp>::__value, double>::__type std::erf(_Tp) [with _Tp = adub]’:
./classes/Elements/Tria.cpp:903:40:   required from here
/usr/include/c++/12/cmath:1318:5: error: no type named ‘__type’ in ‘struct __gnu_cxx::__enable_if<false, double>’
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:231:1: note: candidate: ‘double erf(double)’
  231 | __MATHCALL_VEC (erf,, (_Mdouble_));
      | ^~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:231:24: note:   no known conversion for argument 1 from ‘adub’ to ‘double’
  231 | __MATHCALL_VEC (erf,, (_Mdouble_));
      |                        ^~~~~~~~~
/usr/include/c++/12/cmath:1306:3: note: candidate: ‘constexpr float std::erf(float)’
 1306 |   erf(float __x)
      |   ^~~
/usr/include/c++/12/cmath:1306:13: note:   no known conversion for argument 1 from ‘adub’ to ‘float’
 1306 |   erf(float __x)
      |       ~~~~~~^~~
/usr/include/c++/12/cmath:1310:3: note: candidate: ‘constexpr long double std::erf(long double)’
 1310 |   erf(long double __x)
      |   ^~~
/usr/include/c++/12/cmath:1310:19: note:   no known conversion for argument 1 from ‘adub’ to ‘long double’
 1310 |   erf(long double __x)
      |       ~~~~~~~~~~~~^~~
./classes/Elements/Tria.cpp:903:92: error: no matching function for call to ‘pow(IssmDouble&, double)’
  903 |                                 lake_depth[iv] = 0.6*sigma*std::erf(67*S)*(1-(0.41*std::pow(hurst,0.6)));
      |                                                                                    ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/cmath:415:5: note: candidate: ‘template<class _Tp, class _Up> constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::pow(_Tp, _Up)’
  415 |     pow(_Tp __x, _Up __y)
      |     ^~~
/usr/include/c++/12/cmath:415:5: note:   template argument deduction/substitution failed:
/usr/include/c++/12/cmath: In substitution of ‘template<class _Tp, class _Up> constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::pow(_Tp, _Up) [with _Tp = adouble; _Up = double]’:
./classes/Elements/Tria.cpp:903:64:   required from here
/usr/include/c++/12/cmath:415:5: error: no type named ‘__type’ in ‘struct __gnu_cxx::__promote<adouble, false>’
/usr/include/c++/12/complex:1019:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::pow(const complex<_Tp>&, int)’
 1019 |     pow(const complex<_Tp>& __z, int __n)
      |     ^~~
/usr/include/c++/12/complex:1019:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:903:92: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  903 |                                 lake_depth[iv] = 0.6*sigma*std::erf(67*S)*(1-(0.41*std::pow(hurst,0.6)));
      |                                                                                    ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1028:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::pow(const complex<_Tp>&, const _Tp&)’
 1028 |     pow(const complex<_Tp>& __x, const _Tp& __y)
      |     ^~~
/usr/include/c++/12/complex:1028:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:903:92: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  903 |                                 lake_depth[iv] = 0.6*sigma*std::erf(67*S)*(1-(0.41*std::pow(hurst,0.6)));
      |                                                                                    ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1062:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::pow(const complex<_Tp>&, const complex<_Tp>&)’
 1062 |     pow(const complex<_Tp>& __x, const complex<_Tp>& __y)
      |     ^~~
/usr/include/c++/12/complex:1062:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:903:92: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  903 |                                 lake_depth[iv] = 0.6*sigma*std::erf(67*S)*(1-(0.41*std::pow(hurst,0.6)));
      |                                                                                    ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1073:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::pow(const _Tp&, const complex<_Tp>&)’
 1073 |     pow(const _Tp& __x, const complex<_Tp>& __y)
      |     ^~~
/usr/include/c++/12/complex:1073:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:903:92: note:   mismatched types ‘const std::complex<_Tp>’ and ‘double’
  903 |                                 lake_depth[iv] = 0.6*sigma*std::erf(67*S)*(1-(0.41*std::pow(hurst,0.6)));
      |                                                                                    ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1854:5: note: candidate: ‘template<class _Tp, class _Up> std::complex<typename __gnu_cxx::__promote_2<_Tp, _Up>::__type> std::pow(const complex<_Tp>&, const _Up&)’
 1854 |     pow(const std::complex<_Tp>& __x, const _Up& __y)
      |     ^~~
/usr/include/c++/12/complex:1854:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:903:92: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  903 |                                 lake_depth[iv] = 0.6*sigma*std::erf(67*S)*(1-(0.41*std::pow(hurst,0.6)));
      |                                                                                    ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1862:5: note: candidate: ‘template<class _Tp, class _Up> std::complex<typename __gnu_cxx::__promote_2<_Tp, _Up>::__type> std::pow(const _Tp&, const complex<_Up>&)’
 1862 |     pow(const _Tp& __x, const std::complex<_Up>& __y)
      |     ^~~
/usr/include/c++/12/complex:1862:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:903:92: note:   mismatched types ‘const std::complex<_Up>’ and ‘double’
  903 |                                 lake_depth[iv] = 0.6*sigma*std::erf(67*S)*(1-(0.41*std::pow(hurst,0.6)));
      |                                                                                    ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/12/complex:1870:5: note: candidate: ‘template<class _Tp, class _Up> std::complex<typename __gnu_cxx::__promote_2<_Tp, _Up>::__type> std::pow(const complex<_Tp>&, const complex<_Up>&)’
 1870 |     pow(const std::complex<_Tp>& __x, const std::complex<_Up>& __y)
      |     ^~~
/usr/include/c++/12/complex:1870:5: note:   template argument deduction/substitution failed:
./classes/Elements/Tria.cpp:903:92: note:   ‘IssmDouble’ {aka ‘adouble’} is not derived from ‘const std::complex<_Tp>’
  903 |                                 lake_depth[iv] = 0.6*sigma*std::erf(67*S)*(1-(0.41*std::pow(hurst,0.6)));
      |                                                                                    ~~~~~~~~^~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:140:1: note: candidate: ‘double pow(double, double)’
  140 | __MATHCALL_VEC (pow,, (_Mdouble_ __x, _Mdouble_ __y));
      | ^~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:140:1: note:   no known conversion for argument 1 from ‘IssmDouble’ {aka ‘adouble’} to ‘double’
  140 | __MATHCALL_VEC (pow,, (_Mdouble_ __x, _Mdouble_ __y));
      | ^
/usr/include/c++/12/cmath:388:3: note: candidate: ‘constexpr float std::pow(float, float)’
  388 |   pow(float __x, float __y)
      |   ^~~
/usr/include/c++/12/cmath:388:13: note:   no known conversion for argument 1 from ‘IssmDouble’ {aka ‘adouble’} to ‘float’
  388 |   pow(float __x, float __y)
      |       ~~~~~~^~~
/usr/include/c++/12/cmath:392:3: note: candidate: ‘constexpr long double std::pow(long double, long double)’
  392 |   pow(long double __x, long double __y)
      |   ^~~
/usr/include/c++/12/cmath:392:19: note:   no known conversion for argument 1 from ‘IssmDouble’ {aka ‘adouble’} to ‘long double’
  392 |   pow(long double __x, long double __y)
      |       ~~~~~~~~~~~~^~~
make[3]: *** [Makefile:6278: classes/Elements/libISSMCore_la-Tria.lo] Error 1
make[3]: Leaving directory '/home/jenkins/workspace/Debian_Linux-ADOL-C/AMPI/ampion/label/Debian_12-VM/src/c'
make[2]: *** [Makefile:456: all-recursive] Error 1
make[2]: Leaving directory '/home/jenkins/workspace/Debian_Linux-ADOL-C/AMPI/ampion/label/Debian_12-VM/src'
make[1]: *** [Makefile:511: all-recursive] Error 1
make[1]: Leaving directory '/home/jenkins/workspace/Debian_Linux-ADOL-C/AMPI/ampion/label/Debian_12-VM'
make: *** [Makefile:443: all] Error 2
ISSM_COMPILATION failed!
Build step 'Execute shell' marked build as failure
Recording test results
Finished: FAILURE