File build_config.hxx#

Defines

STRINGIFY1(x)#
STRINGIFY(x)
BOUT_HOST_DEVICE#
BOUT_HOST#
BOUT_DEVICE#
namespace bout

Provides access to the Hypre library, handling initialisation and finalisation.

Usage

#include <bout/hyprelib.hxx>

class MyClass { public:

private: HypreLib lib; };

This will then automatically initialise Hypre the first time an object is created, and finalise it when the last object is destroyed.

Copyright 2012 B.D.Dudson, S.Farley, M.V.Umansky, X.Q.Xu

Contact: Ben Dudson, bd512@york.ac.uk

This file is part of BOUT++.

BOUT++ is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

BOUT++ is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with BOUT++. If not, see http://www.gnu.org/licenses/.

Explicit inversion of a 3x3 matrix a

If the matrix is singular (ill conditioned), the determinant is return. Otherwise, an empty std::optional is return

SNB model

namespace build#

Variables

constexpr auto check_level = 3#
constexpr auto openmp_schedule = "BOUT_OPENMP_SCHEDULE"#
constexpr auto has_fftw = static_cast<bool>(1)#
constexpr auto has_gettext = static_cast<bool>(1)#
constexpr auto has_lapack = static_cast<bool>(1)#
constexpr auto has_legacy_netcdf = static_cast<bool>(BOUT_HAS_LEGACY_NETCDF)#
constexpr auto has_netcdf = static_cast<bool>(1)#
constexpr auto has_adios2 = static_cast<bool>(BOUT_HAS_ADIOS2)#
constexpr auto has_petsc = static_cast<bool>(1)#
constexpr auto has_hypre = static_cast<bool>(1)#
constexpr auto has_umpire = static_cast<bool>(1)#
constexpr auto has_caliper = static_cast<bool>(1)#
constexpr auto has_raja = static_cast<bool>(1)#
constexpr auto has_pretty_function = static_cast<bool>(BOUT_HAS_PRETTY_FUNCTION)#
constexpr auto has_pvode = static_cast<bool>(1)#
constexpr auto has_scorep = static_cast<bool>(1)#
constexpr auto has_uuid_system_generator = static_cast<bool>(1)#
constexpr auto has_slepc = static_cast<bool>(1)#
constexpr auto has_sundials = static_cast<bool>(1)#
constexpr auto use_backtrace = static_cast<bool>(BOUT_USE_BACKTRACE)#
constexpr auto use_color = static_cast<bool>(1)#
constexpr auto use_openmp = static_cast<bool>(1)#
constexpr auto use_output_debug = static_cast<bool>(1)#
constexpr auto use_sigfpe = static_cast<bool>(1)#
constexpr auto use_signal = static_cast<bool>(1)#
constexpr auto use_track = static_cast<bool>(1)#
constexpr auto has_cuda = static_cast<bool>(BOUT_HAS_CUDA)#
constexpr auto use_metric_3d = static_cast<bool>(1)#
constexpr auto use_msgstack = static_cast<bool>(1)#