oomph::ExtrudedMacroElement Class Reference

#include <extruded_macro_element.h>

+ Inheritance diagram for oomph::ExtrudedMacroElement:

Public Member Functions

 ExtrudedMacroElement (ExtrudedDomain *extruded_domain_pt, unsigned macro_element_number)
 
 ExtrudedMacroElement ()
 Default constructor (empty and broken) More...
 
 ExtrudedMacroElement (const ExtrudedMacroElement &dummy)=delete
 Broken copy constructor. More...
 
void operator= (const ExtrudedMacroElement &)=delete
 Broken assignment operator. More...
 
virtual ~ExtrudedMacroElement ()
 Empty destructor. More...
 
ExtrudedDomain *& extruded_domain_pt ()
 Access function to the ExtrudedDomain. More...
 
- Public Member Functions inherited from oomph::MacroElement
 MacroElement (Domain *domain_pt, const unsigned &macro_element_number)
 
 MacroElement ()
 Default constructor (empty and broken) More...
 
 MacroElement (const MacroElement &dummy)=delete
 Broken copy constructor. More...
 
void operator= (const MacroElement &)=delete
 Broken assignment operator. More...
 
virtual ~MacroElement ()
 Empty destructor. More...
 
void output (std::ostream &outfile, const int &nplot)
 
virtual void output (const unsigned &t, std::ostream &outfile, const unsigned &nplot)=0
 
void macro_map (const Vector< double > &s, Vector< double > &r)
 The mapping from local to global coordinates at the current time : r(s) More...
 
virtual void macro_map (const unsigned &t, const Vector< double > &s, Vector< double > &r)=0
 
virtual void macro_map (const double &t, const Vector< double > &s, Vector< double > &r)
 Get global position r(s) at continuous time value, t. More...
 
virtual void output_macro_element_boundaries (std::ostream &outfile, const unsigned &nplot)=0
 Output all macro element boundaries as tecplot zones. More...
 
virtual void assemble_macro_to_eulerian_jacobian (const unsigned &t, const Vector< double > &s, DenseMatrix< double > &jacobian)
 
virtual void assemble_macro_to_eulerian_jacobian2 (const unsigned &t, const Vector< double > &s, DenseMatrix< double > &jacobian2)
 
void assemble_macro_to_eulerian_jacobian (const Vector< double > &s, DenseMatrix< double > &jacobian)
 
void assemble_macro_to_eulerian_jacobian2 (const Vector< double > &s, DenseMatrix< double > &jacobian2)
 
unsignedmacro_element_number ()
 Access function to the Macro_element_number. More...
 
Domain *& domain_pt ()
 Access function to the Domain_pt. More...
 

Protected Attributes

ExtrudedDomainExtruded_domain_pt
 Pointer to the extruded domain. More...
 
- Protected Attributes inherited from oomph::MacroElement
DomainDomain_pt
 Pointer to domain. More...
 
unsigned Macro_element_number
 What is the number of the current macro element within its domain. More...
 

Detailed Description

DRAIG: FILL IN COMPLETE DESCRIPTION ONCE FINISHED...

Constructor & Destructor Documentation

◆ ExtrudedMacroElement() [1/3]

oomph::ExtrudedMacroElement::ExtrudedMacroElement ( ExtrudedDomain extruded_domain_pt,
unsigned  macro_element_number 
)
inline

Constructor: Pass pointer to ExtrudedDomain and the ID number of the ExtrudedMacroElement within that ExtrudedDomain. NOTE: The base class MacroElement requires a pointer to a Domain object. However, the ExtrudedDomain class has not yet been defined which means the compiler cannot know yet that its derives from Domain. To avoid a compiler error a null pointer is passed to the base class MacroElement.

72  {
73 #ifdef LEAK_CHECK
74  LeakCheckNames::ExtrudedMacroElement_build += 1;
75 #endif
76  } // End of ExtrudedMacroElement
ExtrudedDomain * Extruded_domain_pt
Pointer to the extruded domain.
Definition: extruded_macro_element.h:115
ExtrudedDomain *& extruded_domain_pt()
Access function to the ExtrudedDomain.
Definition: extruded_macro_element.h:106
unsigned & macro_element_number()
Access function to the Macro_element_number.
Definition: macro_element.h:223
MacroElement()
Default constructor (empty and broken)
Definition: macro_element.h:86

◆ ExtrudedMacroElement() [2/3]

oomph::ExtrudedMacroElement::ExtrudedMacroElement ( )
inline

Default constructor (empty and broken)

81  {
82  // Throw an error!
83  throw OomphLibError(
84  "Don't call empty constructor for ExtrudedMacroElement!",
87  } // End of ExtrudedMacroElement
#define OOMPH_EXCEPTION_LOCATION
Definition: oomph_definitions.h:61
#define OOMPH_CURRENT_FUNCTION
Definition: oomph_definitions.h:86

References OOMPH_CURRENT_FUNCTION, and OOMPH_EXCEPTION_LOCATION.

◆ ExtrudedMacroElement() [3/3]

oomph::ExtrudedMacroElement::ExtrudedMacroElement ( const ExtrudedMacroElement dummy)
delete

Broken copy constructor.

◆ ~ExtrudedMacroElement()

virtual oomph::ExtrudedMacroElement::~ExtrudedMacroElement ( )
inlinevirtual

Empty destructor.

98  {
99 #ifdef LEAK_CHECK
100  LeakCheckNames::ExtrudedMacroElement_build -= 1;
101 #endif
102  } // End of ~ExtrudedMacroElement

Member Function Documentation

◆ extruded_domain_pt()

ExtrudedDomain*& oomph::ExtrudedMacroElement::extruded_domain_pt ( )
inline

Access function to the ExtrudedDomain.

107  {
108  // Return a pointer to the extruded domain within which this extruded
109  // macro element lies
110  return Extruded_domain_pt;
111  } // End of extruded_domain_pt

References Extruded_domain_pt.

◆ operator=()

void oomph::ExtrudedMacroElement::operator= ( const ExtrudedMacroElement )
delete

Broken assignment operator.

Member Data Documentation

◆ Extruded_domain_pt

ExtrudedDomain* oomph::ExtrudedMacroElement::Extruded_domain_pt
protected

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