From 8ceeb52d159522ce803c14acba3aa3a457a29382 Mon Sep 17 00:00:00 2001 From: Boris Sedji <sedji.boris@hotmail.com> Date: Thu, 3 Jun 2010 10:40:53 +0000 Subject: [PATCH] --- Solver/CMakeLists.txt | 1 + Solver/filters.cpp | 16 ++++++++++++++++ Solver/filters.h | 31 ++++++++++++++++++++++++++++++- 3 files changed, 47 insertions(+), 1 deletion(-) create mode 100644 Solver/filters.cpp diff --git a/Solver/CMakeLists.txt b/Solver/CMakeLists.txt index d297e54425..0a4100756c 100644 --- a/Solver/CMakeLists.txt +++ b/Solver/CMakeLists.txt @@ -17,6 +17,7 @@ set(SRC functionDerivator.cpp luaFunction.cpp functionSpace.cpp + filters.cpp ) file(GLOB HDR RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.h) diff --git a/Solver/filters.cpp b/Solver/filters.cpp new file mode 100644 index 0000000000..d48467dc84 --- /dev/null +++ b/Solver/filters.cpp @@ -0,0 +1,16 @@ +// +// Description : Filters for function space dof selection +// +// +// Author: <Eric Bechet>::<Boris Sedji>, 02/2010 +// +// Copyright: See COPYING file that comes with this distribution +// +// + +#include "filters.h" + +void FilterLevelSetForLagMultSpace::SortNodes (void) +{ + ; +} \ No newline at end of file diff --git a/Solver/filters.h b/Solver/filters.h index 8323bc06de..9a5781143c 100644 --- a/Solver/filters.h +++ b/Solver/filters.h @@ -1,5 +1,5 @@ // -// Description : Filtered and xFem function space definition +// Description : Filters for function space dof selection // // // Author: <Eric Bechet>::<Boris Sedji>, 02/2010 @@ -121,5 +121,34 @@ class FilterElementsCutByLevelSet }; +class FilterLevelSetForLagMultSpace +{ + + private : + + groupOfElements * _g; + std::pair<int,int> _LevelSetEntity; + std::set<int> _winner_nodes; + std::set<int> _all_nodes; + + private : + + void SortNodes (void) ; + + public : + + FilterLevelSetForLagMultSpace(std::pair<int,int> LevelSetEntity, groupOfElements * g) : _LevelSetEntity(LevelSetEntity), _g(g) + { + SortNodes(); + } + + virtual bool operator () (Dof & key) const + { + ; + } + +}; + + #endif -- GitLab