|
AssembleModelsolve Method
|
assemble a model from the given input
Namespace:
Karamba.Models
Assembly:
KarambaCommon (in KarambaCommon.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static void solve(
IReadOnlyList<Point3> in_points,
IReadOnlyList<BuilderElement> in_elems,
IReadOnlyList<Support> in_supports,
List<Load> in_loads,
IReadOnlyList<CroSec> in_crosecs,
IReadOnlyList<FemMaterial> in_materials,
IReadOnlyList<ElemSet> in_beamsets,
IReadOnlyList<Joint> in_joints,
double limit_dist,
out Model model,
out string info,
out double mass,
out Point3 cog,
out string msg,
out bool runtime_warning
)
Public Shared Sub solve (
in_points As IReadOnlyList(Of Point3),
in_elems As IReadOnlyList(Of BuilderElement),
in_supports As IReadOnlyList(Of Support),
in_loads As List(Of Load),
in_crosecs As IReadOnlyList(Of CroSec),
in_materials As IReadOnlyList(Of FemMaterial),
in_beamsets As IReadOnlyList(Of ElemSet),
in_joints As IReadOnlyList(Of Joint),
limit_dist As Double,
<OutAttribute> ByRef model As Model,
<OutAttribute> ByRef info As String,
<OutAttribute> ByRef mass As Double,
<OutAttribute> ByRef cog As Point3,
<OutAttribute> ByRef msg As String,
<OutAttribute> ByRef runtime_warning As Boolean
)
public:
static void solve(
IReadOnlyList<Point3>^ in_points,
IReadOnlyList<BuilderElement^>^ in_elems,
IReadOnlyList<Support^>^ in_supports,
List<Load^>^ in_loads,
IReadOnlyList<CroSec^>^ in_crosecs,
IReadOnlyList<FemMaterial^>^ in_materials,
IReadOnlyList<ElemSet^>^ in_beamsets,
IReadOnlyList<Joint^>^ in_joints,
double limit_dist,
[OutAttribute] Model^% model,
[OutAttribute] String^% info,
[OutAttribute] double% mass,
[OutAttribute] Point3% cog,
[OutAttribute] String^% msg,
[OutAttribute] bool% runtime_warning
)
static member solve :
in_points : IReadOnlyList<Point3> *
in_elems : IReadOnlyList<BuilderElement> *
in_supports : IReadOnlyList<Support> *
in_loads : List<Load> *
in_crosecs : IReadOnlyList<CroSec> *
in_materials : IReadOnlyList<FemMaterial> *
in_beamsets : IReadOnlyList<ElemSet> *
in_joints : IReadOnlyList<Joint> *
limit_dist : float *
model : Model byref *
info : string byref *
mass : float byref *
cog : Point3 byref *
msg : string byref *
runtime_warning : bool byref -> unit
Parameters
- in_points
- Type: System.Collections.GenericIReadOnlyListPoint3
nodal coordinates in order to specify a certain order of nodes or for defining zero length elements - in_elems
- Type: System.Collections.GenericIReadOnlyListBuilderElement
elements to be part of the model, they normally come with their own nodal positions, cross sections and materials - in_supports
- Type: System.Collections.GenericIReadOnlyListSupport
supports of the model - in_loads
- Type: System.Collections.GenericListLoad
loads of the model - in_crosecs
- Type: System.Collections.GenericIReadOnlyListCroSec
cross section definitions which are applied to the elements via the cross section's element identifiers - in_materials
- Type: System.Collections.GenericIReadOnlyListFemMaterial
material definitions which are applied to the elements via the material's element identifiers - in_beamsets
- Type: System.Collections.GenericIReadOnlyListElemSet
beam-set objects - in_joints
- Type: System.Collections.GenericIReadOnlyListJoint
joint objects - limit_dist
- Type: SystemDouble
limit distance for snapping together neighboring points - model
- Type: Karamba.ModelsModel
created model - info
- Type: SystemString
information regarding the model creation process - mass
- Type: SystemDouble
mass of the model in kg - cog
- Type: Karamba.GeometryPoint3
position of the center of gravity of the model - msg
- Type: SystemString
messages - runtime_warning
- Type: SystemBoolean
warnings
See Also