Nalu
Nalu: a generalized unstructured massively parallel low Mach flow code designed to support a variety of energy applications of interest (most notably Wind ECP) built on the Sierra Toolkit and Trilinos solver Tpetra/Epetra stack. The open source BSD, clause 3 license model has been chosen for the code base. See LICENSE for more information. http://NaluCFD.org
Public Member Functions | Public Attributes | List of all members
sierra::nalu::Coord2D Class Reference

Helper class to simplify 2D coordinate storage and calculations. More...

Public Member Functions

 Coord2D (double xInit=0.0, double yInit=0.0)
 
double magnitude () const
 
double distance (const Coord2D &point) const
 

Public Attributes

double x
 
double y
 

Detailed Description

Helper class to simplify 2D coordinate storage and calculations.

Constructor & Destructor Documentation

sierra::nalu::Coord2D::Coord2D ( double  xInit = 0.0,
double  yInit = 0.0 
)
inline

Member Function Documentation

double sierra::nalu::Coord2D::distance ( const Coord2D point) const
inline

References x, and y.

Referenced by sierra::nalu::F_gamma().

double sierra::nalu::Coord2D::magnitude ( ) const
inline

Member Data Documentation

double sierra::nalu::Coord2D::x

Referenced by distance(), and sierra::nalu::F_gamma().

double sierra::nalu::Coord2D::y

Referenced by distance(), and sierra::nalu::F_gamma().


The documentation for this class was generated from the following file: