• Keine Ergebnisse gefunden

Exercise1(HeatTransfer, 10Punkte ) DueDate22.05.2013 AssignmentonMassivelyParallelAlgorithms-Sheet4

N/A
N/A
Protected

Academic year: 2021

Aktie "Exercise1(HeatTransfer, 10Punkte ) DueDate22.05.2013 AssignmentonMassivelyParallelAlgorithms-Sheet4"

Copied!
1
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Prof. G. Zachmann D. Mohr

University of Bremen School of Computer Science

CGVR Group May 15, 2013

Summer Semester 2013

Assignment on Massively Parallel Algorithms - Sheet 4

Due Date 22. 05. 2013

Exercise 1 (Heat Transfer, 10 Punkte )

Download the Frameworkheat_transfer, compile, and run it. You will see an animated simulation of heat flowing through some medium.

Hint: You need freeglut for the framework. For installation please see the slides from the first tutorium. (you can find the slides on the course webpage).

a) Extend the program to support a fixed number (known at compile time) of heat sources and heat sinks.

Hint: These are simply grid cells remaining at a fixed high or low temperature throughout the simulation.

b) Consider a set of n variable heat sources and sinks. The number and positions of the heat sources/sinks are not known at compile time. They can, for example, be set by the user during run-time. (You can but don’t have to implement the user driven positioning of sources/sinks).

For simplicity, you can use a simple array to store the sources/sinks. But be prepared to be asked to change them during the presentation of your solution.)

Develop an efficient algorithm to reset the temperature of the heat sources/sinks in each simulation step. Think about both, expensive memory accesses and computational effort. Is it better to parallelize with respect to the sources or the simulation grid? Explain your decision.

c) Let’s disturb the flow of heat with a displacement field. That means after each time step, there is a displacement step that moves all temperature values, perhaps like a gentle breeze wafting through a heated room, or perhaps like a slowly swirling vortex. (You do not need to move the heat sources and heat sinks themselves.)

1

Referenzen

ÄHNLICHE DOKUMENTE

We're finding, as we forward deploy, as we work together to put troops in a position where they can have a deterrence, that we've not done that, and perhaps that's a great role

In the current macroeconomic modelling, the efficient market hypothesis is related to auxiliary assumptions: (II-b) The no-Ponzi-game condition states that the

[ 1 ] We synthesize estimates of the contemporary net air-sea CO 2 flux on the basis of an inversion of interior ocean carbon observations using a suite of 10 ocean general

[ 1 ] We use an inverse method to estimate the global-scale pattern of the air-sea flux of natural CO 2 , i.e., the component of the CO 2 flux due to the natural carbon cycle

The key guidelines of the new German energy strategy are: withdrawal from the use of nuc- lear energy by 2022 1 , a more extensive use of renewable energy sources (RES), the develop-

In the second part, I present seven ‚strategies of commemoration’ (Documenting, Interpreting, Investigating, Exhibiting of fragmentarized Memories, Swearing/staging of Trauma,

Submit until July 2nd 2020, 2:00 pm in the ILIAS.. Review in the exercise course on July

Keywords Acceptance-rejection algorithm · Bimodality · Circular distribution · Markov chain Monte Carlo · Methods of Ferrari and Weierstrass · Piecewise linear envelope