Points and fields

Points

class edelweissmeshfree.points.gridnode.GridNode(label, coordinates)[source]

A basic gridnode. It has a label, a spatial position, and may be associated with an arbitrary number of fields.

Parameters:
  • label (int) – The unique label for this node.

  • coordinates (ndarray) – The coordinates of this node.

Fields

class edelweissmeshfree.fields.nodefield.MPMNodeField(*args, **kwargs)[source]

Methods

addEntriesFromOther(other[, fieldValueEntries])

Add values from another NodeField.

copyEntriesFromOther(other[, fieldValueEntries])

Copy values from another NodeField.

createFieldValueEntry(name)

Add an empty entry with given name for the field, e.g, 'U' or 'P' for flux or effort entries.

subset(subset)

Get a view on a subset of the field.

class edelweissmeshfree.fields.nodefield.MPMNodeFieldSubset(*args, **kwargs)[source]

Methods

addEntriesFromOther(other[, fieldValueEntries])

Add values from another NodeField.

copyEntriesFromOther(other[, fieldValueEntries])

Copy values from another NodeField.

createFieldValueEntry(name)

Add an empty entry with given name for the field, e.g, 'U' or 'P' for flux or effort entries.

subset(subset)

Get a view on a subset of the field.

_getSubsetNodes(subset)[source]

Get the nodes associated with a subset. Only nodes with the active field are considered.

Parameters:

subset – The subset, e.g., a single Node, a NodeSet or ElementSet.

Returns:

The list of subset nodes.

Return type:

list[Node]