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

#include <neighbor.h>

Public Member Functions

 ExtendedShapeset (NeighborSearch< Scalar > *neighborhood, AsmList< Scalar > *central_al, const Space< 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, const Space< 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 195 of file neighbor.h.

Constructor & Destructor Documentation

template<typename Scalar >
Hermes::Hermes2D::NeighborSearch< Scalar >::ExtendedShapeset::ExtendedShapeset ( NeighborSearch< Scalar > *  neighborhood,
AsmList< Scalar > *  central_al,
const Space< 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 963 of file neighbor.cpp.

Member Function Documentation

template<typename Scalar >
void Hermes::Hermes2D::NeighborSearch< Scalar >::ExtendedShapeset::update ( NeighborSearch neighborhood,
const Space< 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 995 of file neighbor.cpp.


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