Click or drag to resize

Model Constructor (ListNode, ListFemMaterial, ListCroSec, ListModelElement, LCCombiCollector, ListLoadCaseCombination, ListPointLoad, ListPointMass, ListMeshLoad, ListElementLoad, ListSupport, ListElemSet, DictionaryString, GravityLoad, IdMapper, DictionaryGuid, ListInt32, DictionaryInt32, ListInt32, NKDTreeDupli, IdIndexer)

Initializes a new instance of the Model class. create a model based on some input.

Namespace:  Karamba.Models
Assembly:  KarambaCommon (in KarambaCommon.dll) Version: 2.2.0.4 (2.2.0.4)
Syntax
public Model(
	List<Node> _vertices,
	List<FemMaterial> _materials,
	List<CroSec> _crosecs,
	List<ModelElement> _elems,
	LCCombiCollector _lc_index_builder,
	List<LoadCaseCombination> _lc_combi,
	List<PointLoad> _point_loads,
	List<PointMass> _point_masses,
	List<MeshLoad> _mesh_loads,
	List<ElementLoad> _element_loads,
	List<Support> _supports,
	List<ElemSet> bsets,
	Dictionary<string, GravityLoad> g,
	IdMapper elem_id2elem_ind,
	Dictionary<Guid, List<int>> elem_guid2elem_ind,
	Dictionary<int, List<int>> nodeInd2ElemInd,
	NKDTreeDupli pointTree,
	IdIndexer id_map
)

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.
_lc_index_builder
Type: Karamba.Loads.CombinationsLCCombiCollector
maps load-case names to load-case indexes.
_lc_combi
Type: System.Collections.GenericListLoadCaseCombination
rules for load-case combinations.
_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.GenericDictionaryString, GravityLoad
mapping from load-case index to gravity load.
elem_id2elem_ind
Type: Karamba.UtilitiesIdMapper
mapping from element identifiers to element indexes.
elem_guid2elem_ind
Type: System.Collections.GenericDictionaryGuid, ListInt32
mapping from element guids to element indexes.
nodeInd2ElemInd
Type: System.Collections.GenericDictionaryInt32, ListInt32
mapping from node index to element indexes.
pointTree
Type: NKDTreeDupli
Kd-tree of the nodes of the model. The order of the vertices corresponds to that of the kd-tree.
id_map
Type: Karamba.UtilitiesIdIndexer
mapping from element identifiers to numerical identifiers.
See Also