Flux Compression For Magnetized Warm Dense Matter