// ------------------------------------------------------------------------ // // SPDX-License-Identifier: LGPL-2.1-or-later // Copyright (C) 1999 - 2019 by the deal.II authors // // This file is part of the deal.II library. // // Part of the source code is dual licensed under Apache-2.0 WITH // LLVM-exception OR LGPL-2.1-or-later. Detailed license information // governing the source code and code contributions can be found in // LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II. // // ------------------------------------------------------------------------ #ifndef dealii_function_time_templates_h #define dealii_function_time_templates_h #include #include DEAL_II_NAMESPACE_OPEN template FunctionTime::FunctionTime(const Number initial_time) : time(initial_time) {} template void FunctionTime::set_time(const Number new_time) { time = new_time; } template void FunctionTime::advance_time(const Number delta_t) { set_time(time + delta_t); } DEAL_II_NAMESPACE_CLOSE #endif /* dealii_function_time_templates_h */