Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Aland, Sebastian
amdis
Commits
d7ab2718
Commit
d7ab2718
authored
Jul 21, 2009
by
Thomas Witkowski
Browse files
Fixed torus example.
parent
06988363
Changes
1
Hide whitespace changes
Inline
Side-by-side
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
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment