sources_base_mod Module Reference

generic source terms module providing functionaly common to all source terms More...

Data Types

interface  CalcTimestep
 
interface  ExternalSources
 
interface  Finalize
 
interface  InitSources
 
type  sources_base
 

Variables

subroutine initsources_base (this, stype, sname)
 Initialize data in sources. More...
 
class(sources_base) function, pointer getsourcespointer (this, stype)
 return pointer to requested source term More...
 

Detailed Description

generic source terms module providing functionaly common to all source terms

Author
Tobias Illenseer
Björn Sperling

Function/Subroutine Documentation

◆ getsourcespointer()

class(sources_base) function, pointer sources_base_mod::getsourcespointer ( class(sources_base), intent(in), target  this,
integer, intent(in)  stype 
)

return pointer to requested source term

Definition at line 141 of file sources_base.f90.

◆ initsources_base()

subroutine sources_base_mod::initsources_base ( class(sources_base), intent(inout)  this,
integer, intent(in)  stype,
character(len=*), intent(in)  sname 
)
private

Initialize data in sources.

Definition at line 125 of file sources_base.f90.