Nektar++
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Member Functions | Public Attributes | Private Attributes | List of all members
Nektar::FieldUtils::Field Struct Reference

#include <Field.hpp>

Collaboration diagram for Nektar::FieldUtils::Field:
Collaboration graph
[legend]

Public Member Functions

FIELD_UTILS_EXPORT Field ()
 
FIELD_UTILS_EXPORT ~Field ()
 
FIELD_UTILS_EXPORT
MultiRegions::ExpListSharedPtr 
SetUpFirstExpList (int NumHomogeneousDir, bool fldfilegiven=false)
 
FIELD_UTILS_EXPORT
LibUtilities::FieldIOSharedPtr 
FieldIOForFile (string filename)
 Construct a FieldIO object for the file filename. More...
 
FIELD_UTILS_EXPORT
MultiRegions::ExpListSharedPtr 
AppendExpList (int NumHomogeneousDir, string var="DefaultVar", bool NewField=false)
 

Public Attributes

bool m_verbose
 
vector
< LibUtilities::FieldDefinitionsSharedPtr
m_fielddef
 
vector< vector< double > > m_data
 
vector
< MultiRegions::ExpListSharedPtr
m_exp
 
bool m_declareExpansionAsContField
 
bool m_declareExpansionAsDisContField
 
bool m_requireBoundaryExpansion
 
bool m_useFFT
 
LibUtilities::CommSharedPtr m_comm
 
LibUtilities::SessionReaderSharedPtr m_session
 
SpatialDomains::MeshGraphSharedPtr m_graph
 
LibUtilities::PtsIOSharedPtr m_ptsIO
 
map< string, vector< string > > m_inputfiles
 
bool m_writeBndFld
 
vector< unsigned int > m_bndRegionsToWrite
 
bool m_fldToBnd
 
bool m_addNormals
 
bool m_setUpEquiSpacedFields
 
LibUtilities::PtsFieldSharedPtr m_fieldPts
 
MultiRegions::AssemblyMapCGSharedPtr m_locToGlobalMap
 
LibUtilities::FieldMetaDataMap m_fieldMetaDataMap
 

Private Attributes

map< string,
LibUtilities::FieldIOSharedPtr
m_fld
 Map to store FieldIO instances. Key is the reader type, value is the FieldIO object. More...
 

Detailed Description

Definition at line 71 of file Field.hpp.

Constructor & Destructor Documentation

FIELD_UTILS_EXPORT Nektar::FieldUtils::Field::Field ( )
inline

Definition at line 73 of file Field.hpp.

77  m_fldToBnd(false), m_addNormals(false),
79  {
80  }
bool m_declareExpansionAsDisContField
Definition: Field.hpp:95
bool m_declareExpansionAsContField
Definition: Field.hpp:94
static PtsFieldSharedPtr NullPtsField
Definition: PtsField.h:179
LibUtilities::PtsFieldSharedPtr m_fieldPts
Definition: Field.hpp:114
FIELD_UTILS_EXPORT Nektar::FieldUtils::Field::~Field ( )
inline

Definition at line 82 of file Field.hpp.

83  {
84  if (m_comm)
85  {
86  m_comm->Finalise();
87  }
88  }
LibUtilities::CommSharedPtr m_comm
Definition: Field.hpp:101

Member Function Documentation

FIELD_UTILS_EXPORT MultiRegions::ExpListSharedPtr Nektar::FieldUtils::Field::AppendExpList ( int  NumHomogeneousDir,
string  var = "DefaultVar",
bool  NewField = false 
)
inline

Definition at line 469 of file Field.hpp.

References ASSERTL0.

471  {
472  if (var.compare("DefaultVar") == 0 && m_requireBoundaryExpansion)
473  {
474  if (m_session->GetVariables().size())
475  {
476  var = m_session->GetVariables()[0];
477  }
478  }
480  switch (m_graph->GetMeshDimension())
481  {
482  case 1:
483  {
484  if (NumHomogeneousDir == 1)
485  {
488  "ContField2DHomogeneous1D or "
489  "DisContField2DHomogenenous1D has not been "
490  "implemented");
491 
493  boost::dynamic_pointer_cast<
494  MultiRegions::ExpList2DHomogeneous1D>(m_exp[0]);
495 
497  AllocateSharedPtr(*tmp2);
498  }
499  else if (NumHomogeneousDir == 2)
500  {
502  {
504  boost::dynamic_pointer_cast<
505  MultiRegions::ContField3DHomogeneous2D>(
506  m_exp[0]);
507 
508  tmp = MemoryManager<
509  MultiRegions::ContField3DHomogeneous2D>::
510  AllocateSharedPtr(*tmp2);
511  }
513  {
515  tmp2 = boost::dynamic_pointer_cast<
516  MultiRegions::DisContField3DHomogeneous2D>(
517  m_exp[0]);
518 
519  tmp = MemoryManager<
520  MultiRegions::DisContField3DHomogeneous2D>::
521  AllocateSharedPtr(*tmp2);
522  }
523  else
524  {
526  boost::dynamic_pointer_cast<
527  MultiRegions::ExpList3DHomogeneous2D>(m_exp[0]);
528 
529  tmp = MemoryManager<
530  MultiRegions::ExpList3DHomogeneous2D>::
531  AllocateSharedPtr(*tmp2);
532  }
533  }
534  else
535  {
537  {
539  boost::dynamic_pointer_cast<
540  MultiRegions::ContField1D>(m_exp[0]);
541 
544  }
546  {
548  boost::dynamic_pointer_cast<
549  MultiRegions::DisContField1D>(m_exp[0]);
550 
553  }
554  else
555  {
557  boost::dynamic_pointer_cast<
558  MultiRegions::ExpList1D>(m_exp[0]);
559 
560  tmp = MemoryManager<
561  MultiRegions::ExpList1D>::AllocateSharedPtr(*tmp2);
562  }
563  }
564  }
565  break;
566  case 2:
567  {
568  if (NumHomogeneousDir == 1)
569  {
571  {
572  if (NewField)
573  {
574  bool dealiasing = false;
575 
576  tmp = MemoryManager<
577  MultiRegions::ContField3DHomogeneous1D>::
578  AllocateSharedPtr(
579  m_session, m_exp[0]
580  ->GetHomogeneousBasis()
581  ->GetBasisKey(),
582  m_exp[0]->GetHomoLen(), m_useFFT,
583  dealiasing, m_graph, var);
584  }
585  else
586  {
588  tmp2 = boost::dynamic_pointer_cast<
589  MultiRegions::ContField3DHomogeneous1D>(
590  m_exp[0]);
591 
592  ASSERTL0(tmp2, "Failed to type cast m_exp[0]");
593  tmp = MemoryManager<
594  MultiRegions::ContField3DHomogeneous1D>::
595  AllocateSharedPtr(*tmp2, m_graph, var);
596  }
597  }
599  {
600  if (NewField)
601  {
602  bool dealiasing = false;
603 
604  tmp = MemoryManager<
605  MultiRegions::DisContField3DHomogeneous1D>::
606  AllocateSharedPtr(
607  m_session, m_exp[0]
608  ->GetHomogeneousBasis()
609  ->GetBasisKey(),
610  m_exp[0]->GetHomoLen(), m_useFFT,
611  dealiasing, m_graph, var);
612  }
613  else
614  {
616  tmp2 = boost::dynamic_pointer_cast<
617  MultiRegions::DisContField3DHomogeneous1D>(
618  m_exp[0]);
619  ASSERTL0(tmp2, "Failed to type cast m_exp[0]");
620 
621  tmp = MemoryManager<
622  MultiRegions::DisContField3DHomogeneous1D>::
623  AllocateSharedPtr(*tmp2);
624  }
625  }
626  else
627  {
628  if (NewField)
629  {
630  bool dealiasing = false;
631 
632  tmp = MemoryManager<
633  MultiRegions::ExpList3DHomogeneous1D>::
634  AllocateSharedPtr(
635  m_session, m_exp[0]
636  ->GetHomogeneousBasis()
637  ->GetBasisKey(),
638  m_exp[0]->GetHomoLen(), m_useFFT,
639  dealiasing, m_graph);
640  }
641  else
642  {
644  boost::dynamic_pointer_cast<
645  MultiRegions::ExpList3DHomogeneous1D>(
646  m_exp[0]);
647  ASSERTL0(tmp2, "Failed to type cast m_exp[0]");
648 
649  tmp = MemoryManager<
650  MultiRegions::ExpList3DHomogeneous1D>::
651  AllocateSharedPtr(*tmp2);
652  }
653  }
654  }
655  else
656  {
658  {
659  if (NewField)
660  {
663  }
664  else // call copy constructor
665  {
666 
668  boost::dynamic_pointer_cast<
669  MultiRegions::ContField2D>(m_exp[0]);
670 
672  AllocateSharedPtr(*tmp2, m_graph, var);
673  }
674  }
676  {
677  if (NewField)
678  {
681  }
682  else // call copy constructor
683  {
685  boost::dynamic_pointer_cast<
686  MultiRegions::DisContField2D>(m_exp[0]);
687 
689  AllocateSharedPtr(*tmp2, m_graph, var);
690  }
691  }
692  else
693  {
695  boost::dynamic_pointer_cast<
696  MultiRegions::ExpList2D>(m_exp[0]);
697 
698  tmp = MemoryManager<
699  MultiRegions::ExpList2D>::AllocateSharedPtr(*tmp2);
700  }
701  }
702  }
703  break;
704  case 3:
705  {
707  {
708  if (NewField)
709  {
712  }
713  else
714  {
716  boost::dynamic_pointer_cast<
717  MultiRegions::ContField3D>(m_exp[0]);
718 
720  AllocateSharedPtr(*tmp2, m_graph, var);
721 
722  m_locToGlobalMap = tmp2->GetLocalToGlobalMap();
723  }
724  }
726  {
727  if (NewField)
728  {
731  }
732  else
733  {
735  boost::dynamic_pointer_cast<
736  MultiRegions::DisContField3D>(m_exp[0]);
737 
739  AllocateSharedPtr(*tmp2, m_graph, var);
740  }
741  }
742  else
743  {
745  boost::dynamic_pointer_cast<MultiRegions::ExpList3D>(
746  m_exp[0]);
747 
748  tmp = MemoryManager<
749  MultiRegions::ExpList3D>::AllocateSharedPtr(*tmp2);
750  }
751  }
752  break;
753  default:
754  ASSERTL0(false, "Expansion dimension not recognised");
755  break;
756  }
757 
758  return tmp;
759  }
vector< MultiRegions::ExpListSharedPtr > m_exp
Definition: Field.hpp:92
#define ASSERTL0(condition, msg)
Definition: ErrorUtil.hpp:198
boost::shared_ptr< ContField1D > ContField1DSharedPtr
Definition: ContField1D.h:238
boost::shared_ptr< ContField3DHomogeneous1D > ContField3DHomogeneous1DSharedPtr
static boost::shared_ptr< DataType > AllocateSharedPtr()
Allocate a shared pointer from the memory pool.
bool m_declareExpansionAsDisContField
Definition: Field.hpp:95
boost::shared_ptr< DisContField3DHomogeneous1D > DisContField3DHomogeneous1DSharedPtr
LibUtilities::SessionReaderSharedPtr m_session
Definition: Field.hpp:102
boost::shared_ptr< ContField2D > ContField2DSharedPtr
Definition: ContField2D.h:289
SpatialDomains::MeshGraphSharedPtr m_graph
Definition: Field.hpp:103
boost::shared_ptr< ExpList3DHomogeneous2D > ExpList3DHomogeneous2DSharedPtr
Shared pointer to an ExpList3DHomogeneous2D object.
bool m_declareExpansionAsContField
Definition: Field.hpp:94
boost::shared_ptr< DisContField3DHomogeneous2D > DisContField3DHomogeneous2DSharedPtr
boost::shared_ptr< ContField3DHomogeneous2D > ContField3DHomogeneous2DSharedPtr
boost::shared_ptr< ExpList1D > ExpList1DSharedPtr
Shared pointer to an ExpList1D object.
Definition: ExpList1D.h:50
boost::shared_ptr< ExpList > ExpListSharedPtr
Shared pointer to an ExpList object.
boost::shared_ptr< DisContField2D > DisContField2DSharedPtr
boost::shared_ptr< DisContField1D > DisContField1DSharedPtr
boost::shared_ptr< ExpList2D > ExpList2DSharedPtr
Shared pointer to an ExpList2D object.
Definition: ExpList2D.h:49
boost::shared_ptr< DisContField3D > DisContField3DSharedPtr
boost::shared_ptr< ExpList2DHomogeneous1D > ExpList2DHomogeneous1DSharedPtr
Shared pointer to an ExpList2DHomogeneous1D object.
boost::shared_ptr< ExpList3D > ExpList3DSharedPtr
Shared pointer to an ExpList3D object.
Definition: ExpList3D.h:112
MultiRegions::AssemblyMapCGSharedPtr m_locToGlobalMap
Definition: Field.hpp:116
boost::shared_ptr< ExpList3DHomogeneous1D > ExpList3DHomogeneous1DSharedPtr
Shared pointer to an ExpList3DHomogeneous1D object.
boost::shared_ptr< ContField3D > ContField3DSharedPtr
Definition: ContField3D.h:208
FIELD_UTILS_EXPORT LibUtilities::FieldIOSharedPtr Nektar::FieldUtils::Field::FieldIOForFile ( string  filename)
inline

Construct a FieldIO object for the file filename.

This routine constructs an appropriate FieldIO object for a filename through the LibUtilities::FieldIO::GetFileType function to detect the file format. The result is then cached in Field::m_fld to avoid needing to repeatedly construct the object.

Parameters
filenameFilename to open.
Returns
Reader for filename.

Definition at line 447 of file Field.hpp.

References Nektar::LibUtilities::NekFactory< tKey, tBase, >::CreateInstance(), Nektar::LibUtilities::GetCommFactory(), Nektar::LibUtilities::GetFieldIOFactory(), and Nektar::iterator.

449  {
452  string fmt = LibUtilities::FieldIO::GetFileType(filename, c);
454  m_fld.find(fmt);
455 
456  if (it == m_fld.end())
457  {
460  m_fld[fmt] = fld;
461  return fld;
462  }
463  else
464  {
465  return it->second;
466  }
467  }
tBaseSharedPtr CreateInstance(tKey idKey BOOST_PP_COMMA_IF(MAX_PARAM) BOOST_PP_ENUM_BINARY_PARAMS(MAX_PARAM, tParam, x))
Create an instance of the class referred to by idKey.
Definition: NekFactory.hpp:162
LibUtilities::SessionReaderSharedPtr m_session
Definition: Field.hpp:102
FieldIOFactory & GetFieldIOFactory()
Returns the FieldIO factory.
Definition: FieldIO.cpp:74
CommFactory & GetCommFactory()
Definition: Comm.cpp:61
boost::shared_ptr< Comm > CommSharedPtr
Pointer to a Communicator object.
Definition: Comm.h:55
static const std::string GetFileType(const std::string &filename, CommSharedPtr comm)
Determine file type of given input file.
Definition: FieldIO.cpp:101
boost::shared_ptr< FieldIO > FieldIOSharedPtr
Definition: FieldIO.h:309
map< string, LibUtilities::FieldIOSharedPtr > m_fld
Map to store FieldIO instances. Key is the reader type, value is the FieldIO object.
Definition: Field.hpp:764
StandardMatrixTag boost::call_traits< LhsDataType >::const_reference rhs typedef NekMatrix< LhsDataType, StandardMatrixTag >::iterator iterator
FIELD_UTILS_EXPORT MultiRegions::ExpListSharedPtr Nektar::FieldUtils::Field::SetUpFirstExpList ( int  NumHomogeneousDir,
bool  fldfilegiven = false 
)
inline

Definition at line 120 of file Field.hpp.

References ASSERTL0, Nektar::LibUtilities::eFourier, Nektar::LibUtilities::eFourierEvenlySpaced, Nektar::LibUtilities::eFourierHalfModeRe, Nektar::LibUtilities::eFourierSingleMode, Nektar::Collections::eNoCollection, and Nektar::LibUtilities::ePolyEvenlySpaced.

122  {
123 
125 
126  // Set up expansion list
127  int expdim = m_graph->GetMeshDimension();
128  bool dealiasing = false;
129 
130  m_session->MatchSolverInfo("USEFFT", "FFTW", m_useFFT, false);
131 
132  switch (expdim)
133  {
134  case 1:
135  {
136  ASSERTL0(NumHomogeneousDir <= 2,
137  "Quasi-3D approach is only set up for 1 or 2 "
138  "homogeneous directions");
139 
140  if (NumHomogeneousDir == 1)
141  {
143 
144  // Define Homogeneous expansion
145  int nplanes;
146  NekDouble ly;
148 
149  if (fldfilegiven)
150  {
151  nplanes = m_fielddef[0]->m_numModes[1];
152  ly = m_fielddef[0]->m_homogeneousLengths[0];
153  btype = m_fielddef[0]->m_basis[1];
154  }
155  else
156  {
157  m_session->LoadParameter("HomModesZ", nplanes);
158  m_session->LoadParameter("LY", ly);
159  btype = LibUtilities::eFourier;
160  }
161 
162  // Choose points to be at evenly spaced points at
163  // nplanes points
164  const LibUtilities::PointsKey Pkey(
166 
167  const LibUtilities::BasisKey Bkey(btype, nplanes, Pkey);
168 
171  {
172  ASSERTL0(false, "ContField2DHomogeneous1D or "
173  "DisContField2DHomogenenous1D has "
174  "not been implemented");
175  }
176 
177  Exp2DH1 =
180  dealiasing, m_graph,
182  exp = Exp2DH1;
183  }
184  else if (NumHomogeneousDir == 2)
185  {
187 
188  int nylines, nzlines;
189  NekDouble ly, lz;
190  LibUtilities::BasisType btype1, btype2;
191 
192  if (fldfilegiven)
193  {
194  nylines = m_fielddef[0]->m_numModes[1];
195  nzlines = m_fielddef[0]->m_numModes[2];
196  ly = m_fielddef[0]->m_homogeneousLengths[0];
197  lz = m_fielddef[0]->m_homogeneousLengths[1];
198  btype1 = m_fielddef[0]->m_basis[1];
199  btype2 = m_fielddef[0]->m_basis[2];
200  }
201  else
202  {
203  m_session->LoadParameter("HomModesY", nylines);
204  m_session->LoadParameter("HomModesZ", nzlines);
205  m_session->LoadParameter("LY", ly);
206  m_session->LoadParameter("LZ", lz);
207  btype1 = LibUtilities::eFourier;
208  btype2 = LibUtilities::eFourier;
209  }
210 
211  // Choose points to be at evenly spaced points at
212  // nplanes points
213  const LibUtilities::PointsKey PkeyY(
215  const LibUtilities::BasisKey BkeyY(btype1, nylines, PkeyY);
216 
217  const LibUtilities::PointsKey PkeyZ(
219  const LibUtilities::BasisKey BkeyZ(btype2, nzlines, PkeyZ);
220 
222  {
223  Exp3DH2 = MemoryManager<
224  MultiRegions::ContField3DHomogeneous2D>::
225  AllocateSharedPtr(m_session, BkeyY, BkeyZ, ly, lz,
226  m_useFFT, dealiasing, m_graph,
227  m_session->GetVariable(0),
229  }
231  {
232  Exp3DH2 = MemoryManager<
233  MultiRegions::DisContField3DHomogeneous2D>::
234  AllocateSharedPtr(m_session, BkeyY, BkeyZ, ly, lz,
235  m_useFFT, dealiasing, m_graph,
236  m_session->GetVariable(0),
238  }
239  else
240  {
241  Exp3DH2 = MemoryManager<
242  MultiRegions::ExpList3DHomogeneous2D>::
243  AllocateSharedPtr(m_session, BkeyY, BkeyZ, ly, lz,
244  m_useFFT, dealiasing, m_graph,
246  }
247 
248  exp = Exp3DH2;
249  }
250  else
251  {
253 
255  {
258  m_session->GetVariable(0),
260  }
262  {
265  m_session->GetVariable(0),
266  true,
268  }
269  else
270  {
273  true,
275  }
276 
277  exp = Exp1D;
278  }
279  }
280  break;
281  case 2:
282  {
283  ASSERTL0(NumHomogeneousDir <= 1,
284  "NumHomogeneousDir is only set up for 1");
285 
286  if (NumHomogeneousDir == 1)
287  {
289 
290  // Define Homogeneous expansion
291  int nplanes;
292  NekDouble lz;
296 
297  if (fldfilegiven)
298  {
299  nplanes = m_fielddef[0]->m_numModes[2];
300  lz = m_fielddef[0]->m_homogeneousLengths[0];
301  btype = m_fielddef[0]->m_basis[2];
302 
304  {
305  btype = LibUtilities::eFourier;
306  m_fielddef[0]->m_basis[2] =
308  if (nplanes <= 2)
309  {
310  nplanes = 4;
311  }
312  }
313  else if (btype == LibUtilities::eFourierHalfModeRe &&
314  nplanes == 1)
315  {
317  }
318  }
319  else
320  {
321  m_session->LoadParameter("HomModesZ", nplanes);
322  m_session->LoadParameter("LZ", lz);
323  btype = LibUtilities::eFourier;
324  }
325 
326  // Choose points to be at evenly spaced points at
327  // nplanes points
328  const LibUtilities::PointsKey Pkey(
329  nplanes, ptype);
330 
331  const LibUtilities::BasisKey Bkey(btype, nplanes, Pkey);
332 
334  {
335  Exp3DH1 = MemoryManager<
336  MultiRegions::ContField3DHomogeneous1D>::
337  AllocateSharedPtr(m_session, Bkey, lz, m_useFFT,
338  dealiasing, m_graph,
339  m_session->GetVariable(0),
341  }
343  {
344  Exp3DH1 = MemoryManager<
345  MultiRegions::DisContField3DHomogeneous1D>::
346  AllocateSharedPtr(m_session, Bkey, lz, m_useFFT,
347  dealiasing, m_graph,
348  m_session->GetVariable(0),
350  }
351  else
352  {
353  Exp3DH1 = MemoryManager<
354  MultiRegions::ExpList3DHomogeneous1D>::
355  AllocateSharedPtr(m_session, Bkey, lz, m_useFFT,
356  dealiasing, m_graph,
357  "DefaultVar",
359  }
360  exp = Exp3DH1;
361  }
362  else
363  {
365 
367  {
370  m_session->GetVariable(0),
371  true,false,
373  }
375  {
378  m_session->GetVariable(0),
379  true,true,
381  }
382  else
383  {
386  true,
387  "DefaultVar",
389  }
390 
391  exp = Exp2D;
392  }
393  }
394  break;
395  case 3:
396  {
398 
400  {
403  m_session->GetVariable(0),
404  false,
406  }
408  {
411  m_session->GetVariable(0),
412  true,
414  }
415  else
416  {
417  Exp3D = MemoryManager<
418  MultiRegions::ExpList3D>::AllocateSharedPtr(
419  m_session,
420  m_graph,
421  "DefaultVar",
423  }
424 
425  exp = Exp3D;
426  }
427  break;
428  default:
429  ASSERTL0(false, "Expansion dimension not recognised");
430  break;
431  }
432 
433  return exp;
434  };
#define ASSERTL0(condition, msg)
Definition: ErrorUtil.hpp:198
static boost::shared_ptr< DataType > AllocateSharedPtr()
Allocate a shared pointer from the memory pool.
bool m_declareExpansionAsDisContField
Definition: Field.hpp:95
LibUtilities::SessionReaderSharedPtr m_session
Definition: Field.hpp:102
Fourier Expansion .
Definition: BasisType.h:52
SpatialDomains::MeshGraphSharedPtr m_graph
Definition: Field.hpp:103
boost::shared_ptr< ExpList3DHomogeneous2D > ExpList3DHomogeneous2DSharedPtr
Shared pointer to an ExpList3DHomogeneous2D object.
bool m_declareExpansionAsContField
Definition: Field.hpp:94
1D Evenly-spaced points using Lagrange polynomial
Definition: PointsType.h:65
1D Evenly-spaced points using Fourier Fit
Definition: PointsType.h:66
Fourier Modified expansions with just the real part of the first mode .
Definition: BasisType.h:59
boost::shared_ptr< ExpList1D > ExpList1DSharedPtr
Shared pointer to an ExpList1D object.
Definition: ExpList1D.h:50
boost::shared_ptr< ExpList > ExpListSharedPtr
Shared pointer to an ExpList object.
double NekDouble
boost::shared_ptr< ExpList2D > ExpList2DSharedPtr
Shared pointer to an ExpList2D object.
Definition: ExpList2D.h:49
boost::shared_ptr< ExpList2DHomogeneous1D > ExpList2DHomogeneous1DSharedPtr
Shared pointer to an ExpList2DHomogeneous1D object.
boost::shared_ptr< ExpList3D > ExpList3DSharedPtr
Shared pointer to an ExpList3D object.
Definition: ExpList3D.h:112
Fourier ModifiedExpansion with just the first mode .
Definition: BasisType.h:58
boost::shared_ptr< ExpList3DHomogeneous1D > ExpList3DHomogeneous1DSharedPtr
Shared pointer to an ExpList3DHomogeneous1D object.
vector< LibUtilities::FieldDefinitionsSharedPtr > m_fielddef
Definition: Field.hpp:90

Member Data Documentation

bool Nektar::FieldUtils::Field::m_addNormals

Definition at line 110 of file Field.hpp.

vector<unsigned int> Nektar::FieldUtils::Field::m_bndRegionsToWrite

Definition at line 108 of file Field.hpp.

LibUtilities::CommSharedPtr Nektar::FieldUtils::Field::m_comm

Definition at line 101 of file Field.hpp.

vector<vector<double> > Nektar::FieldUtils::Field::m_data

Definition at line 91 of file Field.hpp.

bool Nektar::FieldUtils::Field::m_declareExpansionAsContField

Definition at line 94 of file Field.hpp.

bool Nektar::FieldUtils::Field::m_declareExpansionAsDisContField

Definition at line 95 of file Field.hpp.

vector<MultiRegions::ExpListSharedPtr> Nektar::FieldUtils::Field::m_exp

Definition at line 92 of file Field.hpp.

vector<LibUtilities::FieldDefinitionsSharedPtr> Nektar::FieldUtils::Field::m_fielddef

Definition at line 90 of file Field.hpp.

LibUtilities::FieldMetaDataMap Nektar::FieldUtils::Field::m_fieldMetaDataMap

Definition at line 118 of file Field.hpp.

LibUtilities::PtsFieldSharedPtr Nektar::FieldUtils::Field::m_fieldPts

Definition at line 114 of file Field.hpp.

map<string, LibUtilities::FieldIOSharedPtr> Nektar::FieldUtils::Field::m_fld
private

Map to store FieldIO instances. Key is the reader type, value is the FieldIO object.

Definition at line 764 of file Field.hpp.

bool Nektar::FieldUtils::Field::m_fldToBnd

Definition at line 109 of file Field.hpp.

SpatialDomains::MeshGraphSharedPtr Nektar::FieldUtils::Field::m_graph

Definition at line 103 of file Field.hpp.

map<string, vector<string> > Nektar::FieldUtils::Field::m_inputfiles

Definition at line 105 of file Field.hpp.

MultiRegions::AssemblyMapCGSharedPtr Nektar::FieldUtils::Field::m_locToGlobalMap

Definition at line 116 of file Field.hpp.

LibUtilities::PtsIOSharedPtr Nektar::FieldUtils::Field::m_ptsIO

Definition at line 104 of file Field.hpp.

bool Nektar::FieldUtils::Field::m_requireBoundaryExpansion

Definition at line 97 of file Field.hpp.

LibUtilities::SessionReaderSharedPtr Nektar::FieldUtils::Field::m_session

Definition at line 102 of file Field.hpp.

bool Nektar::FieldUtils::Field::m_setUpEquiSpacedFields

Definition at line 112 of file Field.hpp.

bool Nektar::FieldUtils::Field::m_useFFT

Definition at line 99 of file Field.hpp.

bool Nektar::FieldUtils::Field::m_verbose

Definition at line 89 of file Field.hpp.

bool Nektar::FieldUtils::Field::m_writeBndFld

Definition at line 107 of file Field.hpp.