Click or drag to resize

AssembleModelsolve Method

assemble a model from the given input.

Namespace:  Karamba.Models
Assembly:  KarambaCommon (in KarambaCommon.dll) Version: 2.2.0.4 (2.2.0.4)
Syntax
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,
	out Model model,
	out string info,
	out double mass,
	out Point3 cog,
	out string msg,
	out bool runtime_warning
)

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 base mass units.
cog
Type: Karamba.GeometryPoint3
position of the center of gravity of the model.
msg
Type: SystemString
messages.
runtime_warning
Type: SystemBoolean
warnings.
See Also