|
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)
Syntaxpublic 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
)
Public Sub New (
_vertices As List(Of Node),
_materials As List(Of FemMaterial),
_crosecs As List(Of CroSec),
_elems As List(Of ModelElement),
_lc_index_builder As LCCombiCollector,
_lc_combi As List(Of LoadCaseCombination),
_point_loads As List(Of PointLoad),
_point_masses As List(Of PointMass),
_mesh_loads As List(Of MeshLoad),
_element_loads As List(Of ElementLoad),
_supports As List(Of Support),
bsets As List(Of ElemSet),
g As Dictionary(Of String, GravityLoad),
elem_id2elem_ind As IdMapper,
elem_guid2elem_ind As Dictionary(Of Guid, List(Of Integer)),
nodeInd2ElemInd As Dictionary(Of Integer, List(Of Integer)),
pointTree As NKDTreeDupli,
id_map As IdIndexer
)
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
)
new :
_vertices : List<Node> *
_materials : List<FemMaterial> *
_crosecs : List<CroSec> *
_elems : List<ModelElement> *
_lc_index_builder : LCCombiCollector *
_lc_combi : List<LoadCaseCombination> *
_point_loads : List<PointLoad> *
_point_masses : List<PointMass> *
_mesh_loads : List<MeshLoad> *
_element_loads : List<ElementLoad> *
_supports : List<Support> *
bsets : List<ElemSet> *
g : Dictionary<string, GravityLoad> *
elem_id2elem_ind : IdMapper *
elem_guid2elem_ind : Dictionary<Guid, List<int>> *
nodeInd2ElemInd : Dictionary<int, List<int>> *
pointTree : NKDTreeDupli *
id_map : IdIndexer -> ModelParameters
- _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