Skip to content

Struct ae108::cpppetsc::GeneralizedConstrainedDOFs

ClassList > ae108 > cpppetsc > GeneralizedConstrainedDOFs

Defines a boundary condition that sets the target value (specified by a vertex view and a degree of freedom index) to the sum of scaled source values (specified by a factor, a vertex index and a degree of freedom index).

  • #include <MeshBoundaryCondition.h>

Classes

Type Name
struct SourceItem

Public Types

Type Name
typedef std::vector< SourceItem > sources_type

Public Attributes

Type Name
PetscInt global_dof_index = {-1}
sources_type sources
PetscScalar value_offset = {0.}

Public Types Documentation

typedef sources_type

using ae108::cpppetsc::GeneralizedConstrainedDOFs::sources_type =  std::vector<SourceItem>;

Public Attributes Documentation

variable global_dof_index

PetscInt ae108::cpppetsc::GeneralizedConstrainedDOFs::global_dof_index;

variable sources

sources_type ae108::cpppetsc::GeneralizedConstrainedDOFs::sources;

variable value_offset

PetscScalar ae108::cpppetsc::GeneralizedConstrainedDOFs::value_offset;


The documentation for this class was generated from the following file cpppetsc/src/include/ae108/cpppetsc/MeshBoundaryCondition.h