https://gitlab.opengeosys.org/ogs/ogs.git
Revision 28a91f37afa371ff85508b206b03c09934de06a3 authored by Lars Bilke on 28 March 2022, 08:02:23 UTC, committed by Lars Bilke on 28 March 2022, 08:02:23 UTC
Increase the PETSc ksp solver tolerance of TRuni_unsaturated.prj

See merge request ogs/ogs!4061
2 parent s 4d72830 + 503de8d
Raw File
Tip revision: 28a91f37afa371ff85508b206b03c09934de06a3 authored by Lars Bilke on 28 March 2022, 08:02:23 UTC
Merge branch 'update_test' into 'master'
Tip revision: 28a91f3
MemWatch.h
/**
 * \file
 * \author Thomas Fischer
 * \date   2012-05-07
 * \brief  Definition of the MemWatch class.
 *
 * \copyright
 * Copyright (c) 2012-2022, OpenGeoSys Community (http://www.opengeosys.org)
 *            Distributed under a Modified BSD License.
 *              See accompanying file LICENSE.txt or
 *              http://www.opengeosys.org/project/license
 *
 */

#pragma once

namespace BaseLib
{
class MemWatch
{
public:
    MemWatch();
    unsigned long getVirtMemUsage();

private:
    unsigned updateMemUsage();
    unsigned long vmem_size_ = 0;
};

}  // namespace BaseLib
back to top