1 /*============================================================================
2  * Define scaling parameter for electric model
3  *============================================================================*/
4 
5 /* VERS */
6 
7 /*
8   This file is part of Code_Saturne, a general-purpose CFD tool.
9 
10   Copyright (C) 1998-2021 EDF S.A.
11 
12   This program is free software; you can redistribute it and/or modify it under
13   the terms of the GNU General Public License as published by the Free Software
14   Foundation; either version 2 of the License, or (at your option) any later
15   version.
16 
17   This program is distributed in the hope that it will be useful, but WITHOUT
18   ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
19   FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
20   details.
21 
22   You should have received a copy of the GNU General Public License along with
23   this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
24   Street, Fifth Floor, Boston, MA 02110-1301, USA.
25 */
26 
27 /*----------------------------------------------------------------------------*/
28 
29 #include "cs_defs.h"
30 
31 /*----------------------------------------------------------------------------
32  * Standard C library headers
33  *----------------------------------------------------------------------------*/
34 #include <math.h>
35 
36 /*----------------------------------------------------------------------------
37  * Local headers
38  *----------------------------------------------------------------------------*/
39 
40 #include "cs_headers.h"
41 
42 /*----------------------------------------------------------------------------*/
43 
44 BEGIN_C_DECLS
45 
46 /*----------------------------------------------------------------------------*/
47 /*!
48  * \file cs_user_electric_scaling.c
49  *
50  * \brief Define scaling parameter for electric model.
51  *
52  */
53 /*----------------------------------------------------------------------------*/
54 
55 /*============================================================================
56  * User function definitions
57  *============================================================================*/
58 
59 /*----------------------------------------------------------------------------*/
60 /*!
61  * \brief Rescale all electro-magnetic physical fields
62  *        (electric potential, current density and Joule effect).
63  *
64  * \param[in] mesh pointer to a cs_mesh_t structure
65  * \param[in,out] mesh_quantities pointer to a cs_mesh_quantities_t structure
66  * \param[in] dt pointer to a \ref cs_real_t
67  *
68  * These options allow defining the time step synchronization policy,
69  * as well as a time step multiplier.
70  */
71 /*----------------------------------------------------------------------------*/
72 
73 #pragma weak cs_user_scaling_elec
74 void
cs_user_scaling_elec(const cs_mesh_t * mesh,const cs_mesh_quantities_t * mesh_quantities,cs_real_t * dt)75 cs_user_scaling_elec(const cs_mesh_t             *mesh,
76                      const cs_mesh_quantities_t  *mesh_quantities,
77                      cs_real_t                   *dt)
78 {
79   CS_UNUSED(mesh);
80   CS_UNUSED(mesh_quantities);
81   CS_UNUSED(dt);
82 }
83 
84 /*----------------------------------------------------------------------------*/
85 
86 END_C_DECLS
87