Diffpack Documentation


Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Search  

FieldFEGlobalView Class Reference

finite element scalar field. More...

#include <FieldFEGlobalView.h>

Inheritance diagram for FieldFEGlobalView::

HandleId List of all members.

Public Methods

 FieldFEGlobalView ()
 ~FieldFEGlobalView ()
FieldFEgetGlobalField ()
const FieldFEgetGlobalField () const
virtual void makeGlobalView (const FieldFE &subgrid_field, const SubGridFE &grids)
NUMT valueFEM (const FiniteElement &fe, real t=DUMMY)
NUMT valuePt (const Ptv(real) &x, real t=DUMMY)
NUMT& valueNode (int node, real t=DUMMY)
NUMT valueNode (int node, real t=DUMMY) const
Ptv(NUMT) derivativePt (const Ptv(real) &x, real t=DUMMY)
Ptv(NUMT) derivativePt (const Ptv(real) &x, real t=DUMMY) const
void derivativeFEM (Ptv(NUMT) &gradient, const FiniteElement &fe, real t=DUMMY)
void derivativeFEM (Ptv(NUMT) &gradient, const FiniteElement &fe, real t=DUMMY) const

Protected Attributes

Handle(SubGridFE) grids
Handle(FieldFEsubgrid_field
Handle(FieldFEglobal_field
VecSimple(int) bfnode_glob2sub
VecSimple(int) bfnode_sub2glob

Detailed Description

finite element scalar field.

NAME: FieldFEGlobalView - finite element scalar field

DESCRIPTION:

This class assists in interpreting a field defined over a subgrid of type "SubGridFE" in terms of the original, large grid from which the subgrid was extracted. That is, it provides mechanisms for mapping field values defined over a subgrid back to the original grid.


Constructor & Destructor Documentation

FieldFEGlobalView::FieldFEGlobalView ( )
 

The only constructor takes no arguments. Initialization is done by a call to "makeGlobalView".

FieldFEGlobalView::~FieldFEGlobalView ( )
 


Member Function Documentation

void FieldFEGlobalView::derivativeFEM ( Ptv(NUMT) & gradient,
const FiniteElement & fe,
real t = DUMMY ) const [inline]
 

void FieldFEGlobalView::derivativeFEM ( Ptv(NUMT) & gradient,
const FiniteElement & fe,
real t = DUMMY )
 

Ptv(NUMT) FieldFEGlobalView::derivativePt ( const Ptv(real) & x,
real t = DUMMY ) const [inline]
 

Ptv(NUMT) FieldFEGlobalView::derivativePt ( const Ptv(real) & x,
real t = DUMMY )
 

const FieldFE & FieldFEGlobalView::getGlobalField ( ) const [inline]
 

See documentation of one of the overloaded functions.

FieldFE & FieldFEGlobalView::getGlobalField ( ) [inline]
 

returns the field as "FieldFE" object defined over the large, original grid. Any values outside the subgrid are defined to be zero.

void FieldFEGlobalView::makeGlobalView ( const FieldFE & subgrid_field,
const SubGridFE & grids ) [virtual]
 

creates a global view of the input field "subgrid_field" associated with the input subgrid "grids". In this context the global view is defined in terms of the original grid from which "grids" was extracted. The "SubGridFE" object "grids" contains

NUMT FieldFEGlobalView::valueFEM ( const FiniteElement & fe,
real t = DUMMY )
 

NUMT FieldFEGlobalView::valueNode ( int node,
real t = DUMMY ) const [inline]
 

NUMT & FieldFEGlobalView::valueNode ( int node,
real t = DUMMY )
 

NUMT FieldFEGlobalView::valuePt ( const Ptv(real) & x,
real t = DUMMY )
 


Member Data Documentation

VecSimple(int) FieldFEGlobalView::bfnode_glob2sub [protected]
 

VecSimple(int) FieldFEGlobalView::bfnode_sub2glob [protected]
 

Handle(FieldFE) FieldFEGlobalView::global_field [protected]
 

Handle(SubGridFE) FieldFEGlobalView::grids [protected]
 

Handle(FieldFE) FieldFEGlobalView::subgrid_field [protected]
 


The documentation for this class was generated from the following file:
Copyright © 2003 inuTech GmbH. All rights reserved.