LifeV
Newmark Class Reference

#include <Newmark.hpp>

+ Collaboration diagram for Newmark:

Public Member Functions

 Newmark ()
 
 ~Newmark ()
 
void initialize (const vectorPtr_Type &state, const vectorPtr_Type &first_derivative, const vectorPtr_Type &second_derivative)
 
void compute_csi ()
 
void shift (const vectorPtr_Type &state)
 
void restart (const vectorPtr_Type &state, const vectorPtr_Type &first_derivative, const vectorPtr_Type &second_derivative)
 
void set_beta (const Real beta)
 
void set_gamma (const Real gamma)
 
void set_timestep (const Real timestep)
 
Real get_beta ()
 
Real get_gamma ()
 
Real get_timestep ()
 
vectorPtr_Type const & get_csi () const
 
vectorPtr_Type const & old_first_derivative () const
 
vectorPtr_Type const & old_second_derivative () const
 

Private Types

typedef VectorEpetra vector_Type
 
typedef std::shared_ptr< vector_TypevectorPtr_Type
 

Private Attributes

Real M_timeStep
 
Real M_beta
 
Real M_gamma
 
vectorPtr_Type M_csi
 
vectorPtr_Type M_current_state
 
vectorPtr_Type M_current_first_derivative
 
vectorPtr_Type M_current_second_derivative
 
vectorPtr_Type M_old_state
 
vectorPtr_Type M_old_first_derivative
 
vectorPtr_Type M_old_second_derivative
 

Detailed Description

Definition at line 17 of file Newmark.hpp.

Member Typedef Documentation

◆ vector_Type

typedef VectorEpetra vector_Type
private

Definition at line 20 of file Newmark.hpp.

◆ vectorPtr_Type

typedef std::shared_ptr<vector_Type> vectorPtr_Type
private

Definition at line 22 of file Newmark.hpp.

Constructor & Destructor Documentation

◆ Newmark()

Newmark ( )

Definition at line 6 of file Newmark.cpp.

◆ ~Newmark()

~Newmark ( )

Definition at line 12 of file Newmark.cpp.

Member Function Documentation

◆ initialize()

void initialize ( const vectorPtr_Type state,
const vectorPtr_Type first_derivative,
const vectorPtr_Type second_derivative 
)

Definition at line 16 of file Newmark.cpp.

◆ compute_csi()

void compute_csi ( )

Definition at line 42 of file Newmark.cpp.

◆ shift()

void shift ( const vectorPtr_Type state)

Definition at line 57 of file Newmark.cpp.

◆ restart()

void restart ( const vectorPtr_Type state,
const vectorPtr_Type first_derivative,
const vectorPtr_Type second_derivative 
)

Definition at line 89 of file Newmark.cpp.

◆ set_beta()

void set_beta ( const Real  beta)
inline

Definition at line 41 of file Newmark.hpp.

◆ set_gamma()

void set_gamma ( const Real  gamma)
inline

Definition at line 44 of file Newmark.hpp.

◆ set_timestep()

void set_timestep ( const Real  timestep)
inline

Definition at line 47 of file Newmark.hpp.

◆ get_beta()

Real get_beta ( )
inline

Definition at line 50 of file Newmark.hpp.

◆ get_gamma()

Real get_gamma ( )
inline

Definition at line 53 of file Newmark.hpp.

◆ get_timestep()

Real get_timestep ( )
inline

Definition at line 56 of file Newmark.hpp.

◆ get_csi()

vectorPtr_Type const& get_csi ( ) const
inline

Definition at line 58 of file Newmark.hpp.

◆ old_first_derivative()

vectorPtr_Type const& old_first_derivative ( ) const
inline

Definition at line 60 of file Newmark.hpp.

◆ old_second_derivative()

vectorPtr_Type const& old_second_derivative ( ) const
inline

Definition at line 62 of file Newmark.hpp.

Field Documentation

◆ M_timeStep

Real M_timeStep
private

Definition at line 62 of file Newmark.hpp.

◆ M_beta

Real M_beta
private

Definition at line 70 of file Newmark.hpp.

◆ M_gamma

Real M_gamma
private

Definition at line 71 of file Newmark.hpp.

◆ M_csi

vectorPtr_Type M_csi
private

Definition at line 74 of file Newmark.hpp.

◆ M_current_state

vectorPtr_Type M_current_state
private

Definition at line 77 of file Newmark.hpp.

◆ M_current_first_derivative

vectorPtr_Type M_current_first_derivative
private

Definition at line 78 of file Newmark.hpp.

◆ M_current_second_derivative

vectorPtr_Type M_current_second_derivative
private

Definition at line 79 of file Newmark.hpp.

◆ M_old_state

vectorPtr_Type M_old_state
private

Definition at line 82 of file Newmark.hpp.

◆ M_old_first_derivative

vectorPtr_Type M_old_first_derivative
private

Definition at line 83 of file Newmark.hpp.

◆ M_old_second_derivative

vectorPtr_Type M_old_second_derivative
private

Definition at line 84 of file Newmark.hpp.


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