Magma 50%, because eventually the melted rock mass becomes a crystal-and-melt mush that can then ascend "en masse" as a diapir, which may then cause further decompression melting. The degree of partial melting is critical for determining what type of magma is produced. The degree of partial melting required to form a melt can be estimated by considering the relative enrichment of incompatible elements versus compatible elements. Incompatible elements commonly include potassium, barium, caesium, and rubidium. Rock types produced by small degrees of partial melting in the Earth's mantle are typically alkaline (Ca, Na), potassic (K) and/or peralkaline (high aluminium to
Volcanism rapidly it cools. Magma that reaches the surface to become lava cools rapidly, resulting in rocks with small crystals such as basalt. Some of this magma may cool extremely rapidly and will form volcanic glass (rocks without crystals) such as obsidian. Magma trapped below ground in thin intrusions cools more slowly than exposed magma and produces rocks with medium-sized crystals. Magma that remains trapped in large quantities below ground cools most slowly resulting in rocks with larger crystals, such as granite and gabbro. Existing rocks that come into contact with magma may be melted and assimilated into the magma. Other