Public Member Functions | List of all members
oomph::MacroElementNodeUpdateRefineableFishMesh< ELEMENT > Class Template Reference

Refineable fish shaped mesh with MacroElement-based node update. The fish's back is represented by a specified geometric object. Some or all of the geometric Data in that geometric object may contain unknowns in the global Problem. The dependency on these unknowns is taken into account when setting up the Jacobian matrix of the elements. For this purpose, the element (whose type is specified by the template parameter) must inherit from MacroElementNodeUpdateElementBase. More...

#include <fish_mesh.template.h>

Inheritance diagram for oomph::MacroElementNodeUpdateRefineableFishMesh< ELEMENT >:
oomph::RefineableFishMesh< ELEMENT > oomph::FishMesh< ELEMENT >

Public Member Functions

 MacroElementNodeUpdateRefineableFishMesh (GeomObject *back_pt, TimeStepper *time_stepper_pt=&Mesh::Default_TimeStepper)
 Constructor: Pass pointer GeomObject that defines the fish's back and pointer to timestepper (defaults to (Steady) default timestepper defined in Mesh). More...
 
virtual ~MacroElementNodeUpdateRefineableFishMesh ()
 Destructor: empty. More...
 
void node_update (const bool &update_all_solid_nodes=false)
 Resolve mesh update: NodeUpdate current nodal positions via sparse MacroElement-based update. [Doesn't make sense to use this mesh with SolidElements anyway, so we buffer the case if update_all_solid_nodes is set to true.]. More...
 
- Public Member Functions inherited from oomph::RefineableFishMesh< ELEMENT >
 RefineableFishMesh (TimeStepper *time_stepper_pt=&Mesh::Default_TimeStepper)
 Constructor: Pass pointer to timestepper – defaults to (Steady) default timestepper defined in the Mesh base class. More...
 
 RefineableFishMesh (GeomObject *back_pt, TimeStepper *time_stepper_pt=&Mesh::Default_TimeStepper)
 Constructor: Pass pointer GeomObject that defines the fish's back and pointer to timestepper (defaults to (Steady) default timestepper defined in Mesh) More...
 
virtual ~RefineableFishMesh ()
 Destructor: Empty – all cleanup gets handled in the base classes. More...
 
- Public Member Functions inherited from oomph::FishMesh< ELEMENT >
 FishMesh (TimeStepper *time_stepper_pt=&Mesh::Default_TimeStepper)
 Constructor: Pass pointer to timestepper (defaults to the (Steady) default timestepper defined in Mesh) More...
 
 FishMesh (GeomObject *back_pt, TimeStepper *time_stepper_pt=&Mesh::Default_TimeStepper)
 Constructor: Pass pointer GeomObject that defines the fish's back and pointer to timestepper (defaults to the (Steady) default timestepper defined in Mesh) More...
 
virtual ~FishMesh ()
 Destructor: Kill the geom object that represents the fish's back (if necessary) More...
 
GeomObject *& fish_back_pt ()
 Access function to geom object that represents the fish's back. More...
 
FishDomain *& domain_pt ()
 Access function to FishDomain. More...
 

Additional Inherited Members

- Protected Types inherited from oomph::FishMesh< ELEMENT >
enum  { Lower_body , Upper_body , Lower_fin , Upper_fin }
 Remesh function ids. More...
 
- Protected Member Functions inherited from oomph::RefineableFishMesh< ELEMENT >
void setup_adaptivity ()
 Setup all the information that's required for spatial adaptivity: Set pointers to macro elements and build quadtree forest. (contained in separate function as this functionality is common to both constructors),. More...
 
- Protected Member Functions inherited from oomph::FishMesh< ELEMENT >
void build_mesh (TimeStepper *time_stepper_pt)
 Build the mesh, using the geometric object identified by Back_pt. More...
 
- Protected Attributes inherited from oomph::FishMesh< ELEMENT >
GeomObject * Back_pt
 Pointer to fish back. More...
 
FishDomainDomain_pt
 Pointer to domain. More...
 
bool Must_kill_fish_back
 Do I need to kill the fish back geom object? More...
 

Detailed Description

template<class ELEMENT>
class oomph::MacroElementNodeUpdateRefineableFishMesh< ELEMENT >

Refineable fish shaped mesh with MacroElement-based node update. The fish's back is represented by a specified geometric object. Some or all of the geometric Data in that geometric object may contain unknowns in the global Problem. The dependency on these unknowns is taken into account when setting up the Jacobian matrix of the elements. For this purpose, the element (whose type is specified by the template parameter) must inherit from MacroElementNodeUpdateElementBase.

Definition at line 197 of file fish_mesh.template.h.

Constructor & Destructor Documentation

◆ MacroElementNodeUpdateRefineableFishMesh()

template<class ELEMENT >
oomph::MacroElementNodeUpdateRefineableFishMesh< ELEMENT >::MacroElementNodeUpdateRefineableFishMesh ( GeomObject *  back_pt,
TimeStepper *  time_stepper_pt = &Mesh::Default_TimeStepper 
)
inline

Constructor: Pass pointer GeomObject that defines the fish's back and pointer to timestepper (defaults to (Steady) default timestepper defined in Mesh).

Definition at line 205 of file fish_mesh.template.h.

References oomph::FishMesh< ELEMENT >::Back_pt, and oomph::FishMesh< ELEMENT >::domain_pt().

◆ ~MacroElementNodeUpdateRefineableFishMesh()

template<class ELEMENT >
virtual oomph::MacroElementNodeUpdateRefineableFishMesh< ELEMENT >::~MacroElementNodeUpdateRefineableFishMesh ( )
inlinevirtual

Destructor: empty.

Definition at line 284 of file fish_mesh.template.h.

Member Function Documentation

◆ node_update()

template<class ELEMENT >
void oomph::MacroElementNodeUpdateRefineableFishMesh< ELEMENT >::node_update ( const bool &  update_all_solid_nodes = false)
inline

Resolve mesh update: NodeUpdate current nodal positions via sparse MacroElement-based update. [Doesn't make sense to use this mesh with SolidElements anyway, so we buffer the case if update_all_solid_nodes is set to true.].

Definition at line 291 of file fish_mesh.template.h.


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