OOFEM 3.0
Loading...
Searching...
No Matches
oofem::EIPrimaryFieldInterface Class Referenceabstract

#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
Public Member Functions inherited from oofem::Interface
 Interface ()
 Constructor.
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

◆ EIPrimaryFieldInterface()

oofem::EIPrimaryFieldInterface::EIPrimaryFieldInterface ( )
inline

Member Function Documentation

◆ EIPrimaryFieldI_evaluateFieldVectorAt()

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.

Todo

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.

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

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


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

This page is part of the OOFEM-3.0 documentation. Copyright Copyright (C) 1994-2025 Borek Patzak Bořek Patzák
Project e-mail: oofem@fsv.cvut.cz
Generated at for OOFEM by doxygen 1.15.0 written by Dimitri van Heesch, © 1997-2011