Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
OpenSource
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jan Willem Thorbecke
OpenSource
Commits
71bf8d64
Commit
71bf8d64
authored
3 years ago
by
JanThorbecke
Browse files
Options
Downloads
Patches
Plain Diff
scaling for vxdx and vzdz
parent
bef79720
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
fdelmodc/getRecTimes.c
+4
-4
4 additions, 4 deletions
fdelmodc/getRecTimes.c
with
4 additions
and
4 deletions
fdelmodc/getRecTimes.c
+
4
−
4
View file @
71bf8d64
...
...
@@ -224,12 +224,12 @@ int getRecTimes(modPar mod, recPar rec, bndPar bnd, int itime, int isam, float *
if
(
rec
.
type
.
txx
)
rec_txx
[
irec
*
rec
.
nt
+
isam
]
+=
txx
[
ix
*
n1
+
iz
];
if
(
rec
.
type
.
tzz
)
rec_tzz
[
irec
*
rec
.
nt
+
isam
]
+=
tzz
[
ix
*
n1
+
iz
];
if
(
rec
.
type
.
dxvx
)
{
rec_dxvx
[
irec
*
rec
.
nt
+
isam
]
=
c1
*
(
vx
[(
ix
+
1
)
*
n1
+
iz
]
-
vx
[
ix
*
n1
+
iz
])
+
c2
*
(
vx
[(
ix
+
2
)
*
n1
+
iz
]
-
vx
[(
ix
-
1
)
*
n1
+
iz
]);
rec_dxvx
[
irec
*
rec
.
nt
+
isam
]
=
(
c1
*
(
vx
[(
ix
+
1
)
*
n1
+
iz
]
-
vx
[
ix
*
n1
+
iz
])
+
c2
*
(
vx
[(
ix
+
2
)
*
n1
+
iz
]
-
vx
[(
ix
-
1
)
*
n1
+
iz
])
)
/
mod
.
dx
;
}
if
(
rec
.
type
.
dzvz
)
{
rec_dzvz
[
irec
*
rec
.
nt
+
isam
]
=
c1
*
(
vz
[
ix
*
n1
+
iz
+
1
]
-
vz
[
ix
*
n1
+
iz
])
+
c2
*
(
vz
[
ix
*
n1
+
iz
+
2
]
-
vz
[
ix
*
n1
+
iz
-
1
])
;
rec_dzvz
[
irec
*
rec
.
nt
+
isam
]
=
(
c1
*
(
vz
[
ix
*
n1
+
iz
+
1
]
-
vz
[
ix
*
n1
+
iz
])
+
c2
*
(
vz
[
ix
*
n1
+
iz
+
2
]
-
vz
[
ix
*
n1
+
iz
-
1
])
)
/
mod
.
dz
}
if
(
rec
.
type
.
txz
)
{
/* time interpolation to be done */
if
(
rec
.
int_vz
==
2
||
rec
.
int_vx
==
2
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment