Nektar++
library
LibUtilities
BasicUtils
DomainRange.h
Go to the documentation of this file.
1
////////////////////////////////////////////////////////////////////////////////
2
//
3
// File: DomainRange.h
4
//
5
// For more information, please see: http://www.nektar.info/
6
//
7
// The MIT License
8
//
9
// Copyright (c) 2006 Division of Applied Mathematics, Brown University (USA),
10
// Department of Aeronautics, Imperial College London (UK), and Scientific
11
// Computing and Imaging Institute, University of Utah (USA).
12
//
13
// Permission is hereby granted, free of charge, to any person obtaining a
14
// copy of this software and associated documentation files (the "Software"),
15
// to deal in the Software without restriction, including without limitation
16
// the rights to use, copy, modify, merge, publish, distribute, sublicense,
17
// and/or sell copies of the Software, and to permit persons to whom the
18
// Software is furnished to do so, subject to the following conditions:
19
//
20
// The above copyright notice and this permission notice shall be included
21
// in all copies or substantial portions of the Software.
22
//
23
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
24
// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
25
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
26
// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
27
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
28
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
29
// DEALINGS IN THE SOFTWARE.
30
//
31
// Description: Finds Min and Max X,Y,Z points of a specific domain
32
//
33
//
34
////////////////////////////////////////////////////////////////////////////////
35
36
#ifndef NEKTAR_LIB_LIBUTILITIES_BASSICUTILS_DOMAINRANGE_HPP
37
#define NEKTAR_LIB_LIBUTILITIES_BASSICUTILS_DOMAINRANGE_HPP
38
39
#include <memory>
40
41
#include <
LibUtilities/BasicConst/NektarUnivTypeDefs.hpp
>
42
#include <
LibUtilities/BasicUtils/ShapeType.hpp
>
43
44
namespace
Nektar::LibUtilities
45
{
46
47
// set restriction on domain range for post-processing.
48
struct
DomainRange
49
{
50
bool
m_doXrange
;
51
NekDouble
m_xmin
;
52
NekDouble
m_xmax
;
53
bool
m_doYrange
;
54
NekDouble
m_ymin
;
55
NekDouble
m_ymax
;
56
bool
m_doZrange
;
57
NekDouble
m_zmin
;
58
NekDouble
m_zmax
;
59
60
bool
m_checkShape
;
61
LibUtilities::ShapeType
m_shapeType
;
62
};
63
64
typedef
std::shared_ptr<DomainRange>
DomainRangeShPtr
;
65
static
DomainRangeShPtr
NullDomainRangeShPtr
;
66
67
}
// namespace Nektar::LibUtilities
68
#endif
NektarUnivTypeDefs.hpp
ShapeType.hpp
Nektar::LibUtilities
Definition:
GitRevision.h:54
Nektar::LibUtilities::DomainRangeShPtr
std::shared_ptr< DomainRange > DomainRangeShPtr
Definition:
DomainRange.h:64
Nektar::LibUtilities::ShapeType
ShapeType
Definition:
ShapeType.hpp:52
Nektar::LibUtilities::NullDomainRangeShPtr
static DomainRangeShPtr NullDomainRangeShPtr
Definition:
DomainRange.h:65
Nektar::NekDouble
double NekDouble
Definition:
NektarUnivTypeDefs.hpp:43
Nektar::LibUtilities::DomainRange
Definition:
DomainRange.h:49
Nektar::LibUtilities::DomainRange::m_zmin
NekDouble m_zmin
Definition:
DomainRange.h:57
Nektar::LibUtilities::DomainRange::m_doYrange
bool m_doYrange
Definition:
DomainRange.h:53
Nektar::LibUtilities::DomainRange::m_xmin
NekDouble m_xmin
Definition:
DomainRange.h:51
Nektar::LibUtilities::DomainRange::m_ymax
NekDouble m_ymax
Definition:
DomainRange.h:55
Nektar::LibUtilities::DomainRange::m_doZrange
bool m_doZrange
Definition:
DomainRange.h:56
Nektar::LibUtilities::DomainRange::m_doXrange
bool m_doXrange
Definition:
DomainRange.h:50
Nektar::LibUtilities::DomainRange::m_xmax
NekDouble m_xmax
Definition:
DomainRange.h:52
Nektar::LibUtilities::DomainRange::m_ymin
NekDouble m_ymin
Definition:
DomainRange.h:54
Nektar::LibUtilities::DomainRange::m_shapeType
LibUtilities::ShapeType m_shapeType
Definition:
DomainRange.h:61
Nektar::LibUtilities::DomainRange::m_checkShape
bool m_checkShape
Definition:
DomainRange.h:60
Nektar::LibUtilities::DomainRange::m_zmax
NekDouble m_zmax
Definition:
DomainRange.h:58
Generated on Wed Oct 30 2024 16:07:28 for Nektar++ by
1.9.4