waves
Basic FE playground
waves::Problem Class Reference

main wave Problem object More...

#include <wProblem.h>

Inheritance diagram for waves::Problem:
Collaboration diagram for waves::Problem:

Public Member Functions

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

Public Attributes

std::shared_ptr< MshData > msh
 
std::vector< std::shared_ptr< Source > > srcs
 
std::vector< std::shared_ptr< Medium > > media
 
std::vector< std::shared_ptr< Boundary > > bnds
 

Detailed Description

main wave Problem object

Constructor & Destructor Documentation

◆ Problem()

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

◆ ~Problem()

Problem::~Problem ( )
virtual

Member Function Documentation

◆ add() [1/3]

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

◆ add() [2/3]

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

◆ add() [3/3]

void waves::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> > waves::Problem::bnds

◆ media

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

◆ msh

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

◆ srcs

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

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