Chaste  Release::2017.1
LessThanNode< SPACE_DIM > Struct Template Reference

#include <AbstractBoundaryConditionsContainer.hpp>

+ Collaboration diagram for LessThanNode< SPACE_DIM >:

Public Member Functions

bool operator() (const Node< SPACE_DIM > *const &n1, const Node< SPACE_DIM > *const &n2) const
 

Detailed Description

template<unsigned SPACE_DIM>
struct LessThanNode< SPACE_DIM >

Helper struct storing an operator for computing whether one node has a lower index than another.

Definition at line 54 of file AbstractBoundaryConditionsContainer.hpp.

Member Function Documentation

template<unsigned SPACE_DIM>
bool LessThanNode< SPACE_DIM >::operator() ( const Node< SPACE_DIM > *const &  n1,
const Node< SPACE_DIM > *const &  n2 
) const
inline

Less-then node index comparison operator.

Returns
true if n1<n2
Parameters
n1pointer to a node
n2pointer to a node

Definition at line 62 of file AbstractBoundaryConditionsContainer.hpp.

References Node< SPACE_DIM >::GetIndex().


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