OOFEM 3.0
Loading...
Searching...
No Matches
oofem::NTfTerm Class Reference

#include <prototype2.h>

Inheritance diagram for oofem::NTfTerm:
Collaboration diagram for oofem::NTfTerm:

Public Member Functions

 NTfTerm ()
 NTfTerm (const Variable *testField, const Variable *unknownField, MaterialMode m)
 NTfTerm (const Variable *testField, const Variable *unknownField, MaterialMode m, const FloatArray *f)
void evaluate_lin (FloatMatrix &answer, MPElement &e, GaussPoint *gp, TimeStep *tstep) const override
void evaluate (FloatArray &answer, MPElement &e, GaussPoint *gp, TimeStep *tstep) const override
 Evaluates the residual contribution (rhs).
void getDimensions (Element &cell) const override
void initializeFrom (InputRecord &ir, EngngModel *problem) override
Public Member Functions inherited from oofem::MPMSymbolicTerm
 MPMSymbolicTerm ()
 MPMSymbolicTerm (const Variable *testField, const Variable *unknownField, MaterialMode m)
void initializeCell (Element &cell) const override
IntegrationRulegiveElementIntegrationRule (Element *e) const override
Public Member Functions inherited from oofem::Term
 Term ()
 Term (const Variable *testField, const Variable *unknownField, MaterialMode m=MaterialMode::_Unknown)

Protected Attributes

FloatArray flux
Protected Attributes inherited from oofem::MPMSymbolicTerm
int nip =0

Additional Inherited Members

Public Attributes inherited from oofem::Term
const Variablefield
const VariabletestField
MaterialMode mode

Detailed Description

Definition at line 502 of file prototype2.h.

Constructor & Destructor Documentation

◆ NTfTerm() [1/3]

oofem::NTfTerm::NTfTerm ( )
inline

Definition at line 506 of file prototype2.h.

References oofem::MPMSymbolicTerm::MPMSymbolicTerm().

◆ NTfTerm() [2/3]

oofem::NTfTerm::NTfTerm ( const Variable * testField,
const Variable * unknownField,
MaterialMode m )
inline

◆ NTfTerm() [3/3]

oofem::NTfTerm::NTfTerm ( const Variable * testField,
const Variable * unknownField,
MaterialMode m,
const FloatArray * f )
inline

Member Function Documentation

◆ evaluate()

void oofem::NTfTerm::evaluate ( FloatArray & answer,
MPElement & e,
GaussPoint * gp,
TimeStep * tstep ) const
inlineoverridevirtual

Evaluates the residual contribution (rhs).

Parameters
answer
e
coords

Implements oofem::Term.

Definition at line 519 of file prototype2.h.

References oofem::FloatArray::beTProductOf(), flux, oofem::GaussPoint::giveNaturalCoordinates(), N, and oofem::Term::testField.

◆ evaluate_lin()

void oofem::NTfTerm::evaluate_lin ( FloatMatrix & answer,
MPElement & e,
GaussPoint * gp,
TimeStep * tstep ) const
inlineoverridevirtual

Implements oofem::Term.

Definition at line 510 of file prototype2.h.

◆ getDimensions()

void oofem::NTfTerm::getDimensions ( Element & cell) const
inlineoverridevirtual

Implements oofem::Term.

Definition at line 529 of file prototype2.h.

◆ initializeFrom()

void oofem::NTfTerm::initializeFrom ( InputRecord & ir,
EngngModel * problem )
inlineoverridevirtual

Reimplemented from oofem::MPMSymbolicTerm.

Definition at line 530 of file prototype2.h.

References flux, oofem::MPMSymbolicTerm::initializeFrom(), and IR_GIVE_FIELD.

Member Data Documentation

◆ flux

FloatArray oofem::NTfTerm::flux
protected

Definition at line 504 of file prototype2.h.

Referenced by evaluate(), initializeFrom(), and NTfTerm().


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