Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
spm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
solverstack
spm
Commits
59e93e32
Commit
59e93e32
authored
8 years ago
by
Mathieu Faverge
Browse files
Options
Downloads
Patches
Plain Diff
Keep going on the documentation
parent
561b9ee7
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
spm_io.c
+39
-0
39 additions, 0 deletions
spm_io.c
with
39 additions
and
0 deletions
spm_io.c
+
39
−
0
View file @
59e93e32
...
...
@@ -417,6 +417,26 @@ csc_load( pastix_int_t *n,
return
PASTIX_SUCCESS
;
}
/**
*******************************************************************************
*
* @ingroup pastix_spm
*
* @brief Load the spm structure from a file (internal format)
*
* Load the spm data structure from a file store in an internal format. For now
* this function only load a simple csc matrix.
*
*******************************************************************************
*
* @param[in,out] spm
* On entry, an allocated spm data structure.
* On exit, the spm filled with the information read in the file
*
* @param[in] infile
* The opened file in which the spm is stored.
*
*******************************************************************************/
int
spmLoad
(
pastix_spm_t
*
spm
,
FILE
*
infile
)
...
...
@@ -487,6 +507,25 @@ csc_save( pastix_int_t n,
return
PASTIX_SUCCESS
;
}
/**
*******************************************************************************
*
* @ingroup pastix_spm
*
* @brief Save the spm structure into a file (internal format)
*
* Save the spm data structure into a file and stored in an internal format. For
* now this function only save a simple csc matrix.
*
*******************************************************************************
*
* @param[in,out] spm
* The sparse matrix to write into the file.
*
* @param[in] outfile
* The opened file in which to store the spm.
*
*******************************************************************************/
int
spmSave
(
pastix_spm_t
*
spm
,
FILE
*
outfile
)
...
...
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