MFEM  v3.1
Finite element discretization library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | List of all members
mfem::RestrictedCoefficient Class Reference

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

#include <coefficient.hpp>

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

Public Member Functions

 RestrictedCoefficient (Coefficient &_c, Array< int > &attr)
 
virtual double Eval (ElementTransformation &T, const IntegrationPoint &ip)
 
- Public Member Functions inherited from mfem::Coefficient
 Coefficient ()
 
void SetTime (double t)
 
double GetTime ()
 
double Eval (ElementTransformation &T, const IntegrationPoint &ip, double t)
 
virtual ~Coefficient ()
 

Additional Inherited Members

- Protected Attributes inherited from mfem::Coefficient
double time
 

Detailed Description

Coefficient defined on a subset of domain or boundary attributes.

Definition at line 214 of file coefficient.hpp.

Constructor & Destructor Documentation

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

Definition at line 221 of file coefficient.hpp.

Member Function Documentation

virtual double mfem::RestrictedCoefficient::Eval ( ElementTransformation T,
const IntegrationPoint ip 
)
inlinevirtual

Implements mfem::Coefficient.

Definition at line 224 of file coefficient.hpp.


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