I am trying to use the MeshSmoothing class in a c++ file, documented at
However, if I use
MeshSmoothing::smooth(*mesh); then I get the error,
error: ‘MeshSmoothing’ has not been declared,
and if I try to include the header file with
#include <MeshSmoothing.h> then I get the error
error: MeshSmoothing.h: No such file or directory.
If I just write
smooth(*mesh); I get the error
error: ‘smooth’ was not declared in this scope, and the suggestion to replace
I am running the latest stable version of FEniCS available on docker.
My apologies if I am missing something very obvious, but can anyone point out what I am doing wrong?