Hermes2D  3.0
Hermes::Hermes2D::NeighborSearch< Scalar >::ExtendedShapeset Class Reference

#include <neighbor_search.h>

Public Member Functions

 ExtendedShapeset (NeighborSearch< Scalar > *neighborhood, AsmList< Scalar > *central_al, SpaceSharedPtr< Scalar >space)
 
 ExtendedShapeset (const ExtendedShapeset &other)
 
 ~ExtendedShapeset ()
 Destructor.
 
void free_central_al ()
 
void combine_assembly_lists ()
 Create assembly list for the extended shapeset by joining central and neighbor element's assembly lists.
 
void update (NeighborSearch *neighborhood, SpaceSharedPtr< Scalar > space)
 
bool has_support_on_neighbor (unsigned int index) const
 

Public Attributes

int cnt
 Number of shape functions in the extended shapeset.
 
int * dof
 Array of global DOF numbers of shape functions in the extended shapeset.
 
AsmList< Scalar > * central_al
 Assembly list for the currently assembled edge on the central elem.
 
AsmList< Scalar > * neighbor_al
 Assembly list for the currently assembled edge on the neighbor elem.
 

Friends

class NeighborSearch
 

Detailed Description

template<typename Scalar>
class Hermes::Hermes2D::NeighborSearch< Scalar >::ExtendedShapeset

This class represents the extended shapeset, consisting of shape functions from both the central element and current neighbor element, extended by zero to the union of these elements.

Definition at line 202 of file neighbor_search.h.

Constructor & Destructor Documentation

template<typename Scalar >
Hermes::Hermes2D::NeighborSearch< Scalar >::ExtendedShapeset::ExtendedShapeset ( NeighborSearch< Scalar > *  neighborhood,
AsmList< Scalar > *  central_al,
SpaceSharedPtr< Scalar >  space 
)

Constructor.

Parameters
[in]neighborhoodNeighborhood on which the extended shapeset is defined.
[in]central_alAssembly list for the currently assembled edge on the central element.
[in]spaceSpace from which the neighbor's assembly list will be obtained.

Definition at line 1050 of file neighbor_search.cpp.

Member Function Documentation

template<typename Scalar >
void Hermes::Hermes2D::NeighborSearch< Scalar >::ExtendedShapeset::update ( NeighborSearch neighborhood,
SpaceSharedPtr< Scalar >  space 
)

Update the extended shapeset when active segment or active edge is changed (i.e. there will be a new_ neighbor).

Parameters
[in]neighborhoodNeighborhood on which the extended shapeset is defined.
[in]spaceSpace from which the neighbor's assembly list will be obtained.

Definition at line 1082 of file neighbor_search.cpp.


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