Revision 32137548f88338d9d7aed7c09701fefd5559f6b1 authored by Dmitry Yu. Naumov on 22 January 2021, 11:42:09 UTC, committed by Dmitry Yu. Naumov on 22 January 2021, 11:42:09 UTC
Non-isothermal Richards mechanics (monolithic scheme) See merge request ogs/ogs!3166
Counter.h
/**
* \file
* \copyright
* Copyright (c) 2012-2021, 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
#include <cstddef>
namespace BaseLib
{
template <typename X>
struct Counter
{
Counter()
{
_counter_value++;
}
static std::size_t _counter_value;
};
template <typename X> std::size_t Counter<X>::_counter_value(0);
} // end namespace BaseLib
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...