Create() public method

Creates a new force for a 1D ModelType
public Create ( double valueOfXComponent ) : ForceVector
valueOfXComponent double The component of the force along the global x-axis
return ForceVector
Beispiel #1
0
 public void Setup()
 {
     forceFactory = new ForceFactory(ModelType.Truss1D);
     SUT = forceFactory.Create(12);
 }
 public void Setup()
 {
     SUT = new ForceRepository();
     forceFactory = new ForceFactory(ModelType.Truss1D, SUT);
     exampleForce1 = forceFactory.Create(1);
     exampleForce2 = forceFactory.Create(2);
     nodeFactory = new NodeFactory(ModelType.Truss1D);
     node = nodeFactory.Create(0);
 }