Nektar++
|
#include <cstdio>
#include <cstdlib>
#include <iomanip>
#include <LibUtilities/BasicUtils/SessionReader.h>
#include <LibUtilities/BasicUtils/SharedArray.hpp>
#include <MultiRegions/ExpList.h>
#include <MultiRegions/ContField1D.h>
#include <MultiRegions/ContField2D.h>
#include <MultiRegions/ContField3D.h>
#include <MultiRegions/ContField3DHomogeneous1D.h>
#include <tinyxml.h>
#include <boost/math/special_functions/fpclassify.hpp>
Go to the source code of this file.
bool Checkbndmeshes2D | ( | Array< OneD, NekDouble > | x0, |
Array< OneD, NekDouble > | y0, | ||
Array< OneD, NekDouble > | x1, | ||
Array< OneD, NekDouble > | y1 | ||
) |
Definition at line 555 of file FieldToField.cpp.
References Vmath::Vmax(), and Vmath::Vmin().
Referenced by main().
bool Checkbndmeshes3D | ( | Array< OneD, NekDouble > | x0, |
Array< OneD, NekDouble > | y0, | ||
Array< OneD, NekDouble > | z0, | ||
Array< OneD, NekDouble > | x1, | ||
Array< OneD, NekDouble > | y1, | ||
Array< OneD, NekDouble > | z1 | ||
) |
Definition at line 597 of file FieldToField.cpp.
References Vmath::Vmax(), and Vmath::Vmin().
Referenced by main().
void InterpolateField | ( | Array< OneD, MultiRegions::ExpListSharedPtr > & | field0, |
Array< OneD, MultiRegions::ExpListSharedPtr > & | field1, | ||
Array< OneD, NekDouble > | x, | ||
Array< OneD, NekDouble > | y, | ||
Array< OneD, NekDouble > | z, | ||
NekDouble | clamp_low, | ||
NekDouble | clamp_up | ||
) |
Definition at line 435 of file FieldToField.cpp.
References ASSERTL0, and Nektar::NullNekDouble1DArray.
Referenced by main().
void InterpolateFieldHomo | ( | MultiRegions::ExpListSharedPtr | field0, |
Array< OneD, NekDouble > | x1, | ||
Array< OneD, NekDouble > | y1, | ||
MultiRegions::ExpListSharedPtr | field1 | ||
) |
Definition at line 500 of file FieldToField.cpp.
Referenced by main().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 20 of file FieldToField.cpp.
References ASSERTL0, Checkbndmeshes2D(), Checkbndmeshes3D(), Nektar::LibUtilities::SessionReader::CreateInstance(), Nektar::LibUtilities::Import(), InterpolateField(), InterpolateFieldHomo(), Nektar::NullNekDouble1DArray, Nektar::SpatialDomains::MeshGraph::Read(), SetFields(), and Writefield().
void SetFields | ( | SpatialDomains::MeshGraphSharedPtr & | mesh, |
vector< LibUtilities::FieldDefinitionsSharedPtr > | fielddef, | ||
LibUtilities::SessionReaderSharedPtr & | session, | ||
Array< OneD, MultiRegions::ExpListSharedPtr > & | Exp, | ||
int | nvariables, | ||
const vector< std::string > & | variables, | ||
bool | homogeneous | ||
) |
< physical length in Y direction (if homogeneous)
< physical length in Z direction (if homogeneous)
< number of points in Y direction (if homogeneous)
< number of points in Z direction (if homogeneous)
Definition at line 300 of file FieldToField.cpp.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr(), ASSERTL0, Nektar::LibUtilities::eFourier, and Nektar::LibUtilities::eFourierEvenlySpaced.
void Writefield | ( | LibUtilities::SessionReaderSharedPtr | vSession, |
const std::vector< std::string > & | variables, | ||
string | fieldfile, | ||
SpatialDomains::MeshGraphSharedPtr & | graph, | ||
Array< OneD, MultiRegions::ExpListSharedPtr > & | outfield | ||
) |
Definition at line 649 of file FieldToField.cpp.
References Nektar::LibUtilities::Write().
Referenced by main().