Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-tectonic
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
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
podlesny
dune-tectonic
Commits
f264dbbc
Commit
f264dbbc
authored
13 years ago
by
Elias Pipping
Committed by
Elias Pipping
13 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Nuke generated c++-file
parent
852b54e5
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
configure.ac
+1
-1
1 addition, 1 deletion
configure.ac
src/dune_tectonic.cc
+0
-26
0 additions, 26 deletions
src/dune_tectonic.cc
with
1 addition
and
27 deletions
configure.ac
+
1
−
1
View file @
f264dbbc
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
AC_PREREQ(2.50)
AC_PREREQ(2.50)
DUNE_AC_INIT # gets module version from dune.module file
DUNE_AC_INIT # gets module version from dune.module file
AM_INIT_AUTOMAKE
AM_INIT_AUTOMAKE
AC_CONFIG_SRCDIR([src/
dune_tectonic
.cc])
AC_CONFIG_SRCDIR([src/
test-gradient-method
.cc])
AM_CONFIG_HEADER([config.h])
AM_CONFIG_HEADER([config.h])
...
...
This diff is collapsed.
Click to expand it.
src/dune_tectonic.cc
deleted
100644 → 0
+
0
−
26
View file @
852b54e5
#ifdef HAVE_CONFIG_H
#include
"config.h"
#endif
#include
<iostream>
#include
"dune/common/mpihelper.hh"
// An initializer of MPI
#include
"dune/common/exceptions.hh"
// We use exceptions
int
main
(
int
argc
,
char
**
argv
)
{
try
{
// Maybe initialize Mpi
Dune
::
MPIHelper
&
helper
=
Dune
::
MPIHelper
::
instance
(
argc
,
argv
);
std
::
cout
<<
"Hello World! This is dune-tectonic."
<<
std
::
endl
;
if
(
Dune
::
MPIHelper
::
isFake
)
std
::
cout
<<
"This is a sequential program."
<<
std
::
endl
;
else
std
::
cout
<<
"I am rank "
<<
helper
.
rank
()
<<
" of "
<<
helper
.
size
()
<<
" processes!"
<<
std
::
endl
;
return
0
;
}
catch
(
Dune
::
Exception
&
e
)
{
std
::
cerr
<<
"Dune reported error: "
<<
e
<<
std
::
endl
;
}
catch
(...)
{
std
::
cerr
<<
"Unknown exception thrown!"
<<
std
::
endl
;
}
}
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