libsurf
Programmer's Documentation

Public Types | Public Member Functions | Protected Attributes | List of all members
FsiElement Class Referenceabstract

Detailed Description

Element wrapper for fluid-structure mapping.

See Also
Field Mapping
FsiMesh

#include <fsielement.h>

Inheritance diagram for FsiElement:
[legend]
Collaboration diagram for FsiElement:
[legend]

Public Types

enum  { max_nodes = 16 }
 

Public Member Functions

 FsiElement (const FsiMesh &m, uint gix)
 initialize
 
virtual ~FsiElement ()
 base class
 
uint nvertices () const
 access vertices
 
const uint * vertices () const
 access vertices
 
virtual Real shapeFunction (Real u, Real v, Real N[]) const =0
 determine shape function value, return |J|
 
void eval (const Vector &pf, Real u, Real v, Real wgt, Vct3 npf[]) const
 evaluate integrand at u, v with weight wgt
 
void eval (const Vector &pf, Real u, Real v, Real wgt, Vct6 npf[]) const
 evaluate integrand at u, v with weight wgt
 
void eval (const Matrix &mpf, Real u, Real v, Real wgt, PointList< 3 > &psn, PointGrid< 6 > &enf) const
 evaluate at single integration pont for multiple pressure fields
 
uint nearestFluidElement (Real u, Real v, Vct2 &fuv) const
 return fluid elements nearest to integration points
 
void integrate (const Vector &pf, uint nip, const Real u[], const Real v[], const Real wgt[], PointList< 3, Real > &gnf) const
 integrate nodal force vector components
 
void tpIntegrate (const Vector &pf, uint nip, const Real u[], const Real wgt[], PointList< 3, Real > &gnf) const
 apply a tensor-product integration rule
 
void integrate (const Vector &pf, uint nip, const Real u[], const Real v[], const Real wgt[], PointList< 6, Real > &gnf) const
 integrate nodal force and moment components
 
void tpIntegrate (const Vector &pf, uint nip, const Real u[], const Real wgt[], PointList< 6, Real > &gnf) const
 apply a tensor-product integration rule
 
void integrate (uint nip, const Real u[], const Real v[], const Real wgt[], const Matrix &mpf, PointGrid< 6, Real > &gnf) const
 integrate nodal forces for multiple pressure fields
 

Protected Attributes

const FsiMeshmsh
 reference to mesh object
 
Vct3 meanNormal
 mean element normal set by constructor
 
const uint * vi
 pointer to element indices
 
uint nv
 element section and local index
 
uint isec
 
uint lix
 

The documentation for this class was generated from the following files:
Generated on Fri Dec 2 2022 03:03:16 for libsurf by   doxygen 1.8.5