KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
Public Member Functions | List of all members
Kratos::TimeDiscretization::BDF1 Class Reference

#include <time_discretization.h>

Inheritance diagram for Kratos::TimeDiscretization::BDF1:
Collaboration diagram for Kratos::TimeDiscretization::BDF1:

Public Member Functions

std::vector< doubleComputeBDFCoefficients (double DeltaTime) const override
 Return the BDF coefficients This method computes the BDF coefficients for a provided time step. More...
 
std::vector< doubleComputeBDFCoefficients (const ProcessInfo &rProcessInfo) const override
 Return the BDF coefficients This method computes the BDF coefficients for the time step stored in the variable DELTA_TIME of a ProcessInfo container. More...
 
- Public Member Functions inherited from Kratos::TimeDiscretization::BDF
 KRATOS_CLASS_POINTER_DEFINITION (BDF)
 
 BDF (const unsigned int TimeOrder)
 Construct a new BDF object Constructor with time order. More...
 
virtual ~BDF ()=default
 Destroy the BDF object Destructor of the BDF class. More...
 
virtual std::vector< doubleComputeBDFCoefficients (double DeltaTime, double PreviousDeltaTime) const
 Return the BDF coefficients This method computes the BDF coefficients for a provided current and old time step. More...
 
void ComputeAndSaveBDFCoefficients (ProcessInfo &rProcessInfo) const
 Computes the BDF coefficients This method computes the BDF coefficients with the information stored in the provided ProcessInfo. The computed coefficients are saved in such ProcessInfo container. More...
 
std::size_t GetTimeOrder () const
 Get the Time Order object Auxiliary method to get the order of the BDF scheme. More...
 

Additional Inherited Members

- Protected Member Functions inherited from Kratos::TimeDiscretization::BDF
 BDF ()
 Construct a new BDF object Auxiliary constructor for derived classes. More...
 

Member Function Documentation

◆ ComputeBDFCoefficients() [1/2]

std::vector< double > Kratos::TimeDiscretization::BDF1::ComputeBDFCoefficients ( const ProcessInfo rProcessInfo) const
overridevirtual

Return the BDF coefficients This method computes the BDF coefficients for the time step stored in the variable DELTA_TIME of a ProcessInfo container.

Parameters
rProcessInfoProcessInfo container with DELTA_TIME
Returns
std::vector<double> Vector containing the computed BDF coefficients

Reimplemented from Kratos::TimeDiscretization::BDF.

◆ ComputeBDFCoefficients() [2/2]

std::vector< double > Kratos::TimeDiscretization::BDF1::ComputeBDFCoefficients ( double  DeltaTime) const
overridevirtual

Return the BDF coefficients This method computes the BDF coefficients for a provided time step.

Parameters
DeltaTimeTime step to compute the BDF coefficients
Returns
std::vector<double> Vector containing the computed BDF coefficients

Reimplemented from Kratos::TimeDiscretization::BDF.


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