Commit 97ef7724 authored by Lukas Riedel's avatar Lukas Riedel 📝

always using 'axiparallel' correlation scheme. correlation lengths are now...

always using 'axiparallel' correlation scheme. correlation lengths are now specified as in the old PFG
parent 709cc901
...@@ -212,11 +212,11 @@ adding an empty line, make text **bold** or ``monospaced``. ...@@ -212,11 +212,11 @@ adding an empty line, make text **bold** or ``monospaced``.
<suggestion> 1000 1000 </suggestion> <suggestion> 1000 1000 </suggestion>
</parameter> </parameter>
<parameter name="correlationLength"> <parameter name="correlationLengths">
<definition> Correlation length of the random field, in <definition> Correlation lengths in each dimension of the random field, in
meters. </definition> meters. </definition>
<values> float </values> <values> float &times; float (&times; float) </values>
<suggestion> .1 </suggestion> <suggestion> .1 .05 </suggestion>
</parameter> </parameter>
<parameter name="seed"> <parameter name="seed">
......
...@@ -76,12 +76,14 @@ int main(int argc, char** argv) ...@@ -76,12 +76,14 @@ int main(int argc, char** argv)
const std::string outputFile = outputPath + "YField"; const std::string outputFile = outputPath + "YField";
// comply to dune-randomfield config file scheme // standard values
inifile["stochastic.anisotropy"] = "axiparallel";
// comply to dune-randomfield config file scheme
inifile["grid.extensions"] = inifile["generator.extensions"]; inifile["grid.extensions"] = inifile["generator.extensions"];
inifile["grid.cells"] = inifile["generator.fft.N"]; inifile["grid.cells"] = inifile["generator.fft.N"];
inifile["stochastic.variance"] = inifile["generator.variance"]; inifile["stochastic.variance"] = inifile["generator.variance"];
inifile["stochastic.corrLength"] = inifile["generator.fft.correlationLength"]; inifile["stochastic.corrLength"] = inifile["generator.fft.correlationLengths"];
inifile["stochastic.covariance"] = inifile["generator.fft.covariance"]; inifile["stochastic.covariance"] = inifile["generator.fft.covariance"];
// Create RFG objects // Create RFG objects
......
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