CroSecenlistMaterial Method

Return a material based on its reference or name. Add it to the list of materials if not already present.

Definition

Namespace: Karamba.CrossSections
Assembly: KarambaCommon (in KarambaCommon.dll) Version: 3.0.8.0+eb23a7103f0eca0b6d808121e15fec6899194e15
C#
protected static FemMaterial enlistMaterial(
	FemMaterial material,
	Dictionary<FemMaterial, int> material2ind,
	List<FemMaterial> materials
)

Parameters

material  FemMaterial
material to be enlisted, may be null.
material2ind  DictionaryFemMaterial, Int32
maps material names to indexes, may be updated.
materials  ListFemMaterial
contains all the materials, may be updated.

Return Value

FemMaterial
A material based on its reference or name.

See Also