JaRMoS  1.1
Java Reduced Model Simulations
 All Classes Namespaces Files Functions Variables Enumerator Groups Pages
SCMType.java
Go to the documentation of this file.
1 package rb;
2 
12 public enum SCMType {
17 
22 
27 
32 
37 
43  public static SCMType parse(String s) {
44  for (SCMType t : SCMType.values()) {
45  if (t.toString().equals(s))
46  return t;
47  }
48  return SCMType.NONE;
49  }
50 
57  switch (this) {
58  case NONE:
59  return null;
60  case COERCIVE:
61  return new RBSCMSystem(sys);
62  case COERCIVE_ALPHASIGMA:
63  return new RBSCMSystem(sys);
64  case QN_TRANSIENT_SCM:
65  return new QNTransientSCMSystem(sys);
66  case COMPLEX_NONCOERCIVE:
67  return new RBnSCMCSystem(sys);
68  default:
69  return null;
70  }
71  }
72 }
Base class for quadratically nonlinear RB systems including the SCM method for error bound computatio...
This class provides the Online stage for the reduced basis method for elliptic steady state problems...
Definition: RBSystem.java:54
COERCIVE_ALPHASIGMA
A coercive system with alpha/sigma.
Definition: SCMType.java:26
COERCIVE
A coervice system.
Definition: SCMType.java:21
This class implements the Online stage of the Successive Constraint Method for coercive problems...
Reduced basis SCM system.
NONE
Not an SCM system.
Definition: SCMType.java:16
static SCMType parse(String s)
Definition: SCMType.java:43
Enum containing the known SCM (successive constraint method) model types in JRB.
Definition: SCMType.java:12
RBSCMSystem getNewRBSCMSystem(RBSystem sys)
Creates a new instance of an RBSCMSystem subclass according to the current SCMType.
Definition: SCMType.java:56
QN_TRANSIENT_SCM
Dunno :-)
Definition: SCMType.java:31
A complex-valued non-coercive system.
Definition: SCMType.java:36