Peano
Loading...
Searching...
No Matches
NohProblem.h
Go to the documentation of this file.
1// This file is part of the ExaParty project. For conditions of distribution and
2// use, please see the copyright notice at www.peano-framework.org
3#pragma once
4
5
6#include "globaldata/HydroPart.h"
7
8
9namespace benchmarks{
10 namespace exaparty {
11 namespace hydro {
12 namespace kernel_throughput {
13 /*
14 * Initial Conditions for the Noh problem
15 *
16 * We give particles an initial velocity towards the centre.
17 * Particles will then develop a shock that propagates outwards.
18 * This routine assumes that the particle of interest has a valid position
19 * already, and that the particles are arranged within the unit
20 * square/cube.
21 *
22 * @param h Mesh size of adjacent cells of the vertex to which this
23 * particle is associated.
24 */
26 globaldata::HydroPart& particle,
28 double HYDRO_PART_NUMBER,
29 double HYDRO_DIMENSIONS
30 );
31 }
32 }
33 }
34}
void initNohProblemIC(globaldata::HydroPart &particle, const tarch::la::Vector< Dimensions, double > &h, double HYDRO_PART_NUMBER, double HYDRO_DIMENSIONS)
This file is part of the ExaParty project.
Definition __init__.py:1
Simple vector class.
Definition Vector.h:159