fixed wall calculations