Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Backofen, Rainer
amdis
Commits
d7ab2718
Commit
d7ab2718
authored
Jul 21, 2009
by
Thomas Witkowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed torus example.
parent
06988363
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
demo/src/torus.cc
demo/src/torus.cc
+3
-6
No files found.
demo/src/torus.cc
View file @
d7ab2718
...
...
@@ -14,10 +14,6 @@ public:
}
};
// ===========================================================================
// ===== function definitions ================================================
// ===========================================================================
/// RHS function
class
F
:
public
AbstractFunction
<
double
,
WorldVector
<
double
>
>
{
...
...
@@ -80,7 +76,7 @@ public:
x
*=
radius2_
/
norm
;
x
+=
center
;
}
;
}
protected:
double
radius1_
;
...
...
@@ -209,8 +205,9 @@ int main(int argc, char* argv[])
adaptInfo
->
reset
();
adapt
->
adapt
();
for
(
i
=
0
;
i
<
dow
;
i
++
)
for
(
int
i
=
0
;
i
<
dow
;
i
++
)
delete
parametricCoords
[
i
];
delete
[]
localIndices
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment