Nektar++
Public Member Functions | Public Attributes | Private Attributes | List of all members
Nektar::LibUtilities::PtsField Class Reference

#include <PtsField.h>

Public Member Functions

 PtsField (const int dim, const Array< OneD, Array< OneD, NekDouble > > &pts)
 
 PtsField (const int dim, const std::vector< std::string > fieldnames, const Array< OneD, Array< OneD, NekDouble > > &pts, std::map< PtsInfo, int > ptsInfo=NullPtsInfoMap)
 
 PtsField (const int dim, const std::vector< std::string > fieldnames, const Array< OneD, Array< OneD, NekDouble > > &pts, const Array< OneD, Array< OneD, float > > &weights, const Array< OneD, Array< OneD, unsigned int > > &neighInds)
 
void GetConnectivity (std::vector< Array< OneD, int > > &conn) const
 Set the connectivity data for ePtsTetBlock and ePtsTriBlock. More...
 
void SetConnectivity (const std::vector< Array< OneD, int > > &conn)
 Get the connectivity data for ePtsTetBlock and ePtsTriBlock. More...
 
void SetDim (const int ptsDim)
 
size_t GetDim () const
 
size_t GetNFields () const
 
std::vector< std::string > GetFieldNames () const
 
std::string GetFieldName (const int i) const
 
void SetFieldNames (const std::vector< std::string > fieldNames)
 
void AddField (const Array< OneD, NekDouble > &pts, const std::string fieldName)
 
void RemoveField (const std::string fieldName)
 
void AddPoints (const Array< OneD, const Array< OneD, NekDouble > > &pts)
 
size_t GetNpoints () const
 
NekDouble GetPointVal (const size_t fieldInd, const size_t ptInd) const
 
void SetPointVal (const size_t fieldInd, const size_t ptInd, const NekDouble val)
 
void GetPts (Array< OneD, Array< OneD, NekDouble > > &pts) const
 
Array< OneD, NekDoubleGetPts (const int fieldInd) const
 
void SetPts (Array< OneD, Array< OneD, NekDouble > > &pts)
 
std::vector< size_t > GetPointsPerEdge () const
 
size_t GetPointsPerEdge (const size_t i) const
 
void SetPointsPerEdge (const std::vector< size_t > nPtsPerEdge)
 Set the number of points per edge. More...
 
PtsType GetPtsType () const
 
void SetPtsType (const PtsType type)
 
std::vector< NekDoubleGetBoxSize () const
 
void SetBoxSize (const std::vector< NekDouble > boxsize)
 

Public Attributes

std::map< PtsInfo, int > m_ptsInfo
 map for information about points that can be added through PtsInfo enum More...
 

Private Attributes

size_t m_dim
 Dimension of the pts field. More...
 
std::vector< std::string > m_fieldNames
 Names of the field variables. More...
 
Array< OneD, Array< OneD, NekDouble > > m_pts
 Point data. For a n-dimensional field, the first m_dim fields are the points spatial coordinates. Structure: m_pts[fieldIdx][ptIdx]. More...
 
std::vector< size_t > m_nPtsPerEdge
 Number of points per edge. Empty if the point data has no specific shape (ePtsLine) or is a block (ePtsTetBlock, ePtsTriBlock), size=1 for ePtsLine and 2 for a ePtsPlane. More...
 
std::vector< Array< OneD, int > > m_ptsConn
 Connectivity data needed for ePtsTetBlock and ePtsTriBlock. For n Blocks with m elements each, m_ptsConn is a vector of n arrays with 3*m (ePtsTriBlock) or 4*m (ePtsTetBlock) entries. More...
 
PtsType m_ptsType
 Type of the PtsField. More...
 
std::vector< NekDoublem_boxSize
 vector of box size xmin,xmax,ymin,ymax,zmin,zmax More...
 

Detailed Description

Definition at line 72 of file PtsField.h.

Constructor & Destructor Documentation

◆ PtsField() [1/3]

Nektar::LibUtilities::PtsField::PtsField ( const int  dim,
const Array< OneD, Array< OneD, NekDouble > > &  pts 
)

Definition at line 45 of file PtsField.cpp.

References GetNFields(), and m_fieldNames.

47  : m_dim(dim), m_pts(pts), m_ptsType(ePtsFile)
48 {
49  for (int i = 0; i < GetNFields(); ++i)
50  {
51  m_fieldNames.push_back("NA");
52  }
53 }
size_t m_dim
Dimension of the pts field.
Definition: PtsField.h:158
Array< OneD, Array< OneD, NekDouble > > m_pts
Point data. For a n-dimensional field, the first m_dim fields are the points spatial coordinates...
Definition: PtsField.h:163
PtsType m_ptsType
Type of the PtsField.
Definition: PtsField.h:173
std::vector< std::string > m_fieldNames
Names of the field variables.
Definition: PtsField.h:160

◆ PtsField() [2/3]

Nektar::LibUtilities::PtsField::PtsField ( const int  dim,
const std::vector< std::string >  fieldnames,
const Array< OneD, Array< OneD, NekDouble > > &  pts,
std::map< PtsInfo, int >  ptsInfo = NullPtsInfoMap 
)
inline

Definition at line 78 of file PtsField.h.

83  : m_ptsInfo(ptsInfo), m_dim(dim), m_fieldNames(fieldnames), m_pts(pts),
size_t m_dim
Dimension of the pts field.
Definition: PtsField.h:158
Array< OneD, Array< OneD, NekDouble > > m_pts
Point data. For a n-dimensional field, the first m_dim fields are the points spatial coordinates...
Definition: PtsField.h:163
PtsType m_ptsType
Type of the PtsField.
Definition: PtsField.h:173
std::vector< std::string > m_fieldNames
Names of the field variables.
Definition: PtsField.h:160
std::map< PtsInfo, int > m_ptsInfo
map for information about points that can be added through PtsInfo enum
Definition: PtsField.h:154

◆ PtsField() [3/3]

Nektar::LibUtilities::PtsField::PtsField ( const int  dim,
const std::vector< std::string >  fieldnames,
const Array< OneD, Array< OneD, NekDouble > > &  pts,
const Array< OneD, Array< OneD, float > > &  weights,
const Array< OneD, Array< OneD, unsigned int > > &  neighInds 
)
inline

Definition at line 86 of file PtsField.h.

References AddField(), AddPoints(), GetBoxSize(), GetConnectivity(), GetDim(), GetFieldName(), GetFieldNames(), GetNFields(), GetNpoints(), GetPointsPerEdge(), GetPointVal(), GetPts(), GetPtsType(), LIB_UTILITIES_EXPORT, RemoveField(), SetBoxSize(), SetConnectivity(), SetDim(), SetFieldNames(), SetPointsPerEdge(), SetPointVal(), SetPts(), and SetPtsType().

92  : m_ptsInfo(NullPtsInfoMap), m_dim(dim), m_fieldNames(fieldnames),
93  m_pts(pts), m_ptsType(ePtsFile) { boost::ignore_unused(weights, neighInds); };
static std::map< PtsInfo, int > NullPtsInfoMap
Definition: PtsField.h:70
size_t m_dim
Dimension of the pts field.
Definition: PtsField.h:158
Array< OneD, Array< OneD, NekDouble > > m_pts
Point data. For a n-dimensional field, the first m_dim fields are the points spatial coordinates...
Definition: PtsField.h:163
PtsType m_ptsType
Type of the PtsField.
Definition: PtsField.h:173
std::vector< std::string > m_fieldNames
Names of the field variables.
Definition: PtsField.h:160
std::map< PtsInfo, int > m_ptsInfo
map for information about points that can be added through PtsInfo enum
Definition: PtsField.h:154

Member Function Documentation

◆ AddField()

void Nektar::LibUtilities::PtsField::AddField ( const Array< OneD, NekDouble > &  pts,
const std::string  fieldName 
)

Definition at line 119 of file PtsField.cpp.

References ASSERTL1, m_fieldNames, and m_pts.

Referenced by PtsField().

121 {
122  size_t nTotvars = m_pts.num_elements();
123 
124  ASSERTL1(pts.num_elements() == m_pts[0].num_elements(),
125  "Field size mismatch");
126 
127  // redirect existing pts
128  Array<OneD, Array<OneD, NekDouble> > newpts(nTotvars + 1);
129  for (size_t i = 0; i < nTotvars; ++i)
130  {
131  newpts[i] = m_pts[i];
132  }
133  newpts[nTotvars] = pts;
134 
135  m_pts = newpts;
136 
137  m_fieldNames.push_back(fieldName);
138 }
Array< OneD, Array< OneD, NekDouble > > m_pts
Point data. For a n-dimensional field, the first m_dim fields are the points spatial coordinates...
Definition: PtsField.h:163
std::vector< std::string > m_fieldNames
Names of the field variables.
Definition: PtsField.h:160
#define ASSERTL1(condition, msg)
Assert Level 1 – Debugging which is used whether in FULLDEBUG or DEBUG compilation mode...
Definition: ErrorUtil.hpp:250

◆ AddPoints()

void Nektar::LibUtilities::PtsField::AddPoints ( const Array< OneD, const Array< OneD, NekDouble > > &  pts)

Definition at line 160 of file PtsField.cpp.

References ASSERTL1, and m_pts.

Referenced by PtsField().

161 {
162  ASSERTL1(pts.num_elements() == m_pts.num_elements(),
163  "number of variables mismatch");
164 
165  // TODO: dont copy, dont iterate
166  for (size_t i = 0; i < m_pts.num_elements(); ++i)
167  {
168  Array<OneD, NekDouble> tmp(m_pts[i].num_elements() + pts[i].num_elements());
169  for (size_t j = 0; j < m_pts[i].num_elements(); ++j)
170  {
171  tmp[j] = m_pts[i][j];
172  }
173  for (size_t j = 0; j < pts[i].num_elements(); ++j)
174  {
175  tmp[m_pts[i].num_elements() + j] = pts[i][j];
176  }
177  m_pts[i] = tmp;
178  }
179 }
Array< OneD, Array< OneD, NekDouble > > m_pts
Point data. For a n-dimensional field, the first m_dim fields are the points spatial coordinates...
Definition: PtsField.h:163
#define ASSERTL1(condition, msg)
Assert Level 1 – Debugging which is used whether in FULLDEBUG or DEBUG compilation mode...
Definition: ErrorUtil.hpp:250

◆ GetBoxSize()

vector< NekDouble > Nektar::LibUtilities::PtsField::GetBoxSize ( ) const

Definition at line 252 of file PtsField.cpp.

References m_boxSize.

Referenced by PtsField().

253 {
254  return m_boxSize;
255 }
std::vector< NekDouble > m_boxSize
vector of box size xmin,xmax,ymin,ymax,zmin,zmax
Definition: PtsField.h:176

◆ GetConnectivity()

void Nektar::LibUtilities::PtsField::GetConnectivity ( std::vector< Array< OneD, int > > &  conn) const

Set the connectivity data for ePtsTetBlock and ePtsTriBlock.

Parameters
connConnectivity data Connectivity data needed for ePtsTetBlock and ePtsTriBlock. For n Blocks with m elements each, m_ptsConn is a vector of n arrays with 3*m (ePtsTriBlock) or 4*m (ePtsTetBlock) entries.

Definition at line 63 of file PtsField.cpp.

References m_ptsConn.

Referenced by PtsField().

64 {
65  conn = m_ptsConn;
66 }
std::vector< Array< OneD, int > > m_ptsConn
Connectivity data needed for ePtsTetBlock and ePtsTriBlock. For n Blocks with m elements each...
Definition: PtsField.h:171

◆ GetDim()

size_t Nektar::LibUtilities::PtsField::GetDim ( ) const

Definition at line 90 of file PtsField.cpp.

References m_dim.

Referenced by PtsField(), and RemoveField().

91 {
92  return m_dim;
93 }
size_t m_dim
Dimension of the pts field.
Definition: PtsField.h:158

◆ GetFieldName()

std::string Nektar::LibUtilities::PtsField::GetFieldName ( const int  i) const

Definition at line 105 of file PtsField.cpp.

References m_fieldNames.

Referenced by PtsField().

106 {
107  return m_fieldNames[i];
108 }
std::vector< std::string > m_fieldNames
Names of the field variables.
Definition: PtsField.h:160

◆ GetFieldNames()

vector< std::string > Nektar::LibUtilities::PtsField::GetFieldNames ( ) const

Definition at line 100 of file PtsField.cpp.

References m_fieldNames.

Referenced by PtsField().

101 {
102  return m_fieldNames;
103 }
std::vector< std::string > m_fieldNames
Names of the field variables.
Definition: PtsField.h:160

◆ GetNFields()

size_t Nektar::LibUtilities::PtsField::GetNFields ( ) const

Definition at line 95 of file PtsField.cpp.

References m_dim, and m_pts.

Referenced by PtsField().

96 {
97  return m_pts.num_elements() - m_dim;
98 }
size_t m_dim
Dimension of the pts field.
Definition: PtsField.h:158
Array< OneD, Array< OneD, NekDouble > > m_pts
Point data. For a n-dimensional field, the first m_dim fields are the points spatial coordinates...
Definition: PtsField.h:163

◆ GetNpoints()

size_t Nektar::LibUtilities::PtsField::GetNpoints ( ) const

Definition at line 181 of file PtsField.cpp.

References m_pts.

Referenced by PtsField().

182 {
183  return m_pts[0].num_elements();
184 }
Array< OneD, Array< OneD, NekDouble > > m_pts
Point data. For a n-dimensional field, the first m_dim fields are the points spatial coordinates...
Definition: PtsField.h:163

◆ GetPointsPerEdge() [1/2]

vector< size_t > Nektar::LibUtilities::PtsField::GetPointsPerEdge ( ) const

Definition at line 216 of file PtsField.cpp.

References m_nPtsPerEdge.

Referenced by PtsField().

217 {
218  return m_nPtsPerEdge;
219 }
std::vector< size_t > m_nPtsPerEdge
Number of points per edge. Empty if the point data has no specific shape (ePtsLine) or is a block (eP...
Definition: PtsField.h:167

◆ GetPointsPerEdge() [2/2]

size_t Nektar::LibUtilities::PtsField::GetPointsPerEdge ( const size_t  i) const

Definition at line 221 of file PtsField.cpp.

References m_nPtsPerEdge.

222 {
223  return m_nPtsPerEdge[i];
224 }
std::vector< size_t > m_nPtsPerEdge
Number of points per edge. Empty if the point data has no specific shape (ePtsLine) or is a block (eP...
Definition: PtsField.h:167

◆ GetPointVal()

NekDouble Nektar::LibUtilities::PtsField::GetPointVal ( const size_t  fieldInd,
const size_t  ptInd 
) const

Definition at line 186 of file PtsField.cpp.

References m_pts.

Referenced by PtsField().

187 {
188  return m_pts[fieldInd][ptInd];
189 }
Array< OneD, Array< OneD, NekDouble > > m_pts
Point data. For a n-dimensional field, the first m_dim fields are the points spatial coordinates...
Definition: PtsField.h:163

◆ GetPts() [1/2]

void Nektar::LibUtilities::PtsField::GetPts ( Array< OneD, Array< OneD, NekDouble > > &  pts) const

Definition at line 198 of file PtsField.cpp.

References m_pts.

Referenced by PtsField().

199 {
200  pts = m_pts;
201 }
Array< OneD, Array< OneD, NekDouble > > m_pts
Point data. For a n-dimensional field, the first m_dim fields are the points spatial coordinates...
Definition: PtsField.h:163

◆ GetPts() [2/2]

Array< OneD, NekDouble > Nektar::LibUtilities::PtsField::GetPts ( const int  fieldInd) const

Definition at line 203 of file PtsField.cpp.

References m_pts.

204 {
205  return m_pts[fieldInd];
206 }
Array< OneD, Array< OneD, NekDouble > > m_pts
Point data. For a n-dimensional field, the first m_dim fields are the points spatial coordinates...
Definition: PtsField.h:163

◆ GetPtsType()

PtsType Nektar::LibUtilities::PtsField::GetPtsType ( ) const

Definition at line 242 of file PtsField.cpp.

References m_ptsType.

Referenced by PtsField().

243 {
244  return m_ptsType;
245 }
PtsType m_ptsType
Type of the PtsField.
Definition: PtsField.h:173

◆ RemoveField()

void Nektar::LibUtilities::PtsField::RemoveField ( const std::string  fieldName)

Definition at line 141 of file PtsField.cpp.

References GetDim(), m_fieldNames, and m_pts.

Referenced by PtsField().

142 {
143  size_t nTotvars = m_pts.num_elements();
144 
145  // redirect existing pts
146  Array<OneD, Array<OneD, NekDouble> > newpts(nTotvars - 1);
147  for (size_t i = 0, j = 0; i < nTotvars; ++i)
148  {
149  if (i < GetDim() || m_fieldNames[i - GetDim()] != fieldName)
150  {
151  newpts[j++] = m_pts[i];
152  }
153  }
154 
155  m_pts = newpts;
156 
157  m_fieldNames.erase(remove(m_fieldNames.begin(), m_fieldNames.end(), fieldName), m_fieldNames.end());
158 }
Array< OneD, Array< OneD, NekDouble > > m_pts
Point data. For a n-dimensional field, the first m_dim fields are the points spatial coordinates...
Definition: PtsField.h:163
std::vector< std::string > m_fieldNames
Names of the field variables.
Definition: PtsField.h:160

◆ SetBoxSize()

void Nektar::LibUtilities::PtsField::SetBoxSize ( const std::vector< NekDouble boxsize)

Definition at line 257 of file PtsField.cpp.

References m_boxSize.

Referenced by PtsField().

258 {
259  m_boxSize = boxSize;
260 }
std::vector< NekDouble > m_boxSize
vector of box size xmin,xmax,ymin,ymax,zmin,zmax
Definition: PtsField.h:176

◆ SetConnectivity()

void Nektar::LibUtilities::PtsField::SetConnectivity ( const std::vector< Array< OneD, int > > &  conn)

Get the connectivity data for ePtsTetBlock and ePtsTriBlock.

Parameters
connConnectivity data Connectivity data needed for ePtsTetBlock and ePtsTriBlock. For n Blocks with m elements each, m_ptsConn is a vector of n arrays with 3*m (ePtsTriBlock) or 4*m (ePtsTetBlock) entries.

Definition at line 76 of file PtsField.cpp.

References ASSERTL1, Nektar::LibUtilities::ePtsSegBlock, Nektar::LibUtilities::ePtsTetBlock, Nektar::LibUtilities::ePtsTriBlock, m_ptsConn, and m_ptsType.

Referenced by PtsField().

77 {
80  "ptsType must be set before connectivity");
81 
82  m_ptsConn = conn;
83 }
std::vector< Array< OneD, int > > m_ptsConn
Connectivity data needed for ePtsTetBlock and ePtsTriBlock. For n Blocks with m elements each...
Definition: PtsField.h:171
PtsType m_ptsType
Type of the PtsField.
Definition: PtsField.h:173
#define ASSERTL1(condition, msg)
Assert Level 1 – Debugging which is used whether in FULLDEBUG or DEBUG compilation mode...
Definition: ErrorUtil.hpp:250

◆ SetDim()

void Nektar::LibUtilities::PtsField::SetDim ( const int  ptsDim)

Definition at line 85 of file PtsField.cpp.

References m_dim.

Referenced by PtsField().

86 {
87  m_dim = ptsDim;
88 }
size_t m_dim
Dimension of the pts field.
Definition: PtsField.h:158

◆ SetFieldNames()

void Nektar::LibUtilities::PtsField::SetFieldNames ( const std::vector< std::string >  fieldNames)

Definition at line 110 of file PtsField.cpp.

References ASSERTL0, m_dim, m_fieldNames, and m_pts.

Referenced by PtsField().

111 {
112  ASSERTL0(fieldNames.size() == m_pts.num_elements() - m_dim,
113  "Number of given fieldNames does not match the number of stored "
114  "fields");
115 
116  m_fieldNames = fieldNames;
117 }
#define ASSERTL0(condition, msg)
Definition: ErrorUtil.hpp:216
size_t m_dim
Dimension of the pts field.
Definition: PtsField.h:158
Array< OneD, Array< OneD, NekDouble > > m_pts
Point data. For a n-dimensional field, the first m_dim fields are the points spatial coordinates...
Definition: PtsField.h:163
std::vector< std::string > m_fieldNames
Names of the field variables.
Definition: PtsField.h:160

◆ SetPointsPerEdge()

void Nektar::LibUtilities::PtsField::SetPointsPerEdge ( const std::vector< size_t >  nPtsPerEdge)

Set the number of points per edge.

Parameters
nPtsPerEdgeNumber of points per edge. Empty if the point data has no specific shape (ePtsLine) or is a block (ePtsTetBlock, ePtsTriBlock), size=1 for ePtsLine, 2 for ePtsPlane and 3 for ePtsBox

Definition at line 233 of file PtsField.cpp.

References ASSERTL0, Nektar::LibUtilities::ePtsBox, Nektar::LibUtilities::ePtsLine, Nektar::LibUtilities::ePtsPlane, m_nPtsPerEdge, and m_ptsType.

Referenced by PtsField().

234 {
235  ASSERTL0(
237  "SetPointsPerEdge only supported for ePtsLine, ePtsPlane and ePtsBox.");
238 
239  m_nPtsPerEdge = nPtsPerEdge;
240 }
#define ASSERTL0(condition, msg)
Definition: ErrorUtil.hpp:216
PtsType m_ptsType
Type of the PtsField.
Definition: PtsField.h:173
std::vector< size_t > m_nPtsPerEdge
Number of points per edge. Empty if the point data has no specific shape (ePtsLine) or is a block (eP...
Definition: PtsField.h:167

◆ SetPointVal()

void Nektar::LibUtilities::PtsField::SetPointVal ( const size_t  fieldInd,
const size_t  ptInd,
const NekDouble  val 
)

Definition at line 191 of file PtsField.cpp.

References m_pts.

Referenced by PtsField().

194 {
195  m_pts[fieldInd][ptInd] = val;
196 }
Array< OneD, Array< OneD, NekDouble > > m_pts
Point data. For a n-dimensional field, the first m_dim fields are the points spatial coordinates...
Definition: PtsField.h:163

◆ SetPts()

void Nektar::LibUtilities::PtsField::SetPts ( Array< OneD, Array< OneD, NekDouble > > &  pts)

Definition at line 208 of file PtsField.cpp.

References ASSERTL1, and m_pts.

Referenced by PtsField().

209 {
210  ASSERTL1(pts.num_elements() == m_pts.num_elements(),
211  "Pts field count mismatch");
212 
213  m_pts = pts;
214 }
Array< OneD, Array< OneD, NekDouble > > m_pts
Point data. For a n-dimensional field, the first m_dim fields are the points spatial coordinates...
Definition: PtsField.h:163
#define ASSERTL1(condition, msg)
Assert Level 1 – Debugging which is used whether in FULLDEBUG or DEBUG compilation mode...
Definition: ErrorUtil.hpp:250

◆ SetPtsType()

void Nektar::LibUtilities::PtsField::SetPtsType ( const PtsType  type)

Definition at line 247 of file PtsField.cpp.

References m_ptsType.

Referenced by PtsField().

248 {
249  m_ptsType = type;
250 }
PtsType m_ptsType
Type of the PtsField.
Definition: PtsField.h:173

Member Data Documentation

◆ m_boxSize

std::vector<NekDouble> Nektar::LibUtilities::PtsField::m_boxSize
private

vector of box size xmin,xmax,ymin,ymax,zmin,zmax

Definition at line 176 of file PtsField.h.

Referenced by GetBoxSize(), and SetBoxSize().

◆ m_dim

size_t Nektar::LibUtilities::PtsField::m_dim
private

Dimension of the pts field.

Definition at line 158 of file PtsField.h.

Referenced by GetDim(), GetNFields(), SetDim(), and SetFieldNames().

◆ m_fieldNames

std::vector<std::string> Nektar::LibUtilities::PtsField::m_fieldNames
private

Names of the field variables.

Definition at line 160 of file PtsField.h.

Referenced by AddField(), GetFieldName(), GetFieldNames(), PtsField(), RemoveField(), and SetFieldNames().

◆ m_nPtsPerEdge

std::vector<size_t> Nektar::LibUtilities::PtsField::m_nPtsPerEdge
private

Number of points per edge. Empty if the point data has no specific shape (ePtsLine) or is a block (ePtsTetBlock, ePtsTriBlock), size=1 for ePtsLine and 2 for a ePtsPlane.

Definition at line 167 of file PtsField.h.

Referenced by GetPointsPerEdge(), and SetPointsPerEdge().

◆ m_pts

Array<OneD, Array<OneD, NekDouble> > Nektar::LibUtilities::PtsField::m_pts
private

Point data. For a n-dimensional field, the first m_dim fields are the points spatial coordinates. Structure: m_pts[fieldIdx][ptIdx].

Definition at line 163 of file PtsField.h.

Referenced by AddField(), AddPoints(), GetNFields(), GetNpoints(), GetPointVal(), GetPts(), RemoveField(), SetFieldNames(), SetPointVal(), and SetPts().

◆ m_ptsConn

std::vector<Array<OneD, int> > Nektar::LibUtilities::PtsField::m_ptsConn
private

Connectivity data needed for ePtsTetBlock and ePtsTriBlock. For n Blocks with m elements each, m_ptsConn is a vector of n arrays with 3*m (ePtsTriBlock) or 4*m (ePtsTetBlock) entries.

Definition at line 171 of file PtsField.h.

Referenced by GetConnectivity(), and SetConnectivity().

◆ m_ptsInfo

std::map<PtsInfo, int> Nektar::LibUtilities::PtsField::m_ptsInfo

map for information about points that can be added through PtsInfo enum

Definition at line 154 of file PtsField.h.

◆ m_ptsType

PtsType Nektar::LibUtilities::PtsField::m_ptsType
private

Type of the PtsField.

Definition at line 173 of file PtsField.h.

Referenced by GetPtsType(), SetConnectivity(), SetPointsPerEdge(), and SetPtsType().