Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
793b6bd
custom type field
cbellot000 Oct 4, 2022
600e002
docstrings
cbellot000 Oct 4, 2022
13937e3
unit test
cbellot000 Oct 4, 2022
c20187c
try
cbellot000 Oct 5, 2022
7c8405f
Update operator_specification.py
cbellot000 Oct 5, 2022
b6c34d3
Update operator_specification.py
cbellot000 Oct 6, 2022
39c09d0
Merge branch 'standalone/verify_update' of https://github.com/pyansys…
cbellot000 Oct 6, 2022
d438c8e
test wheels
cbellot000 Oct 6, 2022
b62eefc
unit tests and styling
cbellot000 Oct 6, 2022
b3f512a
fix ut
cbellot000 Oct 6, 2022
ce10039
debugging fix versions
cbellot000 Oct 6, 2022
42d24a7
update wheel
cbellot000 Oct 6, 2022
c6ff889
fixes
cbellot000 Oct 6, 2022
b1fb410
Merge branch 'master' of https://github.com/pyansys/DPF-Core into fea…
cbellot000 Oct 6, 2022
43d17cd
rm dependency on new package
cbellot000 Oct 6, 2022
be56f51
del client before server
cbellot000 Oct 6, 2022
ca37ab8
revert
cbellot000 Oct 7, 2022
4a649eb
update wheels
cbellot000 Oct 7, 2022
eba622f
Merge branch 'master' of https://github.com/pyansys/DPF-Core into fea…
cbellot000 Oct 7, 2022
249dd51
remove wheels
cbellot000 Oct 7, 2022
ddb956e
rm dev2
cbellot000 Oct 7, 2022
936150e
styling
cbellot000 Oct 7, 2022
b52963c
Merge branch 'master' of https://github.com/pyansys/DPF-Core into fea…
cbellot000 Oct 7, 2022
95ffb46
fix
cbellot000 Oct 7, 2022
bf5bc8c
Merge branch 'master' of https://github.com/pyansys/DPF-Core into fea…
cbellot000 Oct 12, 2022
373e27d
codacy
cbellot000 Oct 12, 2022
38c4891
doc review
cbellot000 Oct 12, 2022
47c0f03
Merge branch 'master' of https://github.com/pyansys/DPF-Core into fea…
cbellot000 Oct 12, 2022
31b9989
Merge branch 'master' of https://github.com/pyansys/DPF-Core into fea…
cbellot000 Oct 13, 2022
e8a6dfd
Update test_field.py
cbellot000 Oct 13, 2022
fb2bdbd
Merge branch 'master' of https://github.com/pyansys/DPF-Core into fea…
cbellot000 Oct 14, 2022
b0f65ae
Merge branch 'feature/custom_type_field' of https://github.com/pyansy…
cbellot000 Oct 14, 2022
23d2041
revert
cbellot000 Oct 14, 2022
bd60557
try check_first_call
cbellot000 Oct 14, 2022
1ff064e
fix
cbellot000 Oct 14, 2022
e8dbdbe
fix
cbellot000 Oct 14, 2022
241f7da
fix
cbellot000 Oct 14, 2022
10b0e1f
check connection GrpcServer
cbellot000 Oct 14, 2022
8537bdb
remove dummy test
cbellot000 Oct 14, 2022
900d96d
Merge branch 'bug/grpc_server_check_started' of https://github.com/py…
cbellot000 Oct 14, 2022
7f7a2dd
Merge branch 'master' of https://github.com/pyansys/DPF-Core into fea…
cbellot000 Oct 17, 2022
76c6390
Merge branch 'master' of https://github.com/pyansys/DPF-Core into fea…
cbellot000 Oct 20, 2022
bd2d0de
Merge branch 'master' of https://github.com/pyansys/DPF-Core into fea…
cbellot000 Oct 21, 2022
f68c5d4
Update conftest.py
cbellot000 Oct 21, 2022
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
1 change: 1 addition & 0 deletions ansys/dpf/core/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
from ansys.dpf.core.dpf_operator import Operator, Config
from ansys.dpf.core.model import Model
from ansys.dpf.core.field import Field, FieldDefinition
from ansys.dpf.core.custom_type_field import CustomTypeField # noqa: F401
from ansys.dpf.core.dimensionality import Dimensionality
from ansys.dpf.core.property_field import PropertyField
from ansys.dpf.core.string_field import StringField
Expand Down
6 changes: 5 additions & 1 deletion ansys/dpf/core/_custom_operators_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from ansys.dpf.core import (
field, property_field, scoping, collection, data_sources, meshed_region, time_freq_support, \
workflow, data_tree, dpf_operator, fields_container, scopings_container, \
meshes_container, result_info, string_field
meshes_container, result_info, string_field, custom_type_field
)

external_operator_api = external_operator_capi.ExternalOperatorCAPI
Expand Down Expand Up @@ -33,6 +33,8 @@ def __operator_main__(operator_functor, data):
(workflow.Workflow, external_operator_api.external_operator_put_out_workflow),
(data_tree.DataTree, external_operator_api.external_operator_put_out_data_tree),
(dpf_operator.Operator, external_operator_api.external_operator_put_out_operator),
(custom_type_field.CustomTypeField,
external_operator_api.external_operator_put_out_custom_type_field),
]

_type_to_input_method = [
Expand All @@ -45,6 +47,8 @@ def __operator_main__(operator_functor, data):
"property_field"),
(string_field.StringField, external_operator_api.external_operator_get_in_string_field,
"string_field"),
(custom_type_field.CustomTypeField,
external_operator_api.external_operator_get_in_custom_type_field, "field"),
(scoping.Scoping, external_operator_api.external_operator_get_in_scoping,
"scoping"),
(fields_container.FieldsContainer,
Expand Down
3 changes: 3 additions & 0 deletions ansys/dpf/core/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ class types(Enum):
data_tree = 20
vec_string = 21
string_field = 22
custom_type_field = 23
# Types not from grpc proto, added in Python
fields_container = -1
scopings_container = -2
Expand All @@ -104,6 +105,7 @@ def types_enum_to_types():
meshes_container,
property_field,
string_field,
custom_type_field,
result_info,
scoping,
scopings_container,
Expand Down Expand Up @@ -137,6 +139,7 @@ def types_enum_to_types():
types.vec_int: dpf_vector.DPFVectorInt,
types.vec_double: dpf_vector.DPFVectorDouble,
types.string_field: string_field.StringField,
types.custom_type_field: custom_type_field.CustomTypeField,
types.streams_container: streams_container.StreamsContainer,
}

Expand Down
Loading