Finite-Element Simulations of Elastoplastic Flow during Compression of a Sample in a Diamond Anvil Cell under Extremely High Pressure: Effects of Geometry and Material Properties