version 0.6.0
mod_math_algebra Module Reference

Algebraic Functions.

Functions/Subroutines

elemental logical function is_a_power_of_two (n)
 Tell wether argument is a power of two. More...
 

Function/Subroutine Documentation

◆ is_a_power_of_two()

elemental logical function mod_math_algebra::is_a_power_of_two ( integer, intent(in)  n)

Helps to verify that the number of cells in each direction is a power of two (may be necessary to Hypre's solvers)