Nektar++
Loading...
Searching...
No Matches
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
#include <set>
44
45
namespace
Nektar::LibUtilities
46
{
47
48
// set restriction on domain range for post-processing.
49
struct
DomainRange
50
{
51
bool
m_doXrange
=
false
;
52
NekDouble
m_xmin
;
53
NekDouble
m_xmax
;
54
bool
m_doYrange
=
false
;
55
NekDouble
m_ymin
;
56
NekDouble
m_ymax
;
57
bool
m_doZrange
=
false
;
58
NekDouble
m_zmin
;
59
NekDouble
m_zmax
;
60
61
bool
m_checkShape
=
false
;
62
LibUtilities::ShapeType
m_shapeType
;
63
64
unsigned
m_compElmts
= 0;
65
std::set<unsigned>
m_comps
;
66
std::set<int>
m_traceIDs
;
67
};
68
69
typedef
std::shared_ptr<DomainRange>
DomainRangeShPtr
;
70
static
DomainRangeShPtr
NullDomainRangeShPtr
;
71
72
}
// namespace Nektar::LibUtilities
73
#endif
NektarUnivTypeDefs.hpp
ShapeType.hpp
Nektar::LibUtilities
Definition
GitRevision.h:54
Nektar::LibUtilities::DomainRangeShPtr
std::shared_ptr< DomainRange > DomainRangeShPtr
Definition
DomainRange.h:69
Nektar::LibUtilities::ShapeType
ShapeType
Definition
ShapeType.hpp:52
Nektar::LibUtilities::NullDomainRangeShPtr
static DomainRangeShPtr NullDomainRangeShPtr
Definition
DomainRange.h:70
Nektar::NekDouble
double NekDouble
Definition
NektarUnivTypeDefs.hpp:43
Nektar::LibUtilities::DomainRange
Definition
DomainRange.h:50
Nektar::LibUtilities::DomainRange::m_zmin
NekDouble m_zmin
Definition
DomainRange.h:58
Nektar::LibUtilities::DomainRange::m_doYrange
bool m_doYrange
Definition
DomainRange.h:54
Nektar::LibUtilities::DomainRange::m_xmin
NekDouble m_xmin
Definition
DomainRange.h:52
Nektar::LibUtilities::DomainRange::m_ymax
NekDouble m_ymax
Definition
DomainRange.h:56
Nektar::LibUtilities::DomainRange::m_doZrange
bool m_doZrange
Definition
DomainRange.h:57
Nektar::LibUtilities::DomainRange::m_doXrange
bool m_doXrange
Definition
DomainRange.h:51
Nektar::LibUtilities::DomainRange::m_xmax
NekDouble m_xmax
Definition
DomainRange.h:53
Nektar::LibUtilities::DomainRange::m_comps
std::set< unsigned > m_comps
Definition
DomainRange.h:65
Nektar::LibUtilities::DomainRange::m_compElmts
unsigned m_compElmts
Definition
DomainRange.h:64
Nektar::LibUtilities::DomainRange::m_ymin
NekDouble m_ymin
Definition
DomainRange.h:55
Nektar::LibUtilities::DomainRange::m_traceIDs
std::set< int > m_traceIDs
Definition
DomainRange.h:66
Nektar::LibUtilities::DomainRange::m_shapeType
LibUtilities::ShapeType m_shapeType
Definition
DomainRange.h:62
Nektar::LibUtilities::DomainRange::m_checkShape
bool m_checkShape
Definition
DomainRange.h:61
Nektar::LibUtilities::DomainRange::m_zmax
NekDouble m_zmax
Definition
DomainRange.h:59
Generated on Sun Nov 9 2025 20:16:57 for Nektar++ by
1.9.8