MFEM v2.0
Public Member Functions | Private Attributes
RestrictedCoefficient Class Reference

Coefficient defined on a subset of domain or boundary attributes. More...

#include <coefficient.hpp>

Inheritance diagram for RestrictedCoefficient:
Inheritance graph
[legend]
Collaboration diagram for RestrictedCoefficient:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 RestrictedCoefficient (Coefficient &_c, Array< int > &attr)
virtual double Eval (ElementTransformation &T, const IntegrationPoint &ip)
virtual void Read (istream &in)

Private Attributes

Coefficientc
Array< int > active_attr

Detailed Description

Coefficient defined on a subset of domain or boundary attributes.

Definition at line 171 of file coefficient.hpp.


Constructor & Destructor Documentation

RestrictedCoefficient::RestrictedCoefficient ( Coefficient _c,
Array< int > &  attr 
) [inline]

Definition at line 178 of file coefficient.hpp.

References active_attr, c, and Array< T >::Copy().


Member Function Documentation

virtual double RestrictedCoefficient::Eval ( ElementTransformation T,
const IntegrationPoint ip 
) [inline, virtual]

Implements Coefficient.

Definition at line 181 of file coefficient.hpp.

References active_attr, ElementTransformation::Attribute, c, and Coefficient::Eval().

virtual void RestrictedCoefficient::Read ( istream &  in) [inline, virtual]

Implements Coefficient.

Definition at line 184 of file coefficient.hpp.


Member Data Documentation

Definition at line 175 of file coefficient.hpp.

Referenced by Eval(), and RestrictedCoefficient().

Definition at line 174 of file coefficient.hpp.

Referenced by Eval(), and RestrictedCoefficient().


The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines