![]() |
|
#include <macro_element.h>
Public Member Functions | |
QMacroElement (Domain *domain_pt, const unsigned ¯o_element_number) | |
QMacroElement () | |
Default constructor (empty and broken) More... | |
QMacroElement (const QMacroElement &dummy)=delete | |
Broken copy constructor. More... | |
void | operator= (const QMacroElement &)=delete |
Broken assignment operator. More... | |
virtual | ~QMacroElement () |
Empty destructor. More... | |
void | output (const unsigned &t, std::ostream &outfile, const unsigned &nplot) |
void | output_macro_element_boundaries (std::ostream &outfile, const unsigned &nplot) |
Output all macro element boundaries as tecplot zones. More... | |
void | macro_map (const unsigned &t, const Vector< double > &S, Vector< double > &r) |
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 | 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) |
![]() | |
MacroElement (Domain *domain_pt, const unsigned ¯o_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) |
void | macro_map (const Vector< double > &s, Vector< double > &r) |
The mapping from local to global coordinates at the current time : r(s) More... | |
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) |
unsigned & | macro_element_number () |
Access function to the Macro_element_number. More... | |
Domain *& | domain_pt () |
Access function to the Domain_pt. More... | |
Additional Inherited Members | |
![]() | |
Domain * | Domain_pt |
Pointer to domain. More... | |
unsigned | Macro_element_number |
What is the number of the current macro element within its domain. More... | |
QMacroElement specialised to 2 spatial dimensions.
The macro element mapping is based on the member function pointer to the associated Domain 's
function which provides a parametrisation of the macro element's boundaries in the form:
\[ {\bf f}_{i} (t,{\bf S}) \]
where
|
inline |
Constructor: Pass the pointer to the domain and the macro element's number within this domain
|
inline |
Default constructor (empty and broken)
References OOMPH_CURRENT_FUNCTION, and OOMPH_EXCEPTION_LOCATION.
|
delete |
Broken copy constructor.
|
inlinevirtual |
|
virtual |
assemble the jacobian of the mapping from the macro coordinates to the global coordinates
Assembles the jacobian of the mapping from the macro coordinates to the global coordinates
Reimplemented from oomph::MacroElement.
References oomph::Domain::dmacro_element_boundary(), oomph::MacroElement::Domain_pt, oomph::QuadTreeNames::E, oomph::Domain::macro_element_boundary(), oomph::MacroElement::Macro_element_number, oomph::QuadTreeNames::N, oomph::QuadTreeNames::S, plotPSD::t, oomph::QuadTreeNames::W, and Eigen::zeta().
|
virtual |
Assembles the second derivative jacobian of the mapping from the macro coordinates to global coordinates x
Reimplemented from oomph::MacroElement.
References oomph::Domain::d2macro_element_boundary(), oomph::Domain::dmacro_element_boundary(), oomph::MacroElement::Domain_pt, oomph::QuadTreeNames::E, oomph::Domain::macro_element_boundary(), oomph::MacroElement::Macro_element_number, oomph::QuadTreeNames::N, oomph::QuadTreeNames::S, plotPSD::t, oomph::QuadTreeNames::W, and Eigen::zeta().
|
virtual |
Get global position r(s) at continuous time value, t.
Get global position r(S) at discrete time level t. t=0: Present time; t>0: previous timestep.
Reimplemented from oomph::MacroElement.
References oomph::MacroElement::Domain_pt, oomph::QuadTreeNames::E, i, oomph::Domain::macro_element_boundary(), oomph::MacroElement::Macro_element_number, oomph::QuadTreeNames::N, UniformPSDSelfTest::r, s, oomph::QuadTreeNames::S, plotPSD::t, oomph::QuadTreeNames::W, and Eigen::zeta().
|
virtual |
Get global position r(S) at discrete time level t. t=0: Present time; t>0: previous timestep.
Implements oomph::MacroElement.
References oomph::MacroElement::Domain_pt, oomph::QuadTreeNames::E, i, oomph::Domain::macro_element_boundary(), oomph::MacroElement::Macro_element_number, oomph::QuadTreeNames::N, UniformPSDSelfTest::r, oomph::QuadTreeNames::S, plotPSD::t, oomph::QuadTreeNames::W, and Eigen::zeta().
|
delete |
Broken assignment operator.
|
inlinevirtual |
Plot: x,y in tecplot format at time level t (t=0: current; t>0: previous)
Implements oomph::MacroElement.
References f(), i, j, oomph::MacroElement::macro_map(), plotPSD::t, and plotDoE::x.
|
virtual |
Output all macro element boundaries as tecplot zones.
Implements oomph::MacroElement.
References oomph::MacroElement::Domain_pt, f(), j, oomph::Domain::macro_element_boundary(), oomph::MacroElement::Macro_element_number, N, s, plotPSD::t, and oomph::QuadTreeNames::W.