Fix a few doxygen issues with the tutorials

This commit is contained in:
Andreas Lauser 2013-04-15 17:49:41 +02:00
parent 31e7eba497
commit 616a92cf80
4 changed files with 11 additions and 17 deletions

View File

@ -1,5 +1,5 @@
/// \cond SKIP
/*!
\cond SKIP
Copyright 2012 SINTEF ICT, Applied Mathematics.
This file is part of the Open Porous Media project (OPM).
@ -16,11 +16,8 @@
You should have received a copy of the GNU General Public License
along with OPM. If not, see <http://www.gnu.org/licenses/>.
\endcond
*/
#if HAVE_CONFIG_H
#include "config.h"
#endif // HAVE_CONFIG_H
///\endcond
/// \page tutorial1 A simple cartesian grid
/// This tutorial explains how to construct a simple Cartesian grid,
@ -34,6 +31,8 @@
/// \snippet tutorial1.cpp including headers
/// \internal [including headers]
#include "config.h"
#include <opm/core/grid.h>
#include <opm/core/grid/GridManager.hpp>
#include <opm/core/io/vtk/writeVtkData.hpp>

View File

@ -1,5 +1,5 @@
/// \cond SKIP
/*!
\cond SKIP
Copyright 2012 SINTEF ICT, Applied Mathematics.
This file is part of the Open Porous Media project (OPM).
@ -16,8 +16,9 @@
You should have received a copy of the GNU General Public License
along with OPM. If not, see <http://www.gnu.org/licenses/>.
\endcond
*/
/// \endcond
/// \page tutorial2 Flow Solver for a single phase
/// \details The flow equations consist of the mass conservation equation
/// \f[\nabla\cdot {\bf u}=q\f] and the Darcy law \f[{\bf u} =- \frac{1}{\mu}K\nabla p.\f] Here,
@ -27,9 +28,7 @@
/// We solve the flow equations for a Cartesian grid and we set the source term
/// \f$q\f$ be zero except at the left-lower and right-upper corner, where it is equal
/// with opposite sign (inflow equal to outflow).
#if HAVE_CONFIG_H
#include "config.h"
#endif // HAVE_CONFIG_H
#include <opm/core/grid.h>
#include <opm/core/grid/GridManager.hpp>

View File

@ -1,5 +1,5 @@
/// \cond SKIP
/*!
\cond SKIP
Copyright 2012 SINTEF ICT, Applied Mathematics.
This file is part of the Open Porous Media project (OPM).
@ -16,11 +16,9 @@
You should have received a copy of the GNU General Public License
along with OPM. If not, see <http://www.gnu.org/licenses/>.
\endcond
*/
#if HAVE_CONFIG_H
/// \endcond
#include "config.h"
#endif // HAVE_CONFIG_H
#include <iostream>
#include <iomanip>

View File

@ -1,5 +1,5 @@
/// \cond SKIP
/*!
\cond SKIP
Copyright 2012 SINTEF ICT, Applied Mathematics.
This file is part of the Open Porous Media project (OPM).
@ -16,11 +16,9 @@
You should have received a copy of the GNU General Public License
along with OPM. If not, see <http://www.gnu.org/licenses/>.
\endcond
*/
#if HAVE_CONFIG_H
/// \endcond
#include "config.h"
#endif // HAVE_CONFIG_H
#include <iostream>
#include <iomanip>