Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Merge branch 'python_comp_spaces' into 'master'
Python comp spaces See merge request jschoeberl/ngsolve!294
- Loading branch information
Showing
with
438 additions
and 62 deletions.
- +1 −0 comp/comp.hpp
- +3 −1 comp/facetfespace.cpp
- +1 −0 comp/facetsurffespace.cpp
- +5 −6 comp/h1hofespace.cpp
- +8 −0 comp/h1hofespace.hpp
- +1 −0 comp/hdivdivfespace.cpp
- +1 −0 comp/hdivdivsurfacespace.cpp
- +7 −8 comp/l2hofespace.cpp
- +7 −0 comp/l2hofespace.hpp
- +8 −11 comp/numberfespace.cpp
- +29 −0 comp/numberfespace.hpp
- +287 −2 comp/python_comp.cpp
- +1 −0 comp/vectorfacetfespace.cpp
- +1 −1 python/__init__.py
- +32 −32 python/utils.py
- +46 −1 tests/pytest/test_pickling.py
@@ -0,0 +1,29 @@ | ||
#ifndef FILE_NUMBERFESPACE | ||
#define FILE_NUMBERFESPACE | ||
|
||
/*********************************************************************/ | ||
/* File: numberfespace.hpp */ | ||
/* Author: Start */ | ||
/* Date: 30.FJan. 2018 */ | ||
/*********************************************************************/ | ||
|
||
|
||
namespace ngcomp | ||
{ | ||
|
||
class NumberFESpace : public FESpace | ||
{ | ||
public: | ||
NumberFESpace (shared_ptr<MeshAccess> ama, const Flags & flags, bool checkflags=false); | ||
virtual void Update(LocalHeap & lh) override; | ||
|
||
// virtual size_t GetNDof() const { return 1; } | ||
|
||
virtual FiniteElement & GetFE (ElementId ei, Allocator & lh) const override; | ||
|
||
virtual void GetDofNrs (ElementId ei, Array<int> & dnums) const override; | ||
|
||
}; | ||
|
||
} | ||
#endif |
Oops, something went wrong.