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
fbe10859
Commit
fbe10859
authored
15 years ago
by
Thomas Witkowski
Browse files
Options
Downloads
Patches
Plain Diff
Some small bug fixes when compiling AMDiS in debug mode.
parent
e5d797df
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
AMDiS/src/Cholesky.cc
+1
-2
1 addition, 2 deletions
AMDiS/src/Cholesky.cc
AMDiS/src/DOFMatrix.cc
+2
-2
2 additions, 2 deletions
AMDiS/src/DOFMatrix.cc
AMDiS/src/DOFMatrix.h
+0
-7
0 additions, 7 deletions
AMDiS/src/DOFMatrix.h
AMDiS/src/ProblemVec.cc
+6
-6
6 additions, 6 deletions
AMDiS/src/ProblemVec.cc
with
9 additions
and
17 deletions
AMDiS/src/Cholesky.cc
+
1
−
2
View file @
fbe10859
...
...
@@ -2,10 +2,9 @@
bool
Cholesky
::
factorization
(
Matrix
<
double
>
*
A
,
Vector
<
double
>
*
p
)
{
FUNCNAME
(
"Cholesky::factorization"
);
FUNCNAME
(
"Cholesky::factorization
()
"
);
int
n
=
A
->
getNumRows
();
TEST_EXIT
(
n
==
A
->
getNumCols
())(
"Matrix is not quadratic!
\n
"
);
// Checking memory for vector P of diagonal elements of factorization.
static
Vector
<
double
>
*
pT
=
NULL
;
...
...
This diff is collapsed.
Click to expand it.
AMDiS/src/DOFMatrix.cc
+
2
−
2
View file @
fbe10859
...
...
@@ -179,9 +179,9 @@ namespace AMDiS {
const
BoundaryType
*
bound
,
bool
add
)
{
FUNCNAME
(
"DOFMatrix::addElementMatrix"
);
FUNCNAME
(
"DOFMatrix::addElementMatrix
()
"
);
TEST_EXIT
(
inserter
)(
"DOFMatrix is not in insertion mode"
);
TEST_EXIT
_DBG
(
inserter
)(
"DOFMatrix is not in insertion mode"
);
inserter_type
&
ins
=
*
inserter
;
DegreeOfFreedom
row
,
col
;
...
...
This diff is collapsed.
Click to expand it.
AMDiS/src/DOFMatrix.h
+
0
−
7
View file @
fbe10859
...
...
@@ -284,13 +284,6 @@ namespace AMDiS {
return
rowFESpace
->
getAdmin
()
->
getUsedSize
();
}
// Only fake, shouldn't be called
/** \brief
* Returns number of cols. For that, the function iteratos over all
* rows and searchs for the entry with the highest col number.
*/
int
getNumCols
()
const
;
/// Returns \ref name
inline
const
std
::
string
&
getName
()
const
{
return
name
;
...
...
This diff is collapsed.
Click to expand it.
AMDiS/src/ProblemVec.cc
+
6
−
6
View file @
fbe10859
...
...
@@ -774,12 +774,6 @@ namespace AMDiS {
assembleFlag
,
assembleMatrix
?
matrix
:
NULL
,
((
i
==
j
)
&&
asmVector
)
?
rhs
->
getDOFVector
(
i
)
:
NULL
);
TEST_EXIT_DBG
(
matrix
->
getUsedSize
()
==
componentSpaces
[
i
]
->
getAdmin
()
->
getUsedSize
())
(
"Assembled matrix has wrong dimension!
\n
"
);
TEST_EXIT_DBG
(
matrix
->
getNumCols
()
==
componentSpaces
[
j
]
->
getAdmin
()
->
getUsedSize
())
(
"Assembled matrix has wrong dimension!
\n
"
);
}
else
{
ERROR_EXIT
(
"Not yet implemented!
\n
"
);
}
...
...
@@ -1132,6 +1126,9 @@ namespace AMDiS {
if
(
useGetBound
)
bound
=
GET_MEMORY
(
BoundaryType
,
basisFcts
->
getNumber
());
if
(
matrix
)
matrix
->
startInsertion
();
DualTraverse
dualTraverse
;
ElInfo
*
rowElInfo
,
*
colElInfo
;
ElInfo
*
largeElInfo
,
*
smallElInfo
;
...
...
@@ -1182,6 +1179,9 @@ namespace AMDiS {
BoundaryType
*
bound
=
NULL
;
if
(
useGetBound
)
bound
=
GET_MEMORY
(
BoundaryType
,
basisFcts
->
getNumber
());
if
(
matrix
)
matrix
->
startInsertion
();
DualTraverse
dualTraverse
;
ElInfo
*
mainElInfo
,
*
auxElInfo
;
...
...
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