Nektar++
Public Member Functions | Public Attributes | List of all members
Nektar::LibUtilities::FieldDefinitions Struct Reference

#include <FieldIO.h>

Collaboration diagram for Nektar::LibUtilities::FieldDefinitions:
Collaboration graph
[legend]

Public Member Functions

 FieldDefinitions (ShapeType shapeType, const std::vector< unsigned int > &elementIDs, const std::vector< LibUtilities::BasisType > &basis, bool uniOrder, const std::vector< unsigned int > &numModes, const std::vector< std::string > &fields, int NumHomoDir=0, const std::vector< NekDouble > &HomoLengths=NullNekDoubleVector, const std::vector< unsigned int > &HomoZIDs=NullUnsignedIntVector, const std::vector< unsigned int > &HomoYIDs=NullUnsignedIntVector, const std::vector< LibUtilities::PointsType > &points=NullPointsTypeVector, bool pointsDef=false, const std::vector< unsigned int > &numPoints=NullUnsignedIntVector, bool numPointsDef=false)
 

Public Attributes

ShapeType m_shapeType
 
std::vector< unsigned int > m_elementIDs
 
std::vector< LibUtilities::BasisTypem_basis
 
int m_numHomogeneousDir
 
std::vector< NekDoublem_homogeneousLengths
 
std::vector< unsigned int > m_homogeneousZIDs
 
std::vector< unsigned int > m_homogeneousYIDs
 
std::vector< LibUtilities::PointsTypem_points
 Define the type of points per direction. More...
 
bool m_pointsDef
 
bool m_uniOrder
 Define order of the element group. More...
 
std::vector< unsigned int > m_numModes
 Define number of modes per direction. More...
 
std::vector< unsigned int > m_numPoints
 
bool m_numPointsDef
 
std::vector< std::string > m_fields
 

Detailed Description

Definition at line 69 of file FieldIO.h.

Constructor & Destructor Documentation

Nektar::LibUtilities::FieldDefinitions::FieldDefinitions ( ShapeType  shapeType,
const std::vector< unsigned int > &  elementIDs,
const std::vector< LibUtilities::BasisType > &  basis,
bool  uniOrder,
const std::vector< unsigned int > &  numModes,
const std::vector< std::string > &  fields,
int  NumHomoDir = 0,
const std::vector< NekDouble > &  HomoLengths = NullNekDoubleVector,
const std::vector< unsigned int > &  HomoZIDs = NullUnsignedIntVector,
const std::vector< unsigned int > &  HomoYIDs = NullUnsignedIntVector,
const std::vector< LibUtilities::PointsType > &  points = NullPointsTypeVector,
bool  pointsDef = false,
const std::vector< unsigned int > &  numPoints = NullUnsignedIntVector,
bool  numPointsDef = false 
)
inline

Definition at line 71 of file FieldIO.h.

91  :
92  m_shapeType(shapeType),
93  m_elementIDs(elementIDs),
94  m_basis(basis),
95  m_numHomogeneousDir(NumHomoDir),
96  m_homogeneousLengths(HomoLengths),
97  m_homogeneousZIDs(HomoZIDs),
98  m_homogeneousYIDs(HomoYIDs),
99  m_points(points),
100  m_pointsDef(pointsDef),
101  m_uniOrder(uniOrder),
102  m_numModes(numModes),
103  m_numPoints(numPoints),
104  m_numPointsDef(numPointsDef),
105  m_fields(fields)
106  {
107  }
std::vector< unsigned int > m_numPoints
Definition: FieldIO.h:126
std::vector< unsigned int > m_homogeneousYIDs
Definition: FieldIO.h:115
std::vector< NekDouble > m_homogeneousLengths
Definition: FieldIO.h:113
std::vector< unsigned int > m_homogeneousZIDs
Definition: FieldIO.h:114
bool m_uniOrder
Define order of the element group.
Definition: FieldIO.h:123
std::vector< LibUtilities::BasisType > m_basis
Definition: FieldIO.h:111
std::vector< unsigned int > m_numModes
Define number of modes per direction.
Definition: FieldIO.h:125
std::vector< unsigned int > m_elementIDs
Definition: FieldIO.h:110
std::vector< std::string > m_fields
Definition: FieldIO.h:128
std::vector< LibUtilities::PointsType > m_points
Define the type of points per direction.
Definition: FieldIO.h:118

Member Data Documentation

std::vector<LibUtilities::BasisType> Nektar::LibUtilities::FieldDefinitions::m_basis

Definition at line 111 of file FieldIO.h.

std::vector<unsigned int> Nektar::LibUtilities::FieldDefinitions::m_elementIDs

Definition at line 110 of file FieldIO.h.

std::vector<std::string> Nektar::LibUtilities::FieldDefinitions::m_fields

Definition at line 128 of file FieldIO.h.

std::vector<NekDouble> Nektar::LibUtilities::FieldDefinitions::m_homogeneousLengths

Definition at line 113 of file FieldIO.h.

std::vector<unsigned int> Nektar::LibUtilities::FieldDefinitions::m_homogeneousYIDs

Definition at line 115 of file FieldIO.h.

std::vector<unsigned int> Nektar::LibUtilities::FieldDefinitions::m_homogeneousZIDs

Definition at line 114 of file FieldIO.h.

int Nektar::LibUtilities::FieldDefinitions::m_numHomogeneousDir

Definition at line 112 of file FieldIO.h.

std::vector<unsigned int> Nektar::LibUtilities::FieldDefinitions::m_numModes

Define number of modes per direction.

Definition at line 125 of file FieldIO.h.

std::vector<unsigned int> Nektar::LibUtilities::FieldDefinitions::m_numPoints

Definition at line 126 of file FieldIO.h.

bool Nektar::LibUtilities::FieldDefinitions::m_numPointsDef

Definition at line 127 of file FieldIO.h.

std::vector<LibUtilities::PointsType> Nektar::LibUtilities::FieldDefinitions::m_points

Define the type of points per direction.

Definition at line 118 of file FieldIO.h.

bool Nektar::LibUtilities::FieldDefinitions::m_pointsDef

Definition at line 119 of file FieldIO.h.

ShapeType Nektar::LibUtilities::FieldDefinitions::m_shapeType

Definition at line 109 of file FieldIO.h.

bool Nektar::LibUtilities::FieldDefinitions::m_uniOrder

Define order of the element group.

  • UniOrder: same order for each element
  • MixOrder: definition of a different order for each element.

Definition at line 123 of file FieldIO.h.