Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
amdis
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
Container Registry
Model registry
Operate
Environments
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
iwr
amdis
Commits
dd73308c
Commit
dd73308c
authored
12 years ago
by
Thomas Witkowski
Browse files
Options
Downloads
Patches
Plain Diff
Added ROSI2PW rosenbrock method.
parent
4092b74a
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
AMDiS/src/CreatorMap.cc
+1
-0
1 addition, 0 deletions
AMDiS/src/CreatorMap.cc
AMDiS/src/time/RosenbrockMethod.cc
+34
-0
34 additions, 0 deletions
AMDiS/src/time/RosenbrockMethod.cc
AMDiS/src/time/RosenbrockMethod.h
+22
-0
22 additions, 0 deletions
AMDiS/src/time/RosenbrockMethod.h
with
57 additions
and
0 deletions
AMDiS/src/CreatorMap.cc
+
1
−
0
View file @
dd73308c
...
...
@@ -146,6 +146,7 @@ namespace AMDiS {
addCreator
(
"rowda3"
,
new
Rowda3
::
Creator
);
addCreator
(
"ros3p"
,
new
Ros3p
::
Creator
);
addCreator
(
"rodasp"
,
new
Rodasp
::
Creator
);
addCreator
(
"rosi2pw"
,
new
ROSI2PW
::
Creator
);
}
...
...
This diff is collapsed.
Click to expand it.
AMDiS/src/time/RosenbrockMethod.cc
+
34
−
0
View file @
dd73308c
...
...
@@ -174,4 +174,38 @@ namespace AMDiS {
m2
[
3
]
=
-
1.062004044111401e+00
;
m2
[
4
]
=
1.0
;
}
ROSI2PW
::
ROSI2PW
()
{
order
=
3
;
stages
=
4
;
gamma
=
4.3586652150845e-01
;
createData
();
a
[
1
][
0
]
=
8.7173304301691801e-01
;
a
[
2
][
0
]
=
-
7.9937335839852708e-01
;
a
[
2
][
1
]
=
-
7.9937335839852708e-01
;
a
[
3
][
0
]
=
7.0849664917601007e-01
;
a
[
3
][
1
]
=
3.1746327955312481e-01
;
a
[
3
][
2
]
=
-
2.5959928729134892e-02
;
c
[
1
][
0
]
=
-
8.7173304301691801e-01
;
c
[
2
][
0
]
=
3.0647867418622479
;
c
[
2
][
1
]
=
3.0647867418622479
;
c
[
3
][
0
]
=
-
1.0424832458800504e-01
;
c
[
3
][
1
]
=
-
3.1746327955312481e-01
;
c
[
3
][
2
]
=
-
1.4154917367328144e-02
;
m1
[
0
]
=
6.0424832458800504e-01
;
m1
[
1
]
=
-
3.6210810811598324e-32
;
m1
[
2
]
=
-
4.0114846096464034e-02
;
m1
[
3
]
=
4.3586652150845900e-01
;
m2
[
0
]
=
4.4315753191688778e-01
;
m2
[
1
]
=
4.4315753191688778e-01
;
m2
[
2
]
=
0.0
;
m2
[
3
]
=
1.1368493616622447e-01
;
}
}
This diff is collapsed.
Click to expand it.
AMDiS/src/time/RosenbrockMethod.h
+
22
−
0
View file @
dd73308c
...
...
@@ -184,6 +184,28 @@ namespace AMDiS {
~
Rodasp
()
{}
};
class
ROSI2PW
:
public
RosenbrockMethod
{
public:
class
Creator
:
public
RosenbrockMethodCreator
{
public:
Creator
()
:
RosenbrockMethodCreator
()
{}
~
Creator
()
{}
RosenbrockMethod
*
create
()
{
return
new
Rodasp
();
}
};
ROSI2PW
();
~
ROSI2PW
()
{}
};
}
#endif // AMDIS_ROSENBROCKMETHOD_H
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