Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-common
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
Tobias Leibner
dune-common
Commits
92f9e447
Commit
92f9e447
authored
20 years ago
by
Oliver Sander
Browse files
Options
Downloads
Patches
Plain Diff
Error printf replaced by Exception
[[Imported from SVN: r1061]]
parent
60b160b0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
io/file/amirameshreader.hh
+7
-6
7 additions, 6 deletions
io/file/amirameshreader.hh
with
7 additions
and
6 deletions
io/file/amirameshreader.hh
+
7
−
6
View file @
92f9e447
...
...
@@ -12,7 +12,7 @@ namespace Dune {
* \brief Provides file reading facilities in the AmiraMesh format.
*
*/
template
<
class
G
RID
>
template
<
class
G
ridType
>
class
AmiraMeshReader
{
public:
...
...
@@ -22,7 +22,7 @@ namespace Dune {
* @param grid The grid objects that is to be written
* @param filename The filename
*/
static
void
read
(
G
RID
&
grid
,
static
void
read
(
G
ridType
&
grid
,
const
std
::
string
&
filename
);
...
...
@@ -33,11 +33,12 @@ namespace Dune {
}
// Default implementation
template
<
class
G
RID
>
void
Dune
::
AmiraMeshReader
<
G
RID
>::
read
(
G
RID
&
grid
,
const
std
::
string
&
filename
)
template
<
class
G
ridType
>
void
Dune
::
AmiraMeshReader
<
G
ridType
>::
read
(
G
ridType
&
grid
,
const
std
::
string
&
filename
)
{
printf
(
"No AmiraMesh reading has been implemented for this grid type!
\n
"
);
/** \todo We should somehow output the grid type name here */
DUNE_THROW
(
IOError
,
"No AmiraMesh reading has been implemented for this grid type!"
);
}
...
...
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