integral Function

public function integral(g, f) result(value)

integral on the grid

Arguments

Type IntentOptional Attributes Name
type(grid3d), intent(in) :: g
real(kind=long), intent(in) :: f(g%n_grid)

Return Value real(kind=long)