Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
dynamic
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
MostafaMollaali
dynamic
Commits
2bcaf745
Commit
2bcaf745
authored
8 years ago
by
Dmitri Naumov
Browse files
Options
Downloads
Patches
Plain Diff
[MaL] Fix various PETSc functions documentation.
parent
aafe4cc5
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
MathLib/LinAlg/PETSc/PETScMatrix.h
+6
-5
6 additions, 5 deletions
MathLib/LinAlg/PETSc/PETScMatrix.h
MathLib/LinAlg/PETSc/PETScTools.h
+5
-6
5 additions, 6 deletions
MathLib/LinAlg/PETSc/PETScTools.h
MathLib/LinAlg/PETSc/PETScVector.h
+0
-2
0 additions, 2 deletions
MathLib/LinAlg/PETSc/PETScVector.h
with
11 additions
and
13 deletions
MathLib/LinAlg/PETSc/PETScMatrix.h
+
6
−
5
View file @
2bcaf745
...
...
@@ -249,11 +249,12 @@ class PETScMatrix
PetscInt
_end_rank
;
/*!
\brief Create the matrix, configure memory allocation and set the related member data.
\param Number of nonzeros per row in the diagonal portion of local submatrix
(same value is used for all local rows),
\param Number of nonzeros per row in the off-diagonal portion of local submatrix
(same value is used for all local rows)
\brief Create the matrix, configure memory allocation and set the
related member data.
\param d_nz Number of nonzeros per row in the diagonal portion of
local submatrix (same value is used for all local rows),
\param o_nz Number of nonzeros per row in the off-diagonal portion of
local submatrix (same value is used for all local rows)
*/
void
create
(
const
PetscInt
d_nz
,
const
PetscInt
o_nz
);
...
...
This diff is collapsed.
Click to expand it.
MathLib/LinAlg/PETSc/PETScTools.h
+
5
−
6
View file @
2bcaf745
...
...
@@ -27,12 +27,11 @@ namespace MathLib
/*!
\brief apply known solutions to a system of linear equations
\param A Coefficient matrix
\param b RHS vector
\param vec_knownX_id a vector of known solution entry IDs
\param vec_knownX_x a vector of known solutions
\param penalty_scaling value for scaling some matrix and right hand side
entries to enforce some conditions
\param A Coefficient matrix
\param b RHS vector
\param x Solution vector
\param vec_knownX_id A vector of known solution entry IDs
\param vec_knownX_x A vector of known solutions
*/
void
applyKnownSolution
(
PETScMatrix
&
A
,
PETScVector
&
b
,
PETScVector
&
x
,
const
std
::
vector
<
PetscInt
>
&
vec_knownX_id
,
...
...
This diff is collapsed.
Click to expand it.
MathLib/LinAlg/PETSc/PETScVector.h
+
0
−
2
View file @
2bcaf745
...
...
@@ -282,8 +282,6 @@ class PETScVector
/*!
Get local vector, i.e. entries in the same rank
\param loc_vec Pointer to array where stores the local vector,
memory allocation is not needed
*/
PetscScalar
*
getLocalVector
()
const
;
...
...
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