Click or drag to resize

Model Constructor (ListNode, ListFemMaterial, ListCroSec, ListModelElement, ListPointLoad, ListPointMass, ListMeshLoad, ListElementLoad, ListSupport, ListElemSet, DictionaryInt32, GravityLoad, ItemSelector, IdManager, Int32)

create a model based on some input

Namespace:  Karamba.Models
Assembly:  KarambaCommon (in KarambaCommon.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public Model(
	List<Node> _vertices,
	List<FemMaterial> _materials,
	List<CroSec> _crosecs,
	List<ModelElement> _elems,
	List<PointLoad> _point_loads,
	List<PointMass> _point_masses,
	List<MeshLoad> _mesh_loads,
	List<ElementLoad> _element_loads,
	List<Support> _supports,
	List<ElemSet> bsets,
	Dictionary<int, GravityLoad> g,
	ItemSelector elem_id2elem_ind,
	IdManager id_map,
	int numLC
)

Parameters

_vertices
Type: System.Collections.GenericListNode
nodal coordinates in order to specify a certain order of nodes or for defining zero length elements
_materials
Type: System.Collections.GenericListFemMaterial
>material definitions which are applied to the elements via the material's element identifiers
_crosecs
Type: System.Collections.GenericListCroSec
cross section definitions which are applied to the elements via the cross section's element identifiers
_elems
Type: System.Collections.GenericListModelElement
elements to be part of the model, they normally come with their own nodal positions, cross sections and materials
_point_loads
Type: System.Collections.GenericListPointLoad
nodal forces and moments
_point_masses
Type: System.Collections.GenericListPointMass
masses attached to nodes
_mesh_loads
Type: System.Collections.GenericListMeshLoad
mesh-loads
_element_loads
Type: System.Collections.GenericListElementLoad
element-loads
_supports
Type: System.Collections.GenericListSupport
support conditions
bsets
Type: System.Collections.GenericListElemSet
element-sets
g
Type: System.Collections.GenericDictionaryInt32, GravityLoad
mapping from load-case index to gravity load
elem_id2elem_ind
Type: Karamba.ElementsItemSelector
mapping from element identifiers to element indexes
id_map
Type: Karamba.ElementsIdManager
mapping from element identifiers to numerical identifiers
numLC
Type: SystemInt32
number of load-caases
See Also