Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
GIDI_isotropic2d.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#include <HAPI.hpp>
12
13namespace GIDI {
14
15namespace Functions {
16
17/*! \class Isotropic2d
18 * Class for the GNDS <**isotropic2d**> node.
19 */
20
21/* *********************************************************************************************************//**
22 *
23 * @param a_construction [in] Used to pass user options to the constructor.
24 * @param a_node [in] The **HAPI::Node** to be parsed and used to construct the XYs2d.
25 * @param a_setupInfo [in] Information create my the Protare constructor to help in parsing.
26 * @param a_parent [in] The parent GIDI::Suite.
27 ***********************************************************************************************************/
28
29Isotropic2d::Isotropic2d( Construction::Settings const &a_construction, HAPI::Node const &a_node, SetupInfo &a_setupInfo, Suite *a_parent ) :
30 Function2dForm( a_construction, a_node, a_setupInfo, FormType::isotropic2d, a_parent ) {
31
32}
33
34/* *********************************************************************************************************//**
35 ***********************************************************************************************************/
36
40
41/* *********************************************************************************************************//**
42 * Returns the domain minimum for the instance.
43 *
44 * @return The domain minimum for the instance.
45 ***********************************************************************************************************/
46
47double Isotropic2d::domainMin( ) const {
48
49// BRB FIXME.
50 return( 0. );
51}
52
53/* *********************************************************************************************************//**
54 * Returns the domain maximum for the instance.
55 *
56 * @return The domain maximum for the instance.
57 ***********************************************************************************************************/
58
59double Isotropic2d::domainMax( ) const {
60
61// BRB FIXME.
62 return( 0. );
63}
64
65/* *********************************************************************************************************//**
66 * Returns the value 0.5.
67 *
68 * @param a_x2 [in] The is ignored.
69 * @param a_x1 [in] The is ignored.
70 * @return The value 0.5.
71 ***********************************************************************************************************/
72
73double Isotropic2d::evaluate( LUPI_maybeUnused double a_x2, LUPI_maybeUnused double a_x1 ) const {
74
75 return( 0.5 );
76}
77
78} // End namespace Functions.
79
80} // End namespace GIDI.
#define LUPI_maybeUnused
Function2dForm(std::string const &a_moniker, FormType a_type, ptwXY_interpolation a_interpolation, int a_index, double a_outerDomainValue)
Definition GIDI_form.cc:476
double evaluate(double a_x2, double a_x1) const
Isotropic2d(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