ABLATE Source Documentation  0.12.33
ablate::domain::Initializer Class Reference

#include <initializer.hpp>

+ Inheritance diagram for ablate::domain::Initializer:

Public Member Functions

 Initializer (std::vector< std::shared_ptr< mathFunctions::FieldFunction >>)
 
template<class... FieldFunctions>
 Initializer (FieldFunctions &&... functions)
 
virtual ~Initializer ()=default
 
virtual std::vector< std::shared_ptr< mathFunctions::FieldFunction > > GetFieldFunctions (const std::vector< domain::Field > &fields) const
 

Detailed Description

Simple class used to produce the field functions for initialization

Constructor & Destructor Documentation

◆ Initializer() [1/2]

ablate::domain::Initializer::Initializer ( std::vector< std::shared_ptr< mathFunctions::FieldFunction >>  fieldFunctions)
explicit

Create a simple Initializer with a fixed set of fieldFunctions

◆ Initializer() [2/2]

template<class... FieldFunctions>
ablate::domain::Initializer::Initializer ( FieldFunctions &&...  functions)
inlineexplicit

Create a simple Initializer with a fixed set of fieldFunctions

◆ ~Initializer()

virtual ablate::domain::Initializer::~Initializer ( )
virtualdefault

Optional cleanup

Member Function Documentation

◆ GetFieldFunctions()

virtual std::vector<std::shared_ptr<mathFunctions::FieldFunction> > ablate::domain::Initializer::GetFieldFunctions ( const std::vector< domain::Field > &  fields) const
inlinevirtual

Interface to produce the field functions from fields

Reimplemented in ablate::domain::InitializerList, and ablate::domain::Hdf5Initializer.


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