model.coeff(<tag>).feature(
<ftag>).getAllowedPropertyValues(
property);
model.coeff(<tag>).
feature(<ftag>).set(String pname, int value);
model.coeff(<tag>).
feature(<ftag>).set(String pname, int pos, int value);
model.coeff(<tag>).
feature(<ftag>).set(String pname, int pos, int[] value);
model.coeff(<tag>).
feature(<ftag>).set(String pname, int pos1, int pos2, int value);
model.coeff(<tag>).
feature(<ftag>).setIndex(String name, String value, int index);
model.coeff(<tag>).
feature(<ftag>).setIndex(String name, String value, int firstIndex,
int secondIndex);
model.coeff(<tag>).
feature(<ftag>).setIndex(String name, String[] value, int index);
model.coeff(<tag>).
feature(<ftag>).setIndex(String name, double value, int index);
model.coeff(<tag>).
feature(<ftag>).setIndex(String name, double value, int firstIndex,
int secondIndex);
model.coeff(<tag>).
feature(<ftag>).setIndex(String name, double[] value, int index);
model.coeff(<tag>).
feature(<ftag>).setIndex(String name, int value, int index);
model.coeff(<tag>).
feature(<ftag>).setIndex(String name, String value, int index);
model.coeff(<tag>).
feature(<ftag>).setIndex(String name, String value, int index);
model.coeff(<tag>).
feature(<ftag>).setIndex(String name, int value, int firstIndex,
int secondIndex);
model.coeff(<tag>).
feature(<ftag>).setIndex(String name, int[] value, int index);
The set() methods index/position arguments are 1-based. The
setIndex() methods index/position arguments are 0-based.
model.coeff(<tag>)returns the coefficient form equations with tag
<tag>.
model.coeff().create(<tag>,<fields>) creates coefficient form equations with tag
<tag> using the fields
<fields>. The field tags refer to the fields defined by
model.field(). The shape functions referred to by the fields are internally also used to find the derivatives of the field variables if converting the coefficient features to the weak formulation. By default, all coefficients are designed to be noncontributing to the equation under consideration. For example,
model.coeff().create("mytag",new String[]{"u","v"}).
model.coeff(<tag>).field(<fields>) sets the coefficient form field variables.
<fields> is a string with a field tag or a vector of field tags — for example,
new String[]{"u","v"}. Reassigning the fields has the side effect that the size of the coefficients change if the number of field variables changes.
model.coeff(<tag>).field(<pos>,<fields>) edits the field at position
<pos> in the field vector
<fields>.
model.coeff(<tag>).intRule(<irlist>) assigns integration rules to the coefficient form equations. The list must have the same length as the number of field variables defined by the fields or have length 1. In the latter case all equations use the same integration rule. The number of field variables is not necessarily the same as the number of strings specified in
model.coeff(<tag>).field().
model.coeff(<tag>).intRule(<pos>,<irule>) edits the integration rule at position
<pos> in the vector
<irule>.
model.coeff(<tag>).feature(<ftag>) is a coefficient form feature with tag
<ftag> in the coefficient form equations with tag
<tag>.
model.coeff(<tag>).create(<ftag>) creates a new coefficient form feature with tag
<ftag>.
model.coeff(<tag>).feature(<ftag>).set(ctype,<cvalue>) sets the value of the coefficient of type
ctype to
<value>. All string data types that are listed in
Table 2-4 are supported; which argument types are applicable depends on the coefficient.
ctype is one of
c,
al,
ga,
be,
a,
f,
da,
ea,
q, and
g. These coefficients are available at all dimensions. In addition at level
edim==sdim-1, the coefficients
q and
g are allowed, corresponding to
a and
f, respectively. All coefficients have a default 0 contribution.
model.coeff(<tag>).feature(<ftag>).selection().named(<seltag>) assigns the coefficient form equations to the named selection
<seltag>.
model.coeff(<tag>).feature(<ftag>).selection().set(...) defines a local selection that assigns the coefficient form equations to geometric entities. For a complete list of methods available under
selection(), see
model.selection(). Only selections at a single geometry level is allowed in the selection.
model.coeff(<tag>).feature(<ftag>)).getAllowedPropertyValues(property) returns the set of allowed values for a property if the set is a finite set of strings; otherwise, it returns null.
model.coeff(<tag>).field() returns the fields as a string array.
model.coeff(<tag>).intRule() returns the integration rule tags as a string array.
model.coeff(<tag>).feature(<ftag>).getType(ctype) returns the coefficient value. See the section
get* and Selection Access Methods for available methods.
model.coeff(<tag>).feature(<ftag>).selection().named() returns the named selection tag, and
model.coeff(<tag>).feature(<ftag>).selection().getType() returns domain information. See
model.selection() for available methods.