|
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
)
Public Sub New (
_vertices As List(Of Node),
_materials As List(Of FemMaterial),
_crosecs As List(Of CroSec),
_elems As List(Of ModelElement),
_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 Integer, GravityLoad),
elem_id2elem_ind As ItemSelector,
id_map As IdManager,
numLC As Integer
)
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
)
new :
_vertices : List<Node> *
_materials : List<FemMaterial> *
_crosecs : List<CroSec> *
_elems : List<ModelElement> *
_point_loads : List<PointLoad> *
_point_masses : List<PointMass> *
_mesh_loads : List<MeshLoad> *
_element_loads : List<ElementLoad> *
_supports : List<Support> *
bsets : List<ElemSet> *
g : Dictionary<int, GravityLoad> *
elem_id2elem_ind : ItemSelector *
id_map : IdManager *
numLC : int -> Model
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