SWE
Functions
/import/home/rettenbs/src/SWE/src/examples/swe_simple.cpp File Reference
#include <cassert>
#include <cstdlib>
#include <string>
#include <iostream>
#include "blocks/SWE_WavePropagationBlock.hh"
#include "writer/VtkWriter.hh"
#include "scenarios/SWE_simple_scenarios.hh"
#include "tools/help.hh"
#include "tools/Logger.hh"
#include "tools/ProgressBar.hh"

Functions

int main (int argc, char **argv)

Detailed Description

This file is part of SWE.

Author:
Alexander Breuer (breuera AT in.tum.de, http://www5.in.tum.de/wiki/index.php/Dipl.-Math._Alexander_Breuer) Michael Bader (bader AT in.tum.de, http://www5.in.tum.de/wiki/index.php/Univ.-Prof._Dr._Michael_Bader)

LICENSE

SWE is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

SWE is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with SWE. If not, see <http://www.gnu.org/licenses/>.

DESCRIPTION

Basic setting of SWE, which uses a wave propagation solver and an artificial or ASAGI scenario on a single block.


Function Documentation

int main ( int  argc,
char **  argv 
)

Main program for the simulation on a single SWE_WavePropagationBlock.

Initialization.

number of grid cells in x- and y-direction.

l_baseName of the plots.

number of checkpoints for visualization (at each checkpoint in time, an output file is written).

size of a single cell in x- and y-direction

origin of the simulation domain in x- and y-direction

time when the simulation ends.

checkpoints when output files are written.

Simulation.

simulation time.

maximum allowed time step width.

Finalize.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends