MCPcopy Create free account
hub / github.com/NGSolve/ngsolve / ForET

Function ForET

tests/catch/finiteelement.cpp:42–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40// Run f for ELEMENT_TYPE ET1 (used as the end of variadic template ForET)
41template<ELEMENT_TYPE ET1, typename FUNC>
42void ForET(FUNC f)
43{
44 SECTION ("ELEMENT_TYPE = " + std::string(ElementTopology::GetElementName(ET1)),"")
45 {
46 f(ET_trait<ET1>());
47 }
48}
49
50// Run function f for all ELEMENT_TYPES specified in template argument
51template<ELEMENT_TYPE ET1, ELEMENT_TYPE ET2, ELEMENT_TYPE ... ET_REST, typename FUNC>

Callers 1

finiteelement.cppFile · 0.85

Calls 1

GetElementNameFunction · 0.85

Tested by

no test coverage detected