Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/source/_static/dpf_operators.html

Large diffs are not rendered by default.

48 changes: 30 additions & 18 deletions src/ansys/dpf/core/operators/result/migrate_to_h5dpf.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,16 @@ class migrate_to_h5dpf(Operator):
native compression applicable for
arrays of floats, doubles and
integers.
h5_native_compression : int, optional
Integer value that defines the h5 native
compression used 0: no compression
(default)1-9: gzip level compression
: 9 gives us maximum compression but
at the slowest speed.
h5_native_compression : int or DataTree, optional
Integer value / datatree that defines the h5
native compression used for integer
input {0: no compression (default);
1-9: gzip compression : 9 provides
maximum compression but at the
slowest speed.}for datatree input
{type: none / gzip / zstd; level:
gzip (1-9) / zstd (1-20);
num_threads: zstd (>0)}
export_floats : bool, optional
Converts double to float to reduce file size
(default is true)
Expand Down Expand Up @@ -173,13 +177,17 @@ def _spec():
),
-2: PinSpecification(
name="h5_native_compression",
type_names=["int32"],
type_names=["int32", "abstract_data_tree"],
optional=True,
document="""Integer value that defines the h5 native
compression used 0: no compression
(default)1-9: gzip level compression
: 9 gives us maximum compression but
at the slowest speed.""",
document="""Integer value / datatree that defines the h5
native compression used for integer
input {0: no compression (default);
1-9: gzip compression : 9 provides
maximum compression but at the
slowest speed.}for datatree input
{type: none / gzip / zstd; level:
gzip (1-9) / zstd (1-20);
num_threads: zstd (>0)}""",
),
-1: PinSpecification(
name="export_floats",
Expand Down Expand Up @@ -386,15 +394,19 @@ def dataset_size_compression_threshold(self):
def h5_native_compression(self):
"""Allows to connect h5_native_compression input to the operator.

Integer value that defines the h5 native
compression used 0: no compression
(default)1-9: gzip level compression
: 9 gives us maximum compression but
at the slowest speed.
Integer value / datatree that defines the h5
native compression used for integer
input {0: no compression (default);
1-9: gzip compression : 9 provides
maximum compression but at the
slowest speed.}for datatree input
{type: none / gzip / zstd; level:
gzip (1-9) / zstd (1-20);
num_threads: zstd (>0)}

Parameters
----------
my_h5_native_compression : int
my_h5_native_compression : int or DataTree

Examples
--------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,16 @@ class hdf5dpf_generate_result_file(Operator):
native compression applicable for
arrays of floats, doubles and
integers.
h5_native_compression : int, optional
Integer value that defines the h5 native
compression used 0: no compression
(default)1-9: gzip level compression
: 9 gives us maximum compression but
at the slowest speed.
h5_native_compression : int or DataTree, optional
Integer value / datatree that defines the h5
native compression used for integer
input {0: no compression (default);
1-9: gzip compression : 9 provides
maximum compression but at the
slowest speed.}for datatree input
{type: none / gzip / zstd; level:
gzip (1-9) / zstd (1-20);
num_threads: zstd (>0)}
export_floats : bool, optional
Converts double to float to reduce file size
(default is true)
Expand Down Expand Up @@ -172,13 +176,17 @@ def _spec():
),
-2: PinSpecification(
name="h5_native_compression",
type_names=["int32"],
type_names=["int32", "abstract_data_tree"],
optional=True,
document="""Integer value that defines the h5 native
compression used 0: no compression
(default)1-9: gzip level compression
: 9 gives us maximum compression but
at the slowest speed.""",
document="""Integer value / datatree that defines the h5
native compression used for integer
input {0: no compression (default);
1-9: gzip compression : 9 provides
maximum compression but at the
slowest speed.}for datatree input
{type: none / gzip / zstd; level:
gzip (1-9) / zstd (1-20);
num_threads: zstd (>0)}""",
),
-1: PinSpecification(
name="export_floats",
Expand Down Expand Up @@ -395,15 +403,19 @@ def dataset_size_compression_threshold(self):
def h5_native_compression(self):
"""Allows to connect h5_native_compression input to the operator.

Integer value that defines the h5 native
compression used 0: no compression
(default)1-9: gzip level compression
: 9 gives us maximum compression but
at the slowest speed.
Integer value / datatree that defines the h5
native compression used for integer
input {0: no compression (default);
1-9: gzip compression : 9 provides
maximum compression but at the
slowest speed.}for datatree input
{type: none / gzip / zstd; level:
gzip (1-9) / zstd (1-20);
num_threads: zstd (>0)}

Parameters
----------
my_h5_native_compression : int
my_h5_native_compression : int or DataTree

Examples
--------
Expand Down
Binary file modified src/ansys/dpf/gatebin/Ans.Dpf.GrpcClient.dll
Binary file not shown.
Binary file modified src/ansys/dpf/gatebin/DPFClientAPI.dll
Binary file not shown.
Binary file modified src/ansys/dpf/gatebin/libAns.Dpf.GrpcClient.so
Binary file not shown.
Binary file modified src/ansys/dpf/gatebin/libDPFClientAPI.so
Binary file not shown.