Random material generator class.
More...
|
| def | __init__ (self, grid_level, ndim=2, verbose=0, levelcut_strategy="abs", **kwargs) |
| |
| def | set_level (self, vf=None, tau=None) |
| |
| def | reseed (self, seed=None) |
| |
| def | sample (self, noise=None) |
| | Generate a realization. More...
|
| |
| def | generate_samples (self, nsamples=1, path=None, output_format="png", append=False) |
| | Generate a family of realizations. More...
|
| |
| def | save_png (self, phase, filename) |
| |
| def | save_vtk (self, phase, filename) |
| |
| def | test_Covariance (self, nsamples=1000) |
| |
| def | test_VolumeFraction (self, nsamples=1000) |
| |
| def | test_TwoPointProbability (self, nsamples=1000) |
| |
Random material generator class.
◆ __init__()
| def RandomMaterial.RandomMaterial.__init__ |
( |
|
self, |
|
|
|
grid_level, |
|
|
|
ndim = 2, |
|
|
|
verbose = 0, |
|
|
|
levelcut_strategy = "abs", |
|
|
** |
kwargs |
|
) |
| |
◆ generate_samples()
| def RandomMaterial.RandomMaterial.generate_samples |
( |
|
self, |
|
|
|
nsamples = 1, |
|
|
|
path = None, |
|
|
|
output_format = "png", |
|
|
|
append = False |
|
) |
| |
Generate a family of realizations.
◆ reseed()
| def RandomMaterial.RandomMaterial.reseed |
( |
|
self, |
|
|
|
seed = None |
|
) |
| |
◆ sample()
| def RandomMaterial.RandomMaterial.sample |
( |
|
self, |
|
|
|
noise = None |
|
) |
| |
◆ save_png()
| def RandomMaterial.RandomMaterial.save_png |
( |
|
self, |
|
|
|
phase, |
|
|
|
filename |
|
) |
| |
◆ save_vtk()
| def RandomMaterial.RandomMaterial.save_vtk |
( |
|
self, |
|
|
|
phase, |
|
|
|
filename |
|
) |
| |
◆ set_level()
| def RandomMaterial.RandomMaterial.set_level |
( |
|
self, |
|
|
|
vf = None, |
|
|
|
tau = None |
|
) |
| |
◆ test_Covariance()
| def RandomMaterial.RandomMaterial.test_Covariance |
( |
|
self, |
|
|
|
nsamples = 1000 |
|
) |
| |
◆ test_TwoPointProbability()
| def RandomMaterial.RandomMaterial.test_TwoPointProbability |
( |
|
self, |
|
|
|
nsamples = 1000 |
|
) |
| |
◆ test_VolumeFraction()
| def RandomMaterial.RandomMaterial.test_VolumeFraction |
( |
|
self, |
|
|
|
nsamples = 1000 |
|
) |
| |
◆ GRF
| RandomMaterial.RandomMaterial.GRF |
Gaussian Random Field (Intensity)
◆ levelcut_strategy
| RandomMaterial.RandomMaterial.levelcut_strategy |
Level-cut strategy: 'abs' - level-cut of the abs(field) 'sym' - standard level-cut.
| RandomMaterial.RandomMaterial.N |
◆ Nd
| RandomMaterial.RandomMaterial.Nd |
◆ ndim
| RandomMaterial.RandomMaterial.ndim |
◆ nvoxels
| RandomMaterial.RandomMaterial.nvoxels |
◆ sample_count
| RandomMaterial.RandomMaterial.sample_count |
◆ tau
| RandomMaterial.RandomMaterial.tau |
◆ verbose
| RandomMaterial.RandomMaterial.verbose |
◆ vf
| RandomMaterial.RandomMaterial.vf |
The documentation for this class was generated from the following file:
- /home/runner/work/Documentation/Documentation/master/applications/ExaquteSandboxApplication/python_scripts/WindGenerator/RandomMaterial.py