4#include "../../include/Sfx_Simulation.h"
5#include "../../SfxBase/Sfx_PhysicalAlgorithm.h"
6#include "../PhysicsAlgorithm/Testvs19_EMcNeilAlgorithm.h"
7#include "../PhysicsAlgorithm/Testvs19_ProtoPhysicalAlgorithm.h"
8#include "../PhysicsAlgorithm/Testvs19_BaseRhsPhysicsAlgorithm.h"
12 inline constexpr std::string
toStr(std::string aStr)
23 template<
typename... Ts >
26 using namespace std::string_literals;
27 using namespace std::string_view_literals;
31 constexpr std::string_view w_algoName =
"EMcNeilAlgorithm"sv;
33 std::unique_ptr<Sfx::PhysicalAlgorithm> ptrPhyAlgo{
nullptr};
35 if constexpr (
toStr(
"EMcNeilAlgorithm") ==
"EMcNeilAlgorithm"s)
39 else if constexpr (
sizeof...(params) == 3)
43 else if constexpr (
sizeof...(params) == 2)
49 Sfx::Logger::instance()->OutputError(std::string{
"Physical Algorithm not supported"}.data());
Base RHS terms algoritm (support legacy code).
Definition Testvs19_BaseRhsPhysicsAlgorithm.h:24
Concept of physical algoritm using components (set numerical method). This allow to program complex a...
Definition Testvs19_EMcNeilAlgorithm.h:30
Concept of physical algoritm using components (set numerical method). This allow to program complex a...
Definition Testvs19_ProtoPhysicalAlgorithm.h:37
Definition DamBreakProb.h:15
constexpr std::string toStr(std::string aStr)
Definition dbpp_PhysicalAlgorithmFactory.hpp:12
std::unique_ptr< Sfx::PhysicalAlgorithm > makeSfxPhysicalAlgorithm(Ts &&... params)
factory method to create physical algorithm
Definition dbpp_PhysicalAlgorithmFactory.hpp:24