Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gmsh
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
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
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Larry Price
gmsh
Commits
69e62949
Commit
69e62949
authored
14 years ago
by
Jonathan Lambrechts
Browse files
Options
Downloads
Patches
Plain Diff
dg : complete swig bindings
parent
8a9120e9
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
Solver/linearSystem.cpp
+1
-2
1 addition, 2 deletions
Solver/linearSystem.cpp
Solver/linearSystem.h
+1
-1
1 addition, 1 deletion
Solver/linearSystem.h
with
2 additions
and
3 deletions
Solver/linearSystem.cpp
+
1
−
2
View file @
69e62949
...
@@ -6,8 +6,7 @@
...
@@ -6,8 +6,7 @@
#include
"Bindings.h"
#include
"Bindings.h"
template
<
>
void
linearSystemBase
::
registerBindings
(
binding
*
b
){
void
linearSystem
<
double
>::
registerBindings
(
binding
*
b
){
methodBinding
*
cm
;
methodBinding
*
cm
;
classBinding
*
cb
=
b
->
addClass
<
linearSystemBase
>
(
"linearSystemBase"
);
classBinding
*
cb
=
b
->
addClass
<
linearSystemBase
>
(
"linearSystemBase"
);
cb
->
setDescription
(
"Base class for linear systems"
);
cb
->
setDescription
(
"Base class for linear systems"
);
...
...
This diff is collapsed.
Click to expand it.
Solver/linearSystem.h
+
1
−
1
View file @
69e62949
...
@@ -23,6 +23,7 @@ class linearSystemBase {
...
@@ -23,6 +23,7 @@ class linearSystemBase {
virtual
int
systemSolve
()
=
0
;
virtual
int
systemSolve
()
=
0
;
void
setParameter
(
std
::
string
key
,
std
::
string
value
);
void
setParameter
(
std
::
string
key
,
std
::
string
value
);
virtual
void
insertInSparsityPattern
(
int
_row
,
int
_col
){};
virtual
void
insertInSparsityPattern
(
int
_row
,
int
_col
){};
static
void
registerBindings
(
binding
*
);
};
};
template
<
class
scalar
>
template
<
class
scalar
>
...
@@ -35,7 +36,6 @@ class linearSystem : public linearSystemBase {
...
@@ -35,7 +36,6 @@ class linearSystem : public linearSystemBase {
virtual
void
addToRightHandSide
(
int
_row
,
const
scalar
&
val
)
=
0
;
virtual
void
addToRightHandSide
(
int
_row
,
const
scalar
&
val
)
=
0
;
virtual
void
getFromRightHandSide
(
int
_row
,
scalar
&
val
)
const
=
0
;
virtual
void
getFromRightHandSide
(
int
_row
,
scalar
&
val
)
const
=
0
;
virtual
void
getFromSolution
(
int
_row
,
scalar
&
val
)
const
=
0
;
virtual
void
getFromSolution
(
int
_row
,
scalar
&
val
)
const
=
0
;
static
void
registerBindings
(
binding
*
);
virtual
double
normInfRightHandSide
()
const
=
0
;
virtual
double
normInfRightHandSide
()
const
=
0
;
};
};
...
...
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