Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
LMGC90
LMGC90_user
Commits
4166649c
Commit
4166649c
authored
May 26, 2015
by
mozul
Browse files
Merge commit '
7f0ceb89
'
keep on preparing examples for version 2015.3
parents
5a315ec8
7f0ceb89
Changes
2
Hide whitespace changes
Inline
Side-by-side
examples/RIGID_2D/1024DK_BoxJC_ElectricalConduction/command.py
View file @
4166649c
...
...
@@ -155,13 +155,13 @@ for k in xrange(1,nb_steps+1,1):
iddiskx
=
disk2rbdy2
[
itacty
-
1
]
idR2
=
int
(
iddiskx
[
0
])
idTy
=
int
(
iddiskx
[
1
])
EPot_d
[
itacty
-
1
]
=
RBDY2_GetElectricalPotential
(
idR2
,
idTy
)
EPot_d
[
itacty
-
1
]
=
RBDY2_GetElectricalPotential
(
idR2
)
for
itacty
in
xrange
(
1
,
nbjoncx
+
1
,
1
):
idjoncx
=
jonc2rbdy2
[
itacty
-
1
]
idR2
=
int
(
idjoncx
[
0
])
idTy
=
int
(
idjoncx
[
1
])
EPot_j
[
itacty
-
1
]
=
RBDY2_GetElectricalPotential
(
idR2
,
idTy
)
EPot_j
[
itacty
-
1
]
=
RBDY2_GetElectricalPotential
(
idR2
)
nbdkdkx
=
DKDKx_GetNbDKDKx
()
...
...
examples/RIGID_3D/thermal3D/command.py
View file @
4166649c
...
...
@@ -174,3 +174,4 @@ TimeEvolution_WriteLastDof()
RBDY3_WriteLastDof
()
ClosePostproFiles
()
CloseDisplayFiles
()
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment