Commit 9d23f1fd authored by Benoît LÉ's avatar Benoît LÉ

[xTLS] Corrected xEvalTLSAdimLSFromLevelSetAndLCFront

An error was introduced in commit 4727e73e... "tagger" should be a member
of xEvalTLSAdimLSFromLevelSetAndLCFront, created and modified in this class,
and not an object coming from outside.
parent 5569e972
......@@ -29,10 +29,8 @@ double xEvalTLSAdimLSFromLevelSet::getGrad() const { return one_on_lc; }
//-------------------------------------------------------------------------------------------------------------------------------------------------
xEvalTLSAdimLSFromLevelSetAndLCFront::xEvalTLSAdimLSFromLevelSetAndLCFront(
xLevelSet &l, const double &lc_, const std::function<void(AOMD::mEntity *, xPartition &)> &get_partition, const xMesh *iso_lc,
bool iso_not_empty_,
// xtool::xGeneralUnorderedMapDataManager<AOMD::mEntity*, short>& _tagger_,
xinterface::aomd::xAttachedDataManagerAOMD<char> &_tagger_, xfem::xEntityToEntity upper_)
: ls(l), upper(upper_), lc(lc_), one_on_lc(1. / lc_), iso_not_empty(iso_not_empty_), tagger(_tagger_)
bool iso_not_empty_, xfem::xEntityToEntity upper_)
: ls(l), upper(upper_), lc(lc_), one_on_lc(1. / lc_), iso_not_empty(iso_not_empty_)
{
update(get_partition, iso_lc);
}
......
......@@ -50,8 +50,6 @@ class xEvalTLSAdimLSFromLevelSetAndLCFront : public xEvalTLSAdimLS
xEvalTLSAdimLSFromLevelSetAndLCFront(xfem::xLevelSet &l, const double &lc_,
const std::function<void(AOMD::mEntity *, xfem::xPartition &)> &get_partition,
const xfem::xMesh *iso_lc, bool iso_not_empty_,
// xtool::xGeneralUnorderedMapDataManager<AOMD::mEntity*,short>& _tagger_,
xinterface::aomd::xAttachedDataManagerAOMD<char> &_tagger_,
xfem::xEntityToEntity upper_ = xfem::xCreator());
void update(const std::function<void(AOMD::mEntity *, xfem::xPartition &)> &get_partition, const xfem::xMesh *iso_lc);
void operator()(const xfem::xGeomElem *geo_appro, const xfem::xGeomElem *geo_integ, result_type &res) const override;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment