JaRMoS  1.1
Java Reduced Model Simulations
 All Classes Namespaces Files Functions Variables Enumerator Groups Pages
FieldDescriptor.java
Go to the documentation of this file.
1 package jarmos;
2 
4 
14 public class FieldDescriptor {
15 
16  /*
17  * (non-Javadoc)
18  *
19  * @see java.lang.Object#toString()
20  */
21  @Override
22  public String toString() {
23  return "FieldDescriptor " + Name + " (Type " + Type + ", mapping " + Mapping + ")";
24  }
25 
26  private static int fcnt = 0, dcnt = 0;
27 
29 
30  public String Name;
31 
36 
38  Type = type;
39  Name = "Solution field " + ++fcnt + ": " + type;
40  }
41 
42  public static FieldDescriptor getDefault() {
44  f.Mapping = FieldMapping.VERTEX;
45  f.Name = "Default real valued field " + ++dcnt;
46  return f;
47  }
48 
49 }
Unknown field mapping type.
FieldDescriptor(SolutionFieldType type)
SolutionFieldType Type
FieldMapping Mapping
Unused so far, as mixed field mappings are not yet implemented.
VERTEX
The field variables are to be mapped to geometry vertices, e.g.
This enum contains all so far known (to JaRMoSBase) types of logical solution fields.
The field mapping determines how the DoF of the solution are mapped into the given geometry...
static FieldDescriptor getDefault()
Contains information about the logical solution fields.