Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
aderrors
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alberto Ramos
aderrors
Commits
eb8149a9
Commit
eb8149a9
authored
Jan 11, 2019
by
Alberto Ramos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add routine for dobs generation for scalars and known derivatives
parent
82c4c57a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
46 additions
and
0 deletions
+46
-0
src/aderrors/aderrors_arith.f90
src/aderrors/aderrors_arith.f90
+46
-0
No files found.
src/aderrors/aderrors_arith.f90
View file @
eb8149a9
...
@@ -205,6 +205,52 @@ contains
...
@@ -205,6 +205,52 @@ contains
return
return
end
subroutine
addobs_d
end
subroutine
addobs_d
! ********************************
! *
module
subroutine
addobs_ds
(
x
,
a
,
der
,
mns
)
! *
! ********************************
type
(
uwreal
),
intent
(
inout
)
::
x
type
(
uwreal
),
intent
(
in
)
::
a
(:)
real
(
kind
=
DP
),
intent
(
in
)
::
der
(:),
mns
integer
::
no
,
nid
,
i
,
j
,
is_r
,
ie_r
,
&
is_s
,
ie_s
,
nvt
no
=
size
(
a
)
nvt
=
0
nid
=
0
do
i
=
1
,
no
nvt
=
nvt
+
size
(
a
(
i
)
%
ivrep
)
nid
=
nid
+
a
(
i
)
%
nid
end
do
call
init_ws
(
nid
,
nvt
,
no
)
call
combine_ids_multi
(
nid
,
a
)
nvt
=
sum
(
ws
%
nrep
(
1
:
nid
))
call
x
%
init
(
nid
,
ws
%
nd
,
ws
%
nrep
,
ws
%
ivrep
(
1
:
nvt
))
x
%
id
(
1
:
nid
)
=
ws
%
ids
(
1
:
nid
)
x
%
nrep
(
1
:
nid
)
=
ws
%
nrep
(
1
:
nid
)
x
%
texp
(
1
:
nid
)
=
ws
%
texp
(
1
:
nid
)
x
%
ivrep
(
1
:
nvt
)
=
ws
%
ivrep
(
1
:
nvt
)
x
%
mean
=
mns
x
%
data
=
0.0_DP
do
i
=
1
,
x
%
neid
()
call
x
%
get_offset
(
is_r
,
ie_r
,
i
,
0
)
do
j
=
1
,
no
if
(
ws
%
map
(
i
,
j
)
.ne.
0
)
then
call
a
(
j
)
%
get_offset
(
is_s
,
ie_s
,
ws
%
map
(
i
,
j
),
0
)
x
%
data
(
is_r
:
ie_r
)
=
x
%
data
(
is_r
:
ie_r
)
+
&
der
(
j
)
*
a
(
j
)
%
data
(
is_s
:
ie_s
)
end
if
end
do
end
do
return
end
subroutine
addobs_ds
! ********************************
! ********************************
! *
! *
module
subroutine
uwdobs_f
(
x
,
a
,
fn
)
module
subroutine
uwdobs_f
(
x
,
a
,
fn
)
...
...
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