Revert "Reinsert old function"
Revert "Reinsert old function"

This reverts commit 711c6ea696376a5e5726cda0b31efe1a37b4e742.

sairajat/dealii,naliboff/dealii,naliboff/dealii,sairajat/dealii,sairajat/dealii,naliboff/dealii,sairajat/dealii,sairajat/dealii,naliboff/dealii,naliboff/dealii,naliboff/dealii,sairajat/dealii,sairajat/dealii,naliboff/dealii