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 docs/_sources/examples.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ we apply a grid refinement on the cells in the middle x and y location, and fina

.. code-block:: bash

pycopm -i HELLO_WORLD.DATA -v 'xypolygon [4,8.5] [4,16.5] [11.5,16.5] [11.5,8.5]' -p 1 -m all
pycopm -i HELLO_WORLD.DATA -v 'xypolygon [4,8.5] [4,16.5] [11.5,16.5] [11.5,8.5] [4,8.5]' -p 1 -m all
pycopm -i HELLO_WORLD_PYCOPM.DATA -rx 0,0,0,2,0,0,0 -ry 0,0,0,2,0,0,0 -m all
pycopm -i HELLO_WORLD_PYCOPM_PYCOPM.DATA -d 'rotatexy 45' -m all

Expand Down
2 changes: 1 addition & 1 deletion docs/examples.html
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ <h3>Hello world<a class="headerlink" href="#hello-world" title="Link to this hea
<p>As described in the <a class="reference internal" href="theory.html"><span class="doc">theory</span></a>, <strong>pycopm</strong> can be not only used for grid coarsening, but also to apply grid refinements, submodels, and transformations.
Then, with the following commands first we substract a submodel around the isolated grid cell proyecting the outside pore volume on the boundaries, after
we apply a grid refinement on the cells in the middle x and y location, and finally we rotate the model 45 degrees.</p>
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>pycopm<span class="w"> </span>-i<span class="w"> </span>HELLO_WORLD.DATA<span class="w"> </span>-v<span class="w"> </span><span class="s1">&#39;xypolygon [4,8.5] [4,16.5] [11.5,16.5] [11.5,8.5]&#39;</span><span class="w"> </span>-p<span class="w"> </span><span class="m">1</span><span class="w"> </span>-m<span class="w"> </span>all
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>pycopm<span class="w"> </span>-i<span class="w"> </span>HELLO_WORLD.DATA<span class="w"> </span>-v<span class="w"> </span><span class="s1">&#39;xypolygon [4,8.5] [4,16.5] [11.5,16.5] [11.5,8.5] [4,8.5]&#39;</span><span class="w"> </span>-p<span class="w"> </span><span class="m">1</span><span class="w"> </span>-m<span class="w"> </span>all
pycopm<span class="w"> </span>-i<span class="w"> </span>HELLO_WORLD_PYCOPM.DATA<span class="w"> </span>-rx<span class="w"> </span><span class="m">0</span>,0,0,2,0,0,0<span class="w"> </span>-ry<span class="w"> </span><span class="m">0</span>,0,0,2,0,0,0<span class="w"> </span>-m<span class="w"> </span>all
pycopm<span class="w"> </span>-i<span class="w"> </span>HELLO_WORLD_PYCOPM_PYCOPM.DATA<span class="w"> </span>-d<span class="w"> </span><span class="s1">&#39;rotatexy 45&#39;</span><span class="w"> </span>-m<span class="w"> </span>all
</pre></div>
Expand Down
2 changes: 1 addition & 1 deletion docs/text/examples.rst
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ we apply a grid refinement on the cells in the middle x and y location, and fina

.. code-block:: bash

pycopm -i HELLO_WORLD.DATA -v 'xypolygon [4,8.5] [4,16.5] [11.5,16.5] [11.5,8.5]' -p 1 -m all
pycopm -i HELLO_WORLD.DATA -v 'xypolygon [4,8.5] [4,16.5] [11.5,16.5] [11.5,8.5] [4,8.5]' -p 1 -m all
pycopm -i HELLO_WORLD_PYCOPM.DATA -rx 0,0,0,2,0,0,0 -ry 0,0,0,2,0,0,0 -m all
pycopm -i HELLO_WORLD_PYCOPM_PYCOPM.DATA -d 'rotatexy 45' -m all

Expand Down
2 changes: 1 addition & 1 deletion tests/scripts/docs_via_deck_hello_world.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ pycopm -i $WHR.DATA -o $OUT -c 5,5,1 -m all -l f1 -a max
plopm -i $OUT/HELLO_WORLD_PREP_PYCOPM_DRYRUN -v porv -o $OUT -s ,,1 -grid 'black,1e-2' -save hello_world_1_left
plopm -i $OUT/HELLO_WORLD_PYCOPM -v porv -o $OUT -s ,,1 -grid 'black,1e-2' -save hello_world_1_right
plopm -i "$OUT/HELLO_WORLD_PREP_PYCOPM_DRYRUN $OUT/HELLO_WORLD_PYCOPM" -v fipnum -s ,,1 -grid 'black,1e-2' -subfigs 1,2 -d 16,8 -delax 1 -suptitle 0 -cbsfax 0.1,0.95,0.8,0.02 -o $OUT -c cet_glasbey_hv -save hello_world_2 -t "Input model Coarsened model" -f 20
pycopm -i $WHR.DATA -v 'xypolygon [4,8.5] [4,16.5] [11.5,16.5] [11.5,8.5]' -p 1 -m all -o $OUT -l f2
pycopm -i $WHR.DATA -v 'xypolygon [4,8.5] [4,16.5] [11.5,16.5] [11.5,8.5] [4,8.5]' -p 1 -m all -o $OUT -l f2
pycopm -i $OUT/HELLO_WORLD_PYCOPM.DATA -rx 0,0,0,2,0,0,0 -ry 0,0,0,2,0,0,0 -m all -o $OUT -l f3
pycopm -i $OUT/HELLO_WORLD_PYCOPM_PYCOPM.DATA -d 'rotatexy 45' -m all -o $OUT -l f4
plopm -i $OUT/HELLO_WORLD_PYCOPM -v porv -o $OUT -s ,,1 -grid 'black,1e-2' -save submodel -save hello_world_3_submodel
Expand Down