COOLFluiD  Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
Public Member Functions | Public Attributes | List of all members
ComputeCentroid Struct Reference

Helper to compute the centroid. More...

Public Member Functions

 ComputeCentroid (const Entities &entities)
 
const RealVectoroperator() (const Uint element_index)
 

Public Attributes

const Entitiesm_entities
 
RealVector centroid
 
RealVector normal
 
RealMatrix elem_coords
 

Detailed Description

Helper to compute the centroid.

Definition at line 54 of file DiscontinuousDictionary.cpp.

Constructor & Destructor Documentation

ComputeCentroid ( const Entities entities)
inline

Definition at line 56 of file DiscontinuousDictionary.cpp.

Member Function Documentation

const RealVector& operator() ( const Uint  element_index)
inline

Compute the centroid, adapting using the normal so that internal boundaries that exist with both orientations get a distinct centroid

Definition at line 66 of file DiscontinuousDictionary.cpp.

Member Data Documentation

RealVector centroid

Definition at line 90 of file DiscontinuousDictionary.cpp.

RealMatrix elem_coords

Definition at line 92 of file DiscontinuousDictionary.cpp.

const Entities& m_entities

Definition at line 88 of file DiscontinuousDictionary.cpp.

RealVector normal

Definition at line 91 of file DiscontinuousDictionary.cpp.


The documentation for this struct was generated from the following file:
Send comments to:
COOLFluiD Web Admin