Peano
cartesianRoutines.h
Go to the documentation of this file.
1 #pragma once
2 
3 namespace Numerics{
4  template <class Shortcuts, typename T>
5  inline void getNormals(const T* Q, int direction, T& norm, T* n){
6  norm = 1;
7  n[0] = 0;
8  n[1] = 0;
9  n[2] = 0;
10  n[direction] = 1;
11  }
12 }
void getNormals(const T *Q, int direction, T &norm, T *n)