![]() |
waves
Basic FE playground
|
Class which is used to store the list of the volumetric heat sources. More...
#include <SourcesList.h>
Public Member Functions | |
SourcesList () | |
SourcesList (Problem &pbl, Teuchos::RCP< Map > map, Teuchos::RCP< ElementsList > elementsList) | |
SourcesList constructor. More... | |
local_ordinal_type | getSourceNumber () |
Return the number of sources. More... | |
local_ordinal_type | getSourceSize (local_ordinal_type i) |
Return the number of elements for a given source. More... | |
local_ordinal_type | getSourceElement (local_ordinal_type i, local_ordinal_type ea) |
Return the local ID of the element e1 of a source. More... | |
scalar | getSourceValue (local_ordinal_type i) |
Return the value of the source. More... | |
Private Types | |
typedef Map::local_ordinal_type | local_ordinal_type |
typedef Map::global_ordinal_type | global_ordinal_type |
Private Attributes | |
Kokkos::View< int **, Kokkos::LayoutRight > | sources_elementsList |
Kokkos::View< scalar ***, Kokkos::LayoutRight > | sources_values_list |
local_ordinal_type | sources_number |
local_ordinal_type | sources_size |
local_ordinal_type | sources_elements |
local_ordinal_type | sources_time |
local_ordinal_type | sources_values |
Class which is used to store the list of the volumetric heat sources.
|
private |
|
private |
katoptron::SourcesList< scalar >::SourcesList | ( | ) |
katoptron::SourcesList< scalar >::SourcesList | ( | Problem & | pbl, |
Teuchos::RCP< Map > | map, | ||
Teuchos::RCP< ElementsList > | elementsList | ||
) |
SourcesList constructor.
This constructor allocates 2 Kokkos::View which store all the required information related to source, including:
Arguments:
|
inline |
Return the local ID of the element e1 of a source.
Arguments:
|
inline |
Return the number of sources.
|
inline |
Return the number of elements for a given source.
Argument:
|
inline |
Return the value of the source.
Argument:
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |