OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
oofem::EIPrimaryFieldInterface Class Referenceabstract

Element interface class. More...

#include <primaryfield.h>

+ Inheritance diagram for oofem::EIPrimaryFieldInterface:
+ Collaboration diagram for oofem::EIPrimaryFieldInterface:

Public Member Functions

 EIPrimaryFieldInterface ()
The element interface required by EIPrimaryFieldInterface
virtual int EIPrimaryFieldI_evaluateFieldVectorAt (FloatArray &answer, PrimaryField &pf, const FloatArray &coords, IntArray &dofId, ValueModeType mode, TimeStep *tStep)=0
 Evaluates the value of field at given point of interest (should be located inside receiver's volume) using element interpolation. More...
- Public Member Functions inherited from oofem::Interface
 Interface ()
 Constructor. More...
virtual ~Interface ()
virtual const char * giveClassName () const =0

Detailed Description

Element interface class.

Declares the functionality required to support PrimaryField element interpolation.

Definition at line 58 of file primaryfield.h.

Constructor & Destructor Documentation

oofem::EIPrimaryFieldInterface::EIPrimaryFieldInterface ( )

Definition at line 62 of file primaryfield.h.

Member Function Documentation

virtual int oofem::EIPrimaryFieldInterface::EIPrimaryFieldI_evaluateFieldVectorAt ( FloatArray answer,
PrimaryField pf,
const FloatArray coords,
IntArray dofId,
ValueModeType  mode,
TimeStep tStep 
pure virtual

Evaluates the value of field at given point of interest (should be located inside receiver's volume) using element interpolation.


This should use local coordinates instead of having all elements search for it manually.

Shouldn't this just be part of Element? It's very much the core of functionality for elements.

answerField evaluated at coordinate.
pfField to use for evaluation.
dofIdIDs of DOFs to evaluate.
modeMode of field.
tStepTime step to evaluate at.
Zero if ok, nonzero when error encountered.

Implemented in oofem::TR1_2D_SUPG, oofem::TR1_2D_SUPG2, oofem::TransportElement, and oofem::TR1_2D_CBS.

Referenced by oofem::PrimaryField::__evaluateAt().

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

This page is part of the OOFEM documentation. Copyright (c) 2011 Borek Patzak
Project e-mail: info@oofem.org
Generated at Tue Jan 2 2018 20:07:35 for OOFEM by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2011