Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-solvers
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
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
Patrick Jaap
dune-solvers
Commits
c4508101
Commit
c4508101
authored
6 years ago
by
lh1887
Browse files
Options
Downloads
Patches
Plain Diff
Fix whitespaces in ProjectedBlockGS
There were still some spurious whitespaces left from
d49b1348
.
parent
ff3369b1
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dune/solvers/iterationsteps/projectedblockgsstep.cc
+2
-2
2 additions, 2 deletions
dune/solvers/iterationsteps/projectedblockgsstep.cc
with
2 additions
and
2 deletions
dune/solvers/iterationsteps/projectedblockgsstep.cc
+
2
−
2
View file @
c4508101
...
@@ -6,7 +6,7 @@ inline
...
@@ -6,7 +6,7 @@ inline
void
ProjectedBlockGSStep
<
MatrixType
,
VectorType
>::
iterate
()
void
ProjectedBlockGSStep
<
MatrixType
,
VectorType
>::
iterate
()
{
{
assert
(
hasObstacle_
!=
nullptr
);
assert
(
hasObstacle_
!=
nullptr
);
if
(
hasObstacle_
->
size
()
!=
(
unsigned
int
)
this
->
x_
->
size
())
if
(
hasObstacle_
->
size
()
!=
(
unsigned
int
)
this
->
x_
->
size
())
DUNE_THROW
(
SolverError
,
"Size of hasObstacle ("
<<
hasObstacle_
->
size
()
DUNE_THROW
(
SolverError
,
"Size of hasObstacle ("
<<
hasObstacle_
->
size
()
<<
") doesn't match solution vector ("
<<
this
->
x_
->
size
()
<<
")"
);
<<
") doesn't match solution vector ("
<<
this
->
x_
->
size
()
<<
")"
);
...
@@ -49,7 +49,7 @@ void ProjectedBlockGSStep<MatrixType, VectorType>::iterate()
...
@@ -49,7 +49,7 @@ void ProjectedBlockGSStep<MatrixType, VectorType>::iterate()
// Solve the local constraint minimization problem
// Solve the local constraint minimization problem
// We use a projected Gauss-Seidel, for lack of anything better
// We use a projected Gauss-Seidel, for lack of anything better
assert
(
obstacles_
!=
nullptr
);
assert
(
obstacles_
!=
nullptr
);
Obstacle
defectObstacle
=
(
*
obstacles_
)[
i
];
Obstacle
defectObstacle
=
(
*
obstacles_
)[
i
];
defectObstacle
-=
x
;
defectObstacle
-=
x
;
...
...
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