C# Class SharpFE.ElementFactory

Creates elements and adds them to the repository if it exists.
Datei anzeigen Open project: iainsproat/SharpFE Class Usage Examples

Public Methods

Method Description
CreateLinear1DBeam ( IFiniteElementNode start, IFiniteElementNode end, IMaterial material, ICrossSection crossSection ) : Linear1DBeam

CreateLinear3DBeam ( IFiniteElementNode start, IFiniteElementNode end, IMaterial material, ICrossSection crossSection ) : Linear3DBeam

CreateLinearConstantSpring ( IFiniteElementNode node1, IFiniteElementNode node2, double springConstant ) : LinearConstantSpring

Creates a new Spring finite element.

CreateLinearConstantStrainTriangle ( IFiniteElementNode node0, IFiniteElementNode node1, IFiniteElementNode node2, IMaterial material, double thickness ) : LinearConstantStrainTriangle

CreateLinearConstantStressQuadrilateral ( IFiniteElementNode node0, IFiniteElementNode node1, IFiniteElementNode node2, IFiniteElementNode node3, IMaterial material, double thickness ) : LinearConstantStressQuadrilateral

CreateLinearTruss ( IFiniteElementNode node1, IFiniteElementNode node2, IMaterial material, ICrossSection crossSection ) : LinearTruss

Private Methods

Method Description
ElementFactory ( ModelType typeOfModel ) : System

Initializes a new instance of the ElementFactory class.

ElementFactory ( ModelType typeOfModel, ElementRepository elementRepository ) : System

Initializes a new instance of the ElementFactory class.

Method Details

CreateLinear1DBeam() public method

public CreateLinear1DBeam ( IFiniteElementNode start, IFiniteElementNode end, IMaterial material, ICrossSection crossSection ) : Linear1DBeam
start IFiniteElementNode
end IFiniteElementNode
material IMaterial
crossSection ICrossSection
return Linear1DBeam

CreateLinear3DBeam() public method

public CreateLinear3DBeam ( IFiniteElementNode start, IFiniteElementNode end, IMaterial material, ICrossSection crossSection ) : Linear3DBeam
start IFiniteElementNode
end IFiniteElementNode
material IMaterial
crossSection ICrossSection
return Linear3DBeam

CreateLinearConstantSpring() public method

Creates a new Spring finite element.
public CreateLinearConstantSpring ( IFiniteElementNode node1, IFiniteElementNode node2, double springConstant ) : LinearConstantSpring
node1 IFiniteElementNode The node at the start of the spring
node2 IFiniteElementNode The node at the end of the spring
springConstant double The constant value of stiffness of the spring.
return LinearConstantSpring

CreateLinearConstantStrainTriangle() public method

public CreateLinearConstantStrainTriangle ( IFiniteElementNode node0, IFiniteElementNode node1, IFiniteElementNode node2, IMaterial material, double thickness ) : LinearConstantStrainTriangle
node0 IFiniteElementNode
node1 IFiniteElementNode
node2 IFiniteElementNode
material IMaterial
thickness double
return LinearConstantStrainTriangle

CreateLinearConstantStressQuadrilateral() public method

public CreateLinearConstantStressQuadrilateral ( IFiniteElementNode node0, IFiniteElementNode node1, IFiniteElementNode node2, IFiniteElementNode node3, IMaterial material, double thickness ) : LinearConstantStressQuadrilateral
node0 IFiniteElementNode
node1 IFiniteElementNode
node2 IFiniteElementNode
node3 IFiniteElementNode
material IMaterial
thickness double
return LinearConstantStressQuadrilateral

CreateLinearTruss() public method

public CreateLinearTruss ( IFiniteElementNode node1, IFiniteElementNode node2, IMaterial material, ICrossSection crossSection ) : LinearTruss
node1 IFiniteElementNode
node2 IFiniteElementNode
material IMaterial
crossSection ICrossSection
return LinearTruss