BELFEM 0.9.0
Berkeley Lab Finite Element Framework
Loading...
Searching...
No Matches
belfem::fem::KernelParameters Class Reference

#include <cl_FEM_KernelParameters.hpp>

Public Member Functions

 KernelParameters (Mesh &aMesh)
 KernelParameters (Mesh *aMesh)
 KernelParameters (Kernel *aKernel)
 ~KernelParameters ()=default
Meshmesh ()
 return the pointer of the associated mesh
proc_t number_of_procs () const
 return the number of procs that contribute to this kernel
const proc_tmaster ()
 return the id of the master proc
void select_blocks (const Vector< id_t > &aBlockIDs)
 Select the IDs of the blocks that are to be used.
void select_blocks (const Cell< id_t > &aBlockIDs)
void select_sidesets (const Vector< id_t > &aSidesetIDs)
void select_sidesets (const Cell< id_t > &aSidesetIDs)
const Vector< index_t > & block_indices () const
 return the indices of the selected blocks
const Vector< id_t > & selected_blocks () const
 return the ids of the selected blocks
const Vector< index_t > & sideset_indices () const
 return the indices of the selected sidesets
const Vector< id_t > & selected_sidesets () const
 return the ids of the selected sidesets
void set_integration_scheme (const IntegrationScheme &aIntegrationScheme)
const IntegrationSchemeintegration_scheme () const
bool auto_partition () const
void set_auto_partition (const bool aFlag)
Kernelkernel ()
ReorderingMethod reordering_method () const
void set_reordering_method (const ReorderingMethod aMethod)

Constructor & Destructor Documentation

◆ KernelParameters() [1/3]

belfem::fem::KernelParameters::KernelParameters ( Mesh & aMesh)

◆ KernelParameters() [2/3]

belfem::fem::KernelParameters::KernelParameters ( Mesh * aMesh)

◆ KernelParameters() [3/3]

belfem::fem::KernelParameters::KernelParameters ( Kernel * aKernel)

◆ ~KernelParameters()

belfem::fem::KernelParameters::~KernelParameters ( )
default

Member Function Documentation

◆ auto_partition()

bool belfem::fem::KernelParameters::auto_partition ( ) const
inline

◆ block_indices()

const Vector< index_t > & belfem::fem::KernelParameters::block_indices ( ) const
inline

return the indices of the selected blocks

◆ integration_scheme()

const IntegrationScheme & belfem::fem::KernelParameters::integration_scheme ( ) const
inline

◆ kernel()

Kernel * belfem::fem::KernelParameters::kernel ( )

◆ master()

const proc_t & belfem::fem::KernelParameters::master ( )
inline

return the id of the master proc

◆ mesh()

Mesh * belfem::fem::KernelParameters::mesh ( )

return the pointer of the associated mesh

◆ number_of_procs()

proc_t belfem::fem::KernelParameters::number_of_procs ( ) const
inline

return the number of procs that contribute to this kernel

◆ reordering_method()

ReorderingMethod belfem::fem::KernelParameters::reordering_method ( ) const
inline

◆ select_blocks() [1/2]

void belfem::fem::KernelParameters::select_blocks ( const Cell< id_t > & aBlockIDs)

◆ select_blocks() [2/2]

void belfem::fem::KernelParameters::select_blocks ( const Vector< id_t > & aBlockIDs)

Select the IDs of the blocks that are to be used.

Only the Master proc that owns the mesh is responsible for this

in this case, we use these blocks for the partitioning

◆ select_sidesets() [1/2]

void belfem::fem::KernelParameters::select_sidesets ( const Cell< id_t > & aSidesetIDs)

◆ select_sidesets() [2/2]

void belfem::fem::KernelParameters::select_sidesets ( const Vector< id_t > & aSidesetIDs)

◆ selected_blocks()

const Vector< id_t > & belfem::fem::KernelParameters::selected_blocks ( ) const
inline

return the ids of the selected blocks

◆ selected_sidesets()

const Vector< id_t > & belfem::fem::KernelParameters::selected_sidesets ( ) const
inline

return the ids of the selected sidesets

◆ set_auto_partition()

void belfem::fem::KernelParameters::set_auto_partition ( const bool aFlag)

◆ set_integration_scheme()

void belfem::fem::KernelParameters::set_integration_scheme ( const IntegrationScheme & aIntegrationScheme)

◆ set_reordering_method()

void belfem::fem::KernelParameters::set_reordering_method ( const ReorderingMethod aMethod)

◆ sideset_indices()

const Vector< index_t > & belfem::fem::KernelParameters::sideset_indices ( ) const
inline

return the indices of the selected sidesets


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