Which of the following helps to determine how easily magma flows?