libMesh::Predicates::null_neighbor< T > Struct Template Reference

#include <single_predicates.h>

Inheritance diagram for libMesh::Predicates::null_neighbor< T >:

Public Member Functions

virtual ~null_neighbor ()
 
virtual bool operator() (const T &it) const override
 

Protected Member Functions

virtual predicate< T > * clone () const override
 

Detailed Description

template<typename T>
struct libMesh::Predicates::null_neighbor< T >

Returns
true if the pointer has any nullptr neighbors.

Definition at line 397 of file single_predicates.h.

Constructor & Destructor Documentation

◆ ~null_neighbor()

template<typename T>
virtual libMesh::Predicates::null_neighbor< T >::~null_neighbor ( )
inlinevirtual

Definition at line 399 of file single_predicates.h.

399 {}

Member Function Documentation

◆ clone()

template<typename T>
virtual predicate<T>* libMesh::Predicates::null_neighbor< T >::clone ( ) const
inlineoverrideprotectedvirtual

Implements libMesh::Predicates::predicate< T >.

Definition at line 406 of file single_predicates.h.

406 { return new null_neighbor<T>(*this); }

◆ operator()()

template<typename T>
virtual bool libMesh::Predicates::null_neighbor< T >::operator() ( const T &  it) const
inlineoverridevirtual

Implements libMesh::Predicates::predicate< T >.

Definition at line 400 of file single_predicates.h.

401  {
402  return (*it)->on_boundary();
403  }

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