DNDSR 0.1.0.dev1+gcd065ad
Distributed Numeric Data Structure for CFV
Loading...
Searching...
No Matches
Geometric.hpp File Reference
#include "DNDS/Defines.hpp"
Include dependency graph for Geometric.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  DNDS::Geom::tPointPortable
 
struct  DNDS::Geom::tGPointPortable
 
struct  DNDS::Geom::SmallCoordsAsVector
 

Namespaces

namespace  DNDS
 the host side operators are provided as implemented
 
namespace  DNDS::Geom
 

Typedefs

using DNDS::Geom::t_index = int32_t
 
using DNDS::Geom::t_real = double
 
using DNDS::Geom::tPoint = Eigen::Vector3d
 
using DNDS::Geom::tJacobi = Eigen::Matrix3d
 
using DNDS::Geom::tGPoint = Eigen::Matrix3d
 
using DNDS::Geom::tPointMap = Eigen::Map< tPoint, Eigen::Unaligned >
 
using DNDS::Geom::tPointConstMap = Eigen::Map< const tPoint, Eigen::Unaligned >
 
using DNDS::Geom::tGPointMap = Eigen::Map< tGPoint, Eigen::Unaligned >
 
using DNDS::Geom::tGPointConstMap = Eigen::Map< const tGPoint, Eigen::Unaligned >
 
using DNDS::Geom::tSmallCoords = Eigen::Matrix< real, 3, Eigen::Dynamic >
 
using DNDS::Geom::tLocalMatStruct = std::vector< std::vector< index > >
 

Functions

std::vector< realDNDS::Geom::JacobiToSTDVector (const tJacobi &j)
 
tJacobi DNDS::Geom::STDVectorToJacobi (const std::vector< real > &v)
 
std::vector< realDNDS::Geom::VectorToSTDVector (const Eigen::VectorXd &v)
 
Eigen::VectorXd DNDS::Geom::STDVectorToVector (const std::vector< real > &v)
 
template<int d>
tPoint DNDS::Geom::FacialJacobianToNormVec (const tJacobi &J)
 get normal vector from facial jacobian note that $$ J_{ij} = \partial_{\xi_j} x_i $$
 
template<int dim>
Eigen::Matrix< real, dim, dim > DNDS::Geom::NormBuildLocalBaseV (const Eigen::Ref< const Eigen::Vector< real, dim > > &uNorm)
 input uNorm should already be normalized
 
tGPoint DNDS::Geom::RotZ (real theta)
 
tGPoint DNDS::Geom::RotX (real theta)
 
tGPoint DNDS::Geom::RotY (real theta)
 
tGPoint DNDS::Geom::RotateAxis (const tPoint &axis)
 
tGPoint DNDS::Geom::CrossVecToMat (const tPoint &axn)
 
tPoint DNDS::Geom::CrossMatToVec (const tGPoint &axnM)
 
template<int dim>
tPoint DNDS::Geom::ToThreeDim (const Eigen::Vector< real, dim > &v)
 

Variables

const t_index DNDS::Geom::invalid_index = INT32_MAX