JaRMoS  1.1
Java Reduced Model Simulations
 All Classes Namespaces Files Functions Variables Enumerator Groups Pages
FieldMapping.java
Go to the documentation of this file.
1 package jarmos.geometry;
2 
11 public enum FieldMapping {
12 
20 
28 
33 
40  public static FieldMapping parse(String value) {
41  if (value != null) {
42  for (FieldMapping type : FieldMapping.values()) {
43  if (type.toString().toLowerCase().equals(value.toLowerCase()))
44  return type;
45  }
46  }
47  return FieldMapping.UNKNOWN;
48  }
49 }
Unknown field mapping type.
static FieldMapping parse(String value)
Parses a string into a DiscretizationType.
VERTEX
The field variables are to be mapped to geometry vertices, e.g.
ELEMENT
The field variables are to be mapped to geometry elements, e.g.
The field mapping determines how the DoF of the solution are mapped into the given geometry...