C# Class SharpFE.ModelTypeExtensions

This is an extension to the ModelType enumeration which provides useful information about the degrees of freedom each model type allows.
Afficher le fichier Open project: iainsproat/SharpFE

Méthodes publiques

Méthode Description
GetAllowedDegreesOfFreedomForBoundaryConditions ( this modelType ) : IList

The allowed degrees of freedom in which the applied forces and constraints can be created.

GetAllowedDegreesOfFreedomForGeometry ( this modelType ) : IList

The allowed degrees of freedom in which the model geometry can be created.

GetDimensions ( this modelType ) : GeometryDimensionality

Indicates how many dimensions the geometry can be created in by this type of model type.

IsAllowedDegreeOfFreedomForBoundaryConditions ( this modelType, DegreeOfFreedom candidate ) : bool

Indicates whether a degree of freedom is allowed for the creation of boundary conditions by this model type.

IsAllowedDegreeOfFreedomForGeometry ( this modelType, DegreeOfFreedom candidate ) : bool

Indicates whether a degree of freedom is allowed for the creation of geometry by this model type.

Method Details

GetAllowedDegreesOfFreedomForBoundaryConditions() public static méthode

The allowed degrees of freedom in which the applied forces and constraints can be created.
public static GetAllowedDegreesOfFreedomForBoundaryConditions ( this modelType ) : IList
modelType this The type of model which will then dictate the allowed degrees of freedom
Résultat IList

GetAllowedDegreesOfFreedomForGeometry() public static méthode

The allowed degrees of freedom in which the model geometry can be created.
public static GetAllowedDegreesOfFreedomForGeometry ( this modelType ) : IList
modelType this The type of model which ultimately dictates the allowed degrees of freedom
Résultat IList

GetDimensions() public static méthode

Indicates how many dimensions the geometry can be created in by this type of model type.
public static GetDimensions ( this modelType ) : GeometryDimensionality
modelType this The which dictates the geometrical dimensions.
Résultat GeometryDimensionality

IsAllowedDegreeOfFreedomForBoundaryConditions() public static méthode

Indicates whether a degree of freedom is allowed for the creation of boundary conditions by this model type.
public static IsAllowedDegreeOfFreedomForBoundaryConditions ( this modelType, DegreeOfFreedom candidate ) : bool
modelType this The which dictates the allowable degrees of freedom.
candidate DegreeOfFreedom The degree of freedom to check as to whether it is allowed.
Résultat bool

IsAllowedDegreeOfFreedomForGeometry() public static méthode

Indicates whether a degree of freedom is allowed for the creation of geometry by this model type.
public static IsAllowedDegreeOfFreedomForGeometry ( this modelType, DegreeOfFreedom candidate ) : bool
modelType this The which dictates the allowable degrees of freedom.
candidate DegreeOfFreedom The degree of freedom to check as to whether it is allowed.
Résultat bool