Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-uggrid
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
staging
dune-uggrid
Commits
26c2c8be
Commit
26c2c8be
authored
17 years ago
by
Oliver Sander
Browse files
Options
Downloads
Patches
Plain Diff
more consts to calm gcc 4.2
[[Imported from SVN: r8323]]
parent
04c9a7f5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
np/amglib/amg_low.h
+1
-1
1 addition, 1 deletion
np/amglib/amg_low.h
np/amglib/amg_sp.h
+2
-2
2 additions, 2 deletions
np/amglib/amg_sp.h
with
3 additions
and
3 deletions
np/amglib/amg_low.h
+
1
−
1
View file @
26c2c8be
...
...
@@ -61,7 +61,7 @@ typedef void * (*AMG_MallocFuncPtr)(size_t n);
/* string i/o */
int
AMG_InstallPrintHandler
(
AMG_PrintFuncPtr
print
);
int
AMG_Print
(
char
*
s
);
int
AMG_Print
(
const
char
*
s
);
int
AMG_RedirectToFile
(
char
*
name
);
int
AMG_RedirectToScreen
(
void
);
...
...
This diff is collapsed.
Click to expand it.
np/amglib/amg_sp.h
+
2
−
2
View file @
26c2c8be
...
...
@@ -80,7 +80,7 @@ struct amg_vector AMG_VECTOR; /* a whole vector */
#define AMG_VECTOR_X(p) ((p)->x)
#define AMG_VECTOR_ENTRY(p,i,ii) ((p)->x[(i)*(p)->b+(ii)])
AMG_VECTOR
*
AMG_NewVector
(
int
n
,
int
b
,
char
*
name
);
AMG_VECTOR
*
AMG_NewVector
(
int
n
,
int
b
,
const
char
*
name
);
/****************************************************************************/
/******** pattern of a general m x n sparse block matrix *****************/
...
...
@@ -120,7 +120,7 @@ struct amg_matrix AMG_MATRIX; /* a matrix
#define AMG_MATRIX_A(p) ((p)->a)
/* Construction */
AMG_MATRIX
*
AMG_NewMatrix
(
int
n
,
int
b
,
int
nonzeros
,
int
system_as_scalar
,
char
*
name
);
AMG_MATRIX
*
AMG_NewMatrix
(
int
n
,
int
b
,
int
nonzeros
,
int
system_as_scalar
,
const
char
*
name
);
AMG_MATRIX
*
AMG_CopyMatrix
(
AMG_MATRIX
*
A
,
char
*
name
);
int
AMG_SetRowLength
(
AMG_MATRIX
*
A
,
int
i
,
int
l
);
int
AMG_FindEntry
(
AMG_MATRIX
*
A
,
int
i
,
int
j
);
...
...
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