Commit f95726e2 authored by Romain Reuillon's avatar Romain Reuillon
Browse files

Merge branch 'master' into 9-dev

parents 110b891b 8948ca85
Pipeline #319 failed with stage
in 1 minute and 14 seconds
......@@ -73,27 +73,27 @@ package object sensitivity {
case class SaltelliParams(inputs: Seq[ScalarOrSequenceOfDouble[_]], outputs: Seq[Val[_]])
case class MorrisParams(inputs: Seq[ScalarOrSequenceOfDouble[_]], outputs: Seq[Val[_]])
}
implicit class SaltelliMethodContainer(dsl: DSLContainer[SaltelliParams]) extends DSLContainerHook(dsl) {
def hook(directory: FromContext[File]): DSLContainer[Sensitivity.SaltelliParams] = {
implicit val defScope = dsl.scope
dsl hook SaltelliHook(dsl, directory)
}
implicit class SaltelliMethodContainer(dsl: DSLContainer[Sensitivity.SaltelliParams]) extends DSLContainerHook(dsl) {
def hook(directory: FromContext[File]): DSLContainer[Sensitivity.SaltelliParams] = {
implicit val defScope = dsl.scope
dsl hook SaltelliHook(dsl, directory)
}
}
case class MorrisParams(inputs: Seq[ScalarOrSequenceOfDouble[_]], outputs: Seq[Val[_]])
implicit class MorrisMethodContainer(dsl: DSLContainer[MorrisParams]) extends DSLContainerHook(dsl) {
def hook(directory: FromContext[File]): DSLContainer[Sensitivity.MorrisParams] = {
implicit val defScope = dsl.scope
dsl hook MorrisHook(dsl, directory)
}
implicit class MorrisMethodContainer(dsl: DSLContainer[Sensitivity.MorrisParams]) extends DSLContainerHook(dsl) {
def hook(directory: FromContext[File]): DSLContainer[Sensitivity.MorrisParams] = {
implicit val defScope = dsl.scope
dsl hook MorrisHook(dsl, directory)
}
}
/**
* A Morris Sensitivity Analysis takes a puzzle (a model) that we want to analyse,
* the list of the inputs (and their ranges), the list of outputs we want
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment