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

A external flux term $S=(N)^T f$, where $f$ is functor evaluating the flux. More...

#include <termlibrary.h>

Inheritance diagram for oofem::NTf_Surface:
Collaboration diagram for oofem::NTf_Surface:

Public Member Functions

 NTf_Surface (const Variable *testField, const NTfFunctor &f, int surf)
void evaluate_lin (FloatMatrix &answer, MPElement &e, GaussPoint *gp, TimeStep *tstep) const override
 Evaluates the linearization of term (the lhs contribution).
void evaluate (FloatArray &, MPElement &cell, GaussPoint *gp, TimeStep *tstep) const override
 Evaluates Internal forces vector, i.e. $w^T(\grad N)^T f(p)$.
void getDimensions (Element &cell) const override
void initializeCell (Element &cell) const override
Public Member Functions inherited from oofem::Term
 Term ()
 Term (const Variable *testField, const Variable *unknownField, MaterialMode m=MaterialMode::_Unknown)
virtual IntegrationRulegiveElementIntegrationRule (Element *e) const
virtual void initializeFrom (InputRecord &ir, EngngModel *problem)

Protected Attributes

const NTfFunctorf
int isurf

Additional Inherited Members

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

Detailed Description

A external flux term $S=(N)^T f$, where $f$ is functor evaluating the flux.

Definition at line 348 of file termlibrary.h.

Constructor & Destructor Documentation

◆ NTf_Surface()

oofem::NTf_Surface::NTf_Surface ( const Variable * testField,
const NTfFunctor & f,
int surf )

Definition at line 312 of file termlibrary.C.

References f, isurf, oofem::Term::Term(), and oofem::Term::testField.

Member Function Documentation

◆ evaluate()

void oofem::NTf_Surface::evaluate ( FloatArray & answer,
MPElement & cell,
GaussPoint * gp,
TimeStep * tstep ) const
overridevirtual

Evaluates Internal forces vector, i.e. $w^T(\grad N)^T f(p)$.

Parameters
cell
coords

Implements oofem::Term.

Definition at line 315 of file termlibrary.C.

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

◆ evaluate_lin()

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

Evaluates the linearization of term (the lhs contribution).

Parameters
answer
e
coords

Implements oofem::Term.

Definition at line 362 of file termlibrary.h.

◆ getDimensions()

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

Implements oofem::Term.

Definition at line 370 of file termlibrary.h.

◆ initializeCell()

void oofem::NTf_Surface::initializeCell ( Element & cell) const
inlineoverridevirtual

Implements oofem::Term.

Definition at line 371 of file termlibrary.h.

Member Data Documentation

◆ f

const NTfFunctor& oofem::NTf_Surface::f
protected

Definition at line 350 of file termlibrary.h.

Referenced by evaluate(), and NTf_Surface().

◆ isurf

int oofem::NTf_Surface::isurf
protected

Definition at line 351 of file termlibrary.h.

Referenced by evaluate(), and NTf_Surface().


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

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