waves
Basic FE playground
heat::Problem Class Reference

a class containing the problem parameters More...

#include <wProblem.h>

Inheritance diagram for heat::Problem:
Collaboration diagram for heat::Problem:

Public Member Functions

 Problem (std::shared_ptr< MshData > _msh)
 
virtual ~Problem ()
 
void add (std::shared_ptr< Medium > m)
 
void add (std::shared_ptr< Dirichlet > d)
 
void add (std::shared_ptr< Source > s)
 
void add (std::shared_ptr< Boundary > b)
 
void add (std::shared_ptr< Periodic > p)
 
void initElems ()
 Initialize the elements precomputed values. More...
 
virtual void write (std::ostream &out) const override
 

Public Attributes

std::shared_ptr< MshData > msh
 Mesh structure. More...
 
std::vector< std::shared_ptr< Medium > > media
 Materials. More...
 
std::vector< std::shared_ptr< Dirichlet > > dBCs
 Dirichlet boundary conditions. More...
 
std::vector< std::shared_ptr< Source > > srcs
 volumic sources More...
 
std::vector< std::shared_ptr< Boundary > > bnds
 prescribed fluxes on the boundary More...
 
std::shared_ptr< Periodicpdic
 periodic BC More...
 

Detailed Description

a class containing the problem parameters

Constructor & Destructor Documentation

◆ Problem()

Problem::Problem ( std::shared_ptr< MshData >  _msh)

◆ ~Problem()

Problem::~Problem ( )
virtual

Member Function Documentation

◆ add() [1/5]

void heat::Problem::add ( std::shared_ptr< Boundary b)
inline

◆ add() [2/5]

void heat::Problem::add ( std::shared_ptr< Dirichlet d)
inline

◆ add() [3/5]

void heat::Problem::add ( std::shared_ptr< Medium m)
inline

◆ add() [4/5]

void heat::Problem::add ( std::shared_ptr< Periodic p)
inline

◆ add() [5/5]

void heat::Problem::add ( std::shared_ptr< Source s)
inline

◆ initElems()

void Problem::initElems ( )

Initialize the elements precomputed values.

◆ write()

void Problem::write ( std::ostream &  out) const
overridevirtual

Member Data Documentation

◆ bnds

std::vector<std::shared_ptr<Boundary> > heat::Problem::bnds

prescribed fluxes on the boundary

◆ dBCs

std::vector<std::shared_ptr<Dirichlet> > heat::Problem::dBCs

Dirichlet boundary conditions.

◆ media

std::vector<std::shared_ptr<Medium> > heat::Problem::media

Materials.

◆ msh

std::shared_ptr<MshData> heat::Problem::msh

Mesh structure.

◆ pdic

std::shared_ptr<Periodic> heat::Problem::pdic

periodic BC

◆ srcs

std::vector<std::shared_ptr<Source> > heat::Problem::srcs

volumic sources


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