C# Class SharpFE.NodeFactory

Exibir arquivo Open project: iainsproat/SharpFE Class Usage Examples

Public Methods

Method Description
Create ( double coordinateAlongGlobalXAxis ) : FiniteElementNode

Create a new node in a 1D model type

Create ( double coordinateAlongGlobalXAxis, double coordinateAlongGlobalYAxis ) : FiniteElementNode

Create a new node in a 2D model type

Create ( double coordinateAlongGlobalXAxis, double coordinateAlongGlobalYAxis, double coordinateAlongGlobalZAxis ) : FiniteElementNode

Create a new node in a 2D model type

CreateFor2DTruss ( double coordinateAlongGlobalXAxis, double coordinateAlongGlobalZAxis ) : FiniteElementNode

Private Methods

Method Description
NodeFactory ( ModelType typeOfModel ) : System

Initializes a new instance of the NodeFactory class.

NodeFactory ( ModelType typeOfModel, NodeRepository repository ) : System

Initializes a new instance of the NodeFactory class.

Method Details

Create() public method

Create a new node in a 1D model type
public Create ( double coordinateAlongGlobalXAxis ) : FiniteElementNode
coordinateAlongGlobalXAxis double The location of the node along the global x-axis
return FiniteElementNode

Create() public method

Create a new node in a 2D model type
public Create ( double coordinateAlongGlobalXAxis, double coordinateAlongGlobalYAxis ) : FiniteElementNode
coordinateAlongGlobalXAxis double The location of the node along the global x-axis
coordinateAlongGlobalYAxis double The location of the node along the global y-axis
return FiniteElementNode

Create() public method

Create a new node in a 2D model type
public Create ( double coordinateAlongGlobalXAxis, double coordinateAlongGlobalYAxis, double coordinateAlongGlobalZAxis ) : FiniteElementNode
coordinateAlongGlobalXAxis double The location of the node along the global x-axis
coordinateAlongGlobalYAxis double The location of the node along the global y-axis
coordinateAlongGlobalZAxis double The location of the node along the global z-axis
return FiniteElementNode

CreateFor2DTruss() public method

public CreateFor2DTruss ( double coordinateAlongGlobalXAxis, double coordinateAlongGlobalZAxis ) : FiniteElementNode
coordinateAlongGlobalXAxis double
coordinateAlongGlobalZAxis double
return FiniteElementNode