OGS 6.2.1-76-gbb689931b
ProcessLib::DeactivatedSubdomain Struct Reference

Detailed Description

Definition at line 48 of file DeactivatedSubdomain.h.

#include <DeactivatedSubdomain.h>

Public Member Functions

 DeactivatedSubdomain (std::unique_ptr< BaseLib::TimeInterval > time_interval_, std::vector< int > &&materialIDs_, std::vector< std::unique_ptr< DeactivetedSubdomainMesh >> &&deactivated_subdomain_meshes_)
 
bool includesTimeOf (double const t) const
 

Public Attributes

std::unique_ptr< BaseLib::TimeInterval const > const time_interval
 
std::vector< int > const materialIDs
 The material IDs of the deactivated the subdomains. More...
 
std::vector< std::unique_ptr< DeactivetedSubdomainMesh > > const deactivated_subdomain_meshes
 

Static Public Attributes

static const std::string zero_parameter_name
 

Constructor & Destructor Documentation

◆ DeactivatedSubdomain()

ProcessLib::DeactivatedSubdomain::DeactivatedSubdomain ( std::unique_ptr< BaseLib::TimeInterval time_interval_,
std::vector< int > &&  materialIDs_,
std::vector< std::unique_ptr< DeactivetedSubdomainMesh >> &&  deactivated_subdomain_meshes_ 
)

Definition at line 38 of file DeactivatedSubdomain.cpp.

43  : time_interval(std::move(time_interval_)),
44  materialIDs(std::move(materialIDs_)),
45  deactivated_subdomain_meshes(std::move(deactivated_subdomain_meshes_))
46 {
47 }
std::unique_ptr< BaseLib::TimeInterval const > const time_interval
std::vector< std::unique_ptr< DeactivetedSubdomainMesh > > const deactivated_subdomain_meshes
std::vector< int > const materialIDs
The material IDs of the deactivated the subdomains.

Member Function Documentation

◆ includesTimeOf()

bool ProcessLib::DeactivatedSubdomain::includesTimeOf ( double const  t) const

Definition at line 49 of file DeactivatedSubdomain.cpp.

References time_interval.

50 {
51  return time_interval->contains(t);
52 }
std::unique_ptr< BaseLib::TimeInterval const > const time_interval

Member Data Documentation

◆ deactivated_subdomain_meshes

std::vector<std::unique_ptr<DeactivetedSubdomainMesh> > const ProcessLib::DeactivatedSubdomain::deactivated_subdomain_meshes

Definition at line 64 of file DeactivatedSubdomain.h.

Referenced by ProcessLib::createDeactivatedSubdomain().

◆ materialIDs

std::vector<int> const ProcessLib::DeactivatedSubdomain::materialIDs

The material IDs of the deactivated the subdomains.

Definition at line 61 of file DeactivatedSubdomain.h.

◆ time_interval

std::unique_ptr<BaseLib::TimeInterval const> const ProcessLib::DeactivatedSubdomain::time_interval

◆ zero_parameter_name

const std::string ProcessLib::DeactivatedSubdomain::zero_parameter_name
static
Initial value:
=
"zero_for_element_deactivation_approach"

Definition at line 66 of file DeactivatedSubdomain.h.

Referenced by ProcessLib::ProcessVariable::createBoundaryConditionsForDeactivatedSubDomains(), and ProjectData::parseParameters().


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