Factory which creates new forces. The forces can also be registered in a repository.
Example #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);
 }