oomph::JacksHelloWorld Class Reference

Hello world class – uses object from generic library. More...

#include <hello_world.h>

Public Member Functions

 JacksHelloWorld ()
 Constructor. More...
 
void say_it_inline ()
 Say it inline. More...
 
void say_it_external ()
 Say it externally. More...
 

Private Attributes

DenseMatrix< doubleSome_matrix
 Private full matrix. More...
 

Detailed Description

Hello world class – uses object from generic library.

Constructor & Destructor Documentation

◆ JacksHelloWorld()

oomph::JacksHelloWorld::JacksHelloWorld ( )
inline

Constructor.

52  {
53  // Fiddle around with the object's private data
55  }
void resize(const unsigned long &n)
Definition: matrices.h:498
DenseMatrix< double > Some_matrix
Private full matrix.
Definition: hello_world.h:71

References oomph::DenseMatrix< T >::resize(), and Some_matrix.

Member Function Documentation

◆ say_it_external()

void oomph::JacksHelloWorld::say_it_external ( )

Say it externally.

34  {
35  oomph_info << "JacksHelloWorld object says: Hello world! "
36  << Some_matrix.nrow() << " from a compiled function! "
37  << std::endl;
38  }
unsigned long nrow() const
Return the number of rows of the matrix.
Definition: matrices.h:485
OomphInfo oomph_info
Definition: oomph_definitions.cc:319

References oomph::DenseMatrix< T >::nrow(), oomph::oomph_info, and Some_matrix.

Referenced by main().

◆ say_it_inline()

void oomph::JacksHelloWorld::say_it_inline ( )
inline

Say it inline.

59  {
60  oomph_info << "JacksHelloWorld object says: Hello world! "
61  << Some_matrix.nrow() << std::endl;
62 
63  }

References oomph::DenseMatrix< T >::nrow(), oomph::oomph_info, and Some_matrix.

Referenced by main().

Member Data Documentation

◆ Some_matrix

DenseMatrix<double> oomph::JacksHelloWorld::Some_matrix
private

Private full matrix.

Referenced by JacksHelloWorld(), say_it_external(), and say_it_inline().


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