Lethe Open-Source Library version 1.2.0
Developer Guide
Loading...
Searching...
No Matches
input_parameter_inspection.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) 2020, 2023-2024 The Lethe Authors
2// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception OR LGPL-2.1-or-later
3
4#ifndef lethe_input_parameter_inspection_h
5#define lethe_input_parameter_inspection_h
6
8#include <dem/distributions.h>
9
10/**
11 * @brief Check input parameters in the parameter handler to be in the
12 * correct range. Warnings or error would appear if the parameters are not in
13 * their acceptable range.
14 *
15 * @param dem_parameters Input DEM parameters in the parameter handler file
16 * @param pcout Printing in parallel
17 * @param size_distribution_object_container Contain all the types of distribution
18 * being used for each type of particle.
19 */
20
21template <int dim>
22void
24 const ConditionalOStream &pcout,
25 const std::vector<std::shared_ptr<Distribution>>
26 &size_distribution_object_container);
27
28#endif
Handles all the parameters declared in the parameter handler file.
void input_parameter_inspection(const DEMSolverParameters< dim > &dem_parameters, const ConditionalOStream &pcout, const std::vector< std::shared_ptr< Distribution > > &size_distribution_object_container)
Check input parameters in the parameter handler to be in the correct range. Warnings or error would a...