Hi,
when compiling coefficient functions which contain the coefficient function specialcf.mesh_size (on a build from the tastes GitHub sources), the following warning is generated:
code1_0.cpp: In function 'void CompiledEvaluate(ngfem::BaseMappedIntegrationRule&, ngbla::BareSliceMatrix<double, ngbla::RowMajor>)':
code1_0.cpp:247:26: warning: 'int ngfem::BaseMappedIntegrationPoint::Dim() const' is deprecated: Use DimSpace instead [-Wdeprecated-declarations]
247 | switch (ip.Dim())
| ^
The fix seems to be “switch (ip.DimSpace())” lines 669 and 681 in fem/python_fem.cpp
Best wishes,
Henry