Class FDBoundaryFactory

java.lang.Object
net.finmath.finitedifference.assetderivativevaluation.boundaries.FDBoundaryFactory

public final class FDBoundaryFactory extends Object
Factory for creating FiniteDifferenceBoundary instances.

The factory creates a boundary class based on naming conventions. Given a product and a model, it constructs the boundary class name as

    <ProductSimpleName><ModelCoreName>Boundary

where ModelCoreName is obtained by removing the prefix "FDM" from the model class name.

The boundary class must:

  • Be located in the same package as this factory
  • Provide a constructor accepting the concrete model type
Author:
Andrea Mazzon