Monday March 28, 2016
Your challenge is to add the NetCDF library to an existing predator-prey model to generate data that can be visualized using ParaView.
Your task is to use the NetCDF C library to modify the starter code contained in the "Rabbits and Wolves NetCDF starter zip file" below. Your task is to modify the code such that the program generates a "rabbits-and-wolves.nc" file when it runs. This file should contain the necessary data such that when it is opened in ParaView, a visualization of rabbits, wolves, and grass will be generated.
This is a similar task to the "Langton's Ant NetCDF" challenge problem linked below. You can reference the ParaView instructions and solution code for that problem.
http://hpcuniversity.org/students/weeklyChallenge/116/
Two other similar challenge problems are linked below, in case they are helpful to reference.
http://hpcuniversity.org/students/weeklyChallenge/117/
http://hpcuniversity.org/students/weeklyChallenge/118/
This is a similar task to the "Langton's Ant NetCDF" challenge problem linked below. You can reference the ParaView instructions and solution code for that problem.
http://hpcuniversity.org/students/weeklyChallenge/116/
Two other similar challenge problems are linked below, in case they are helpful to reference.
http://hpcuniversity.org/students/weeklyChallenge/117/
http://hpcuniversity.org/students/weeklyChallenge/118/
Show solution
Challenge Resources:
Rabbits and Wolves NetCDF starter zip file
—
zip file containing starter code for the "Rabbits and Wolves NetCDF" challenge problem.
Rabbits and Wolves NetCDF solution zip file
—
zip file containing solution code for the "Rabbits and Wolves NetCDF" challenge problem.
©1994-2025
|
Shodor
|
Privacy Policy
|
NSDL
|
XSEDE
|
Blue Waters
|
ACM SIGHPC
|
|
|
|
|
|
XSEDE Code of Conduct
|
Not Logged In. Login




