@@ -36,8 +36,8 @@ such as the |Field| and their use check the :ref:`ref_tutorials_data_structures`
3636Define the data
3737---------------
3838
39- In this tutorial, we create different Fields from data stored in Python lists. These data arrays are
40- reshaped to respect the |Field | definition.
39+ In this tutorial, we create different Fields from data stored in Python lists. When attributed to a | Field |, these
40+ data arrays are reshaped to respect the |Field | definition.
4141
4242Create the python lists with the data to be *set * to the Fields.
4343
@@ -78,7 +78,7 @@ A |Field| must always be given:
7878
7979- A |location | and a |Scoping |.
8080
81- Here, we create Fields in the default *'Nodal' * |location |. Thus each entity (here, the nodes) must
81+ Here, we create Fields in the default *'Nodal' * |location |. Thus, each entity (here, the nodes) must
8282 have a |Scoping | id, that can be defined in a random or in a numerical order:
8383
8484 - If you want to *set * a data array to the |Field |, you must previously set the |Scoping | ids using the |Field.scoping | method.
@@ -94,7 +94,7 @@ First, import the PyDPF-Core library.
9494 # Import the ``ansys.dpf.core `` module
9595 from ansys.dpf import core as dpf
9696
97- Then, create the different Fields. In this tutorial we explain how to create the following Fields:
97+ Then, create the different Fields. In this tutorial, we explain how to create the following Fields:
9898
9999- :ref: `Scalar Field<ref_scalar_field_creation> `;
100100- :ref: `Vector Field<ref_vector_field_creation> `;
@@ -125,14 +125,14 @@ You must ensure that this |Field| has a *'scalar'* |nature| and an *'1D'* |dimen
125125Create the |Field | by an instance of this object
126126~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
127127
128- For this approach, the default |nature | of the |Field | object is *'vector' *. You can modify it directly with
128+ For this approach, the default |nature | of the |Field | object is *'vector' *. You can modify it directly with the
129129*'nature' * argument or with the |Field.dimensionality | method.
130130
131131Create the scalar |Field | and use the *'nature' * argument.
132132
133133.. jupyter-execute ::
134134
135- # Instanciate the Fields
135+ # Instanciate the Field
136136 field_11 = dpf.Field(nentities=num_entities_1, nature=dpf.common.natures.scalar)
137137
138138 # Set the scoping ids
@@ -145,7 +145,7 @@ Create the scalar |Field| and use the |Field.dimensionality| method.
145145
146146.. jupyter-execute ::
147147
148- # Instanciate the Fields
148+ # Instanciate the Field
149149 field_12 = dpf.Field(nentities=num_entities_1)
150150
151151 # Use the Field.dimensionality method
0 commit comments