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. More...
 
virtual void remapErrors (RealArray &errors, const RealArray &orig, bool=false) const
 Remaps element-wise errors from geometry mesh to refinement mesh. More...
 
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. More...
 

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

◆ 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 ASMu3Dmx, ASMu3D, ASMu2Dmx, ASMu2D, ASMLRSpline, and ASMs1D.

◆ 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 ASMu3Dmx, ASMu3D, ASMu2Dmx, and ASMu2D.

◆ 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 ASMu2Dmx, and ASMu2D.


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