A multidimensional cosmological hydrodynamic code is described and tes
ted. This code is based on modern high-resolution shock-capturing tech
niques. It can make use of a linear or a parabolic cell reconstruction
as well as an approximate Riemann solver. The code has been specifica
lly designed for cosmological applications. Two tests including shocks
have been considered: the first is a standard shock tube, and the sec
ond involves a spherically symmetric shock. Various additional cosmolo
gical tests are also presented. In this way, the code's performance is
demonstrated. The usefulness of the code is discussed; in particular,
this powerful tool is expected to be useful for studying the evolutio
n of the hot gas component located inside asymmetric cosmological stru
ctures.