IFEM 90A354
Public Member Functions | Protected Member Functions | List of all members
ASMunstruct Class Referenceabstract

Abstract interface for unstructured spline patches. More...

#include <ASMunstruct.h>

Inheritance diagram for ASMunstruct:
Inheritance graph
[legend]

Public Member Functions

virtual ~ASMunstruct ()
 Empty destructor.
 
virtual bool refine (const LR::RefineData &prm, Vectors &sol)=0
 Refines the mesh adaptively.
 
virtual void remapErrors (RealArray &errors, const RealArray &orig, bool=false) const
 Remaps element-wise errors from geometry mesh to refinement mesh.
 
virtual IntVec getBoundaryCovered (const IntSet &) const
 Returns all boundary functions that are covered by the given nodes.
 
virtual void extendRefinementDomain (IntSet &, const IntSet &) const
 Extends the refinement domain with information for neighbors.
 
virtual Vec3 getElementCenter (int iel) const =0
 Returns the coordinates of the element center.
 
virtual void storeMesh (const std::string &fName, int fType=15) const
 Stores the mesh basis to encapsulated postscript files.
 

Protected Member Functions

 ASMunstruct ()
 The constructor is protected to allow objects of sub-classes only.
 

Detailed Description

Abstract interface for unstructured spline patches.

Member Function Documentation

◆ extendRefinementDomain()

virtual void ASMunstruct::extendRefinementDomain ( IntSet ,
const IntSet  
) const
inlinevirtual

Extends the refinement domain with information for neighbors.

Reimplemented in ASMu2D, and ASMu3D.

◆ getBoundaryCovered()

virtual IntVec ASMunstruct::getBoundaryCovered ( const IntSet ) const
inlinevirtual

Returns all boundary functions that are covered by the given nodes.

Reimplemented in ASMLRSpline.

◆ getElementCenter()

virtual Vec3 ASMunstruct::getElementCenter ( int  iel) const
pure virtual

Returns the coordinates of the element center.

Implemented in ASMs1D, ASMs1DLag, and ASMLRSpline.

◆ refine()

virtual bool ASMunstruct::refine ( const LR::RefineData prm,
Vectors sol 
)
pure virtual

Refines the mesh adaptively.

Parameters
[in]prmInput data used to control the mesh refinement
solControl point results values that are transferred to new mesh

Implemented in ASMs1D, ASMLRSpline, ASMu2D, ASMu2D, ASMu2Dmx, ASMu2Dmx, ASMu2Dmx, ASMu3D, ASMu3D, ASMu3Dmx, ASMu3Dmx, and ASMu3Dmx.

◆ remapErrors()

virtual void ASMunstruct::remapErrors ( RealArray errors,
const RealArray orig,
bool  = false 
) const
inlinevirtual

Remaps element-wise errors from geometry mesh to refinement mesh.

Parameters
[out]errorsThe remapped errors
[in]origThe element-wise errors on the geometry mesh

Reimplemented in ASMu2D, ASMu2Dmx, ASMu3D, and ASMu3Dmx.

◆ storeMesh()

virtual void ASMunstruct::storeMesh ( const std::string &  fName,
int  fType = 15 
) const
inlinevirtual

Stores the mesh basis to encapsulated postscript files.

Parameters
[in]fNamePrefix for file names
[in]fTypeFlag telling which file type(s) to write (15 means all)

Reimplemented in ASMu2D, and ASMu2Dmx.


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