Intrepid2
Functions
Intrepid2_CellGeometryTestUtils.hpp File Reference

Utility methods for working with CellGeometry objects in unit tests. More...

#include "Intrepid2_CellGeometry.hpp"
#include "Intrepid2_ScalarView.hpp"
#include "Intrepid2_TestUtils.hpp"

Go to the source code of this file.

Functions

template<typename PointScalar , int spaceDim, typename DeviceType >
CellGeometry< PointScalar,
spaceDim, DeviceType > 
Intrepid2::getNodalCellGeometry (CellGeometry< PointScalar, spaceDim, DeviceType > &anyCellGeometry, const bool &copyAffineness)
 Use the cell nodes provided by one cell geometry object to create another CellGeometry that is node-based (as opposed to tensor-grid-based, uniform-grid-based, etc.) More...
 
template<class PointScalar , int spaceDim, typename DeviceType >
CellGeometry< PointScalar,
spaceDim, DeviceType > 
Intrepid2::uniformCartesianMesh (const Kokkos::Array< PointScalar, spaceDim > &domainExtents, const Kokkos::Array< int, spaceDim > &gridCellCounts)
 Create a uniform Cartesian mesh, with origin at 0, and domain extents and mesh widths that can be different in different coordinate dimensions. More...
 
template<class PointScalar , int spaceDim, typename DeviceType >
CellGeometry< PointScalar,
spaceDim, DeviceType > 
Intrepid2::uniformCartesianMesh (const PointScalar &domainExtent, const int &meshWidth)
 Create a uniform Cartesian mesh, with origin at 0, and the same extent and number of grid cells in each coordinate dimension. More...
 

Detailed Description

Utility methods for working with CellGeometry objects in unit tests.

Author
Created by N.V. Roberts.

Definition in file Intrepid2_CellGeometryTestUtils.hpp.