Programming tasks to Scientific Computing I
Public Member Functions | Protected Types | Protected Attributes | List of all members
shellFE::createConstantRHS< ConfiguratorType > Class Template Reference

Assembly operator for constant RHS. More...

#include <rhs.h>

Public Member Functions

 createConstantRHS (const ConfiguratorType &conf, const RealType val)
 
RealType getNonlinearity (const typename ConfiguratorType::ElementType &el, int) const
 
- Public Member Functions inherited from shellFE::UnitTriangleFENonlinOpIntegratorShellFE< ConfiguratorType, createConstantRHS< ConfiguratorType > >
 UnitTriangleFENonlinOpIntegratorShellFE (const ConfiguratorType &Conf)
 
virtual ~UnitTriangleFENonlinOpIntegratorShellFE ()
 
void assembleAdd (VectorType &Dest) const
 
RealType getNonlinearity (const typename ConfiguratorType::ElementType &El, int QuadPoint) const
 interface function, has to be provided in derived classes. More...
 

Protected Types

typedef ConfiguratorType::RealType RealType
 
typedef ConfiguratorType::TangentVecType TangentVecType
 
- Protected Types inherited from shellFE::UnitTriangleFENonlinOpIntegratorShellFE< ConfiguratorType, createConstantRHS< ConfiguratorType > >
typedef ConfiguratorType::RealType RealType
 
typedef ConfiguratorType::VectorType VectorType
 
typedef ConfiguratorType::ElementType ElementType
 

Protected Attributes

const RealType _val
 
- Protected Attributes inherited from shellFE::UnitTriangleFENonlinOpIntegratorShellFE< ConfiguratorType, createConstantRHS< ConfiguratorType > >
const ConfiguratorType_config
 

Additional Inherited Members

- Protected Member Functions inherited from shellFE::UnitTriangleFENonlinOpIntegratorShellFE< ConfiguratorType, createConstantRHS< ConfiguratorType > >
createConstantRHS< ConfiguratorType > & asImp ()
 
const createConstantRHS< ConfiguratorType > & asImp () const
 

Detailed Description

template<typename ConfiguratorType>
class shellFE::createConstantRHS< ConfiguratorType >

Assembly operator for constant RHS.

Definition at line 18 of file rhs.h.

Member Typedef Documentation

template<typename ConfiguratorType>
typedef ConfiguratorType::RealType shellFE::createConstantRHS< ConfiguratorType >::RealType
protected

Definition at line 22 of file rhs.h.

template<typename ConfiguratorType>
typedef ConfiguratorType::TangentVecType shellFE::createConstantRHS< ConfiguratorType >::TangentVecType
protected

Definition at line 23 of file rhs.h.

Constructor & Destructor Documentation

template<typename ConfiguratorType>
shellFE::createConstantRHS< ConfiguratorType >::createConstantRHS ( const ConfiguratorType conf,
const RealType  val 
)
inline

Definition at line 28 of file rhs.h.

29  : UnitTriangleFENonlinOpIntegratorShellFE <ConfiguratorType, createConstantRHS <ConfiguratorType> > (conf),
30  _val(val)
31  {}
const RealType _val
Definition: rhs.h:25

Member Function Documentation

template<typename ConfiguratorType>
RealType shellFE::createConstantRHS< ConfiguratorType >::getNonlinearity ( const typename ConfiguratorType::ElementType el,
int   
) const
inline

Definition at line 33 of file rhs.h.

34  {
35  return 2.0 * el.getAreaOfFlattenedTriangle() * _val;
36  }
const RealType _val
Definition: rhs.h:25

Member Data Documentation

template<typename ConfiguratorType>
const RealType shellFE::createConstantRHS< ConfiguratorType >::_val
protected

Definition at line 25 of file rhs.h.


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