CroSec_Shell Class

Represents a simple shell cross section.

Definition

Namespace: Karamba.CrossSections
Assembly: KarambaCommon (in KarambaCommon.dll) Version: 3.0.8.0+eb23a7103f0eca0b6d808121e15fec6899194e15
C#
[SerializableAttribute]
public class CroSec_Shell : CroSec, 
	ISerializable
Inheritance
Object    CommonObject    CroSec    CroSec_Shell
Derived
Implements
ISerializable

Constructors

CroSec_Shell Initializes a new instance of the CroSec_Shell class. construct shell cross section.
CroSec_Shell(CroSec) Initializes a new instance of the CroSec_Shell class. create shell cross section by cloning another one.
CroSec_Shell(SerializationInfo, StreamingContext) Initializes a new instance of the CroSec_Shell class. Deserialize CroSec_Shell.
CroSec_Shell(String, String, String, NullableColor, ListCroSec_Shell_ElemData) Initializes a new instance of the CroSec_Shell class. create shell cross section and calculate its mechanical properties.
CroSec_Shell(String, String, String, NullableColor, ListFemMaterial, ListDouble, ListDouble) Initializes a new instance of the CroSec_Shell class. create shell cross section and calculate its mechanical properties.

Properties

color Gets or sets user defined color of the cross section.
(Inherited from CroSec)
dims Gets or sets cross section dimensions.
(Overrides CroSecdims)
ecce_loc Gets or sets local eccentricity of cross section.
(Inherited from CroSec)
elem_crosecs Gets or sets the cross sections for each mesh-face.
elemIds Gets or sets the list of element identifiers to which the cross section is to be attached.
(Inherited from CroSec)
exteriorPerimeter Gets outer and inner (where applicable) perimeter associated with the cross section.
(Inherited from CroSec)
family Gets or sets the family of the cross section.
(Inherited from CroSec)
familyID Gets unique identifier of cross section. Excluded country in order to avoid problems in case of user defined families which consist of cross sections of different countries.
(Inherited from CroSec)
guid Gets gUID of the cross section.
(Inherited from CroSec)
hasEccent Gets a value indicating whether the cross section has a locally defined eccentricity.
(Inherited from CroSec)
isPlausible Gets a value indicating whether a cross section is plausible.
(Inherited from CroSec)
IsValid Gets a value indicating whether the cross section is valid (has e.g. non-zero area).
(Inherited from CroSec)
material Gets the material of the element.
(Overrides CroSecmaterial)
materialName Gets the base material of the shell is the material of the first elements of the first layer.
(Overrides CroSecmaterialName)
name Gets or sets the name of the cross section.
(Inherited from CroSec)
nDims Gets number of dimensional.
(Inherited from CroSec)
nProps Gets return the number of properties of the cross section.
(Inherited from CroSec)
props Gets or sets default cross section properties.
(Inherited from CroSec)
user_defined Gets a value indicating whether indicates whether a cross section is user-defined or generated (e.g. a default material).
(Inherited from CroSec)
UserData Gets access to the user-data dictionary.
(Inherited from CommonObject)
zm Gets distance of center of shear from upper section boundary.
(Inherited from CroSec)
zs Gets distance of center of gravity from upper section boundary.
(Inherited from CroSec)

Methods

accept Accepts a cross section visitor.
(Overrides CroSecaccept(CroSecVisitor))
addDuplicate add this cross section to fe-model.
(Inherited from CroSec)
AddElemId add an element identifier to the list of element identifiers which define to which elements the cross SectionForce shall be attached in the course of assemblage.
(Inherited from CroSec)
calculateProperties calculate cross-section properties from given geometry.
(Overrides CroSeccalculateProperties)
clearAndSetDefault set element cross sections to the default.
clearElemIds Empties the list of identifiers to which the cross section shall be attached.
(Inherited from CroSec)
Clone shallow clone the cross section.
(Overrides CroSecClone)
cloneElemIds clone the list of identifiers to which the cross section is to be attached. Needs to be done before it is changed in order to avoid side-effects in GH-definitions.
(Inherited from CroSec)
crossSectionHasNoResistance test whether cross section has zero resisting moment or area for cross section design.
(Overrides CroSeccrossSectionHasNoResistance(String))
defaultGuid Get the cross-sections default guid.
(Overrides CroSecdefaultGuid)
enlistAllMaterials set the material based on the material identifier and a mapping from material identifiers to indexes.
(Overrides CroSecenlistAllMaterials(DictionaryFemMaterial, Int32, ListFemMaterial))
Equals(CroSec) Compares item to this.
(Inherited from CroSec)
Equals(Object) Determines whether the specified object is equal to the current object.
(Inherited from CroSec)
fe_ind return cross section index of sub cross section in the finite element model.
(Overrides CroSecfe_ind(Int32))
FECroSecDefault Creates a FE-cross-sections from default cross section.
(Overrides CroSecFECroSecDefault(Model, Model, Int32))
FECroSecs(Model, Model) Create list of fe-cross-sections with default family-index 0.
(Inherited from CroSec)
FECroSecs(Model, Model, Int32) Create FE-cross-sections.
(Overrides CroSecFECroSecs(Model, Model, Int32))
Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCode Serves as the default hash function.
(Inherited from CroSec)
getHeight return the height of the cross section. Is useful for shell-elements which can thus also use beam-cross sections.
(Overrides CroSecgetHeight)
getHeight(Int32) returns the height of a sub-cross section of the given index in case of composite cross sections.
(Overrides CroSecgetHeight(Int32))
GetObjectData Serialize CroSec_Shell.
(Overrides CroSecGetObjectData(SerializationInfo, StreamingContext))
getThickness get thickness of cross section.
(Overrides CroSecgetThickness)
GetType Gets the Type of the current instance.
(Inherited from Object)
HasUserData Checks whether the object has user-data attached.
(Inherited from CommonObject)
heights return heights associated with the cross section. The order corresponds to the sequence of faces in the underlying mesh.
(Overrides CroSecheights)
isDefault returns true if cross section has default properties.
(Inherited from CroSec)
matchId test whether the cross section matches one of the identifiers given in the list of indexes.
(Inherited from CroSec)
matchIds test whether the cross section matches one of the identifiers given in the list of indexes.
(Inherited from CroSec)
maxWidth return the maximum width of the cross section or -1 in case this does not make sense (for e.g. shell cross sections).
(Overrides CroSecmaxWidth)
MemberwiseClone Creates a shallow copy of the current Object.
(Inherited from Object)
minmaxEps determine extreme strains in cross-section.
(Inherited from CroSec)
modifyEcceZ modify the local eccentricity in Z-direction.
(Inherited from CroSec)
modifyHeight modify the height of the cross section.
(Overrides CroSecmodifyHeight(Double))
modifyHeights(CroSec_Shell) Modifies the cross section height of layer 0.
modifyHeights(ListDouble) modify the heights of the cross section.
(Overrides CroSecmodifyHeights(ListDouble))
modifyThickness Modifies the thickness of a cross section.
(Overrides CroSecmodifyThickness(Double))
read Read cross section data from reader.
(Inherited from CroSec)
readFromTableRow Reads cross section data from given table row.
(Inherited from CroSec)
renewGuid create new GUID for the cross section.
(Inherited from CroSec)
renewGuid(Guid) set new GUID for the cross section.
(Inherited from CroSec)
setCroSecElementData sets the cross section of a sub-cross section of the given index. The ordering of cross sections corresponds to the sequence of faces in the underlying mesh.
setDefaults Set default dimensions of cross section.
(Overrides CroSecsetDefaults)
setHeight sets the height of a sub-cross section of the given index. The ordering of heights corresponds to the sequence of faces in the underlying mesh.
setHeightAndMaterial sets the height of a sub-cross section of the given index. The ordering of heights corresponds to the sequence of faces in the underlying mesh.
setHeightsAndEccents sets the height of a sub-cross section of the given index. The ordering of heights corresponds to the sequence of faces in the underlying mesh.
setMaterial(FemMaterial) set the material identifier and the material reference of the cross section.
(Overrides CroSecsetMaterial(FemMaterial))
setMaterial(ListFemMaterial) Sets the material identifiers and the material references of the cross section. Sets material of layer 0 in case of shells.
(Overrides CroSecsetMaterial(ListFemMaterial))
shape Get the shape indicator of a cross section (for e.g. reading data from a table). This can be e.g. 'O', 'I', 'T', '[]',...
(Overrides CroSecshape)
sketch add vertices on cross-section to mesh and corresponding colors origin is the point on the element axis, axis the local coordinate system, cmap contains the information for coloring points and n_faces the number of points to be calculated.
(Inherited from CroSec)
sketchFlipFaceNormals return a list of bool values which indicate whether the face normals of a group should be flipped.
(Inherited from CroSec)
sketchGroupSizes Retrieves list of group-sizes of faces that form one geometric entity. Enables cross-section sketches to consist of more than one connected surface. By default, there is only one group.
(Inherited from CroSec)
stiffness calculate characteristic axial- and bending stiffness of an element of length L.
(Overrides CroSecstiffness(Double, Double, Double))
ToString Render cross section data as string for output.
(Overrides CroSecToString)
trait return value of trait with given index.
(Inherited from CroSec)
uniformHeight Checks whether a cross-section has uniform height.
(Overrides CroSecuniformHeight)
write Writes cross section data contained to a reader.
(Inherited from CroSec)
writeToTableRow generate value of property info as a string which can be used in a cross section table.
(Inherited from CroSec)

Fields

country_ country in which the cross section is in use.
(Inherited from CroSec)
eccent_ eccentricity of the cross section.
(Inherited from CroSec)
elem_ids_ id/regular expressions of element identifiers to which the cross section applies.
(Inherited from CroSec)
ElemCrosecs cross sections for each mesh-face.
family_ unique identifier of a group of cross sections within a country.
(Inherited from CroSec)
fe_ind_ identification number of cross-section in the fe-model.
(Inherited from CroSec)
guid_ GUID of the cross section.
(Inherited from CroSec)
has_eccent_ true if there is an eccentricity defined for the cross section.
(Inherited from CroSec)
name_ unique identifier of a cross section within a family.
(Inherited from CroSec)
user_defined_ indicates whether a cross section is user-defined or generated (e.g. a default material).
(Inherited from CroSec)

Extension Methods

ContainerType test if object is (a container like) a list or an array.
(Defined by MiniUtil)

See Also