Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
GIDI_misc1d.cc
Go to the documentation of this file.
1/*
2# <<BEGIN-copyright>>
3# Copyright 2019, Lawrence Livermore National Security, LLC.
4# This file is part of the gidiplus package (https://github.com/LLNL/gidiplus).
5# gidiplus is licensed under the MIT license (see https://opensource.org/licenses/MIT).
6# SPDX-License-Identifier: MIT
7# <<END-copyright>>
8*/
9
10#include "GIDI.hpp"
11
12namespace GIDI {
13
14namespace Functions {
15
16/*! \class ThermalNeutronScatteringLaw1d
17 * Class for the GNDS <**thermalNeutronScatteringLaw**> node.
18 */
19
20/* *********************************************************************************************************//**
21 *
22 * @param a_construction [in] Used to pass user options to the constructor.
23 * @param a_node [in] The **HAPI::Node** to be parsed and used to construct the XYs2d.
24 * @param a_setupInfo [in] Information create my the Protare constructor to help in parsing.
25 * @param a_parent [in] The parent GIDI::Suite.
26 ***********************************************************************************************************/
27
29 SetupInfo &a_setupInfo, Suite *a_parent ) :
30 Function1dForm( a_construction, a_node, a_setupInfo, FormType::thermalNeutronScatteringLaw1d, a_parent ),
31 m_href( a_node.attribute_as_string( GIDI_hrefChars ) ) {
32
33}
34
35/* *********************************************************************************************************//**
36 ***********************************************************************************************************/
37
41
42/* *********************************************************************************************************//**
43 * Returns the domain minimum for the instance.
44 *
45 * @return The domain minimum for the instance.
46 ***********************************************************************************************************/
47
49
50 return( 0.0 ); // FIXME
51}
52
53/* *********************************************************************************************************//**
54 * Returns the domain maximum for the instance.
55 *
56 * @return The domain maximum for the instance.
57 ***********************************************************************************************************/
58
60
61 return( 1.0 ); // FIXME
62}
63
64/* *********************************************************************************************************//**
65 * Returns the value of the function *f(x1)* at the specified point and *a_x1*.
66 * **This is currently not implemented**.
67 *
68 * @param a_x1 [in] The value of the **x1** axis.
69 * @return The value of the function evaluated at *a_x1*.
70 ***********************************************************************************************************/
71
73
74 throw Exception( "ThermalNeutronScatteringLaw1d::evaluate: not implemented" );
75}
76
77} // End namespace Functions.
78
79} // End namespace GIDI.
#define GIDI_hrefChars
Definition GIDI.hpp:440
#define LUPI_maybeUnused
Function1dForm(std::string const &a_moniker, FormType a_type, ptwXY_interpolation a_interpolation, int a_index, double a_outerDomainValue)
Definition GIDI_form.cc:348
ThermalNeutronScatteringLaw1d(Construction::Settings const &a_construction, HAPI::Node const &a_node, SetupInfo &a_setupInfo, Suite *a_parent)
Definition GIDI.hpp:32
FormType
Definition GIDI.hpp:118
@ thermalNeutronScatteringLaw1d
Definition GIDI.hpp:125