Public Member Functions | List of all members
TwoSteps Class Reference

Two steps. More...

#include <spatial_distribution1d.hpp>

Inheritance diagram for TwoSteps:
Inheritance graph
[legend]
Collaboration diagram for TwoSteps:
Collaboration graph
[legend]

Public Member Functions

 TwoSteps (double ivl, double ilip, double ivm, double irip, double ivr)
 Class constructor. More...
 
double operator() (double x) const
 Evaluates the distribution at a certain spot. More...
 
- Public Member Functions inherited from SpatialDistribution1D
virtual ~SpatialDistribution1D (void)
 Abstract class for initial conditions. More...
 

Detailed Description

Two steps.

Definition at line 74 of file spatial_distribution1d.hpp.

Constructor & Destructor Documentation

◆ TwoSteps()

TwoSteps::TwoSteps ( double  ivl,
double  ilip,
double  ivm,
double  irip,
double  ivr 
)

Class constructor.

Parameters
ivlValue on the left step
ilipPosition of the left interface
ivmValue on the middle step
iripPosition of the right interface
ivrValue on the right step

Definition at line 28 of file spatial_distribution1d.cpp.

Member Function Documentation

◆ operator()()

double TwoSteps::operator() ( double  x) const
virtual

Evaluates the distribution at a certain spot.

Parameters
xPosition
Returns
Value of the distribution at x

Implements SpatialDistribution1D.

Definition at line 37 of file spatial_distribution1d.cpp.


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