Hermes2D  3.0
Hermes::Hermes2D::DiscontinuousFunc< Ord > Class Template Reference
+ Inheritance diagram for Hermes::Hermes2D::DiscontinuousFunc< Ord >:

Public Member Functions

 DiscontinuousFunc (Func< Ord > *fn, bool support_on_neighbor, bool reverse=false)
 
 DiscontinuousFunc (Func< Ord > *fn_c, Func< Ord > *fn_n, bool reverse=false)
 
void subtract (const DiscontinuousFunc< Ord > &func)
 
- Public Member Functions inherited from Hermes::Hermes2D::Func< Ord >
 Func (const int order)
 
void subtract (Func< Ord > *func)
 

Public Attributes

Func< Ord > * fn_central
 Central element's component.
 
Func< Ord > * fn_neighbor
 Neighbor element's component.
 
Ord val
 
Ord dx
 
Ord dy
 
Ord val_neighbor
 
Ord dx_neighbor
 
Ord dy_neighbor
 
bool reverse_neighbor_side
 True if values from the neighbor have to be retrieved in reverse order. More...
 
- Public Attributes inherited from Hermes::Hermes2D::Func< Ord >
const int order
 
Ord val
 
Ord dx
 
Ord dy
 
Ord laplace
 
Ord val0
 
Ord val1
 
Ord curl
 
Ord div
 

Static Public Attributes

static Ord zero
 

Detailed Description

template<>
class Hermes::Hermes2D::DiscontinuousFunc< Ord >

Definition at line 382 of file forms.h.

Constructor & Destructor Documentation

Hermes::Hermes2D::DiscontinuousFunc< Ord >::DiscontinuousFunc ( Func< Ord > *  fn,
bool  support_on_neighbor,
bool  reverse = false 
)

One-component constructor.

Parameters
[in]fnFunction defined either on the central or the neighbor element.
[in]support_on_neighborTrue if fn is defined on the neighbor element, false if on the central element.
[in]reverseSame meaning as reverse_neighbor_side.

Definition at line 258 of file forms.cpp.

Hermes::Hermes2D::DiscontinuousFunc< Ord >::DiscontinuousFunc ( Func< Ord > *  fn_c,
Func< Ord > *  fn_n,
bool  reverse = false 
)

Two-component constructor.

Parameters
[in]fn_cFunction defined on the central element.
[in]fn_nFunction defined on the neighbor element.
[in]reverseSame meaning as reverse_neighbor_side.

Definition at line 279 of file forms.cpp.

Member Data Documentation

bool Hermes::Hermes2D::DiscontinuousFunc< Ord >::reverse_neighbor_side

True if values from the neighbor have to be retrieved in reverse order.

(when retrieving values on an edge that is oriented differently in both elements). Zero value used for the zero-extension.

Definition at line 415 of file forms.h.


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