MCPcopy Create free account
hub / github.com/cselab/aphros / GetName

Function GetName

src/solver/solver.cpp:10–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8#include "util/logger.h"
9
10std::string GetName(Step l) {
11 switch (l) {
12 case Step::time_curr: {
13 return "time_curr";
14 }
15 case Step::time_prev: {
16 return "time_prev";
17 }
18 case Step::iter_curr: {
19 return "iter_curr";
20 }
21 case Step::iter_prev: {
22 return "iter_prev";
23 }
24 default: {
25 fassert(false, "GetName: Unknown layer");
26 }
27 }
28}
29
30ConvSc GetConvSc(std::string s) {
31 auto l = {

Callers 1

GetConvScFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected