Click or drag to resize

ModelBuilder Class

Builds a statical model from given components
Inheritance Hierarchy
SystemObject
  Karamba.ModelsModelBuilder

Namespace:  Karamba.Models
Assembly:  KarambaCommon (in KarambaCommon.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class ModelBuilder

The ModelBuilder type exposes the following members.

Constructors
  NameDescription
Public methodModelBuilder
create new model-builder
Top
Properties
  NameDescription
Public propertyinfo
get information from message logger
Public propertywarning
warning regarding the assembling process of the model
Top
Methods
  NameDescription
Protected methodAdd(IReadOnlyListCroSec)
add cross sections to the model
Protected methodAdd(IReadOnlyListFemMaterial)
Add materials to model. The first material is the default material
Protected methodAdd(IReadOnlyListSupport)
add supports
Protected methodAdd(ListLoad, String)
add all types of loads to the model.
Protected methodAdd(IReadOnlyListPoint3, IReadOnlyListBuilderElement)
add points given explicitly and points given implicitly via elements and snap them
Protected methodAdd(IReadOnlyListBuilderElement, IReadOnlyListElemSet, IReadOnlyListPoint3, IReadOnlyListFemMaterial, MessageLogger)
adds elements to the model
Public methodbuild
build a model from given input data and builders
Protected methodelementModifyCroSec
modifies cross sections based on element data. New cross sections are added to the end of the cross sections list
Protected methodelementsApplyModifiers
apply modifiers to the elements
Protected methodelementsAttachCroSecs
attach cross sections which directly reference an element and thus act as agents This is only done if a default cross section is attached to an element
Protected methodelementsAttachMaterial
attach materials that directly refer to elements. Only if an element has a default material.
Protected methodelementsCategorize
splits up the incoming list of grass elements
Protected methodelementsEnlistIds
enlist the element and element set identifiers in the model
Protected methodelementsSetInvalidsInactive
sets invalid elements as inactive Needs to come after cross section attachment since springs-elements can have identical endpoints.
Protected methodelementsSnapIndex
snaps elements based on their nodal index
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldduplicate_supports_inds_
indexes of supports which act at nodes which already have a support
Protected fieldlimit_dist_
distance below which two nodes snap to one
Protected fieldlogger_
general information regarding the assembling process of the model
Protected fieldmax_lc_ind_
maximum load-case encountered when adding loads
Protected fieldpoint_tree_
kd-tree of all nodes of the model
Public fieldunused_loads_inds_
indexes of user defined element loads which are not used
Protected fieldwarning_
warning regarding the assembling process of the model
Top
See Also