SPH
Public Member Functions | Public Attributes | List of all members
InitialConditions::BodySetup Struct Reference

Holds data needed to create a single body in addHeterogeneousBody function. More...

#include <Initial.h>

Public Member Functions

 BodySetup ()
 Creates a body with undefined domain and material. More...
 
 BodySetup (SharedPtr< IDomain > domain, SharedPtr< IMaterial > material)
 Creates a body by specifying its domain and material. More...
 
 BodySetup (SharedPtr< IDomain > domain, const BodySettings &body)
 Creates a body by specifying its domain; material is created from parameters in settings. More...
 
 ~BodySetup ()
 

Public Attributes

SharedPtr< IDomaindomain
 
SharedPtr< IMaterialmaterial
 

Detailed Description

Holds data needed to create a single body in addHeterogeneousBody function.

Definition at line 154 of file Initial.h.

Constructor & Destructor Documentation

◆ BodySetup() [1/3]

InitialConditions::BodySetup::BodySetup ( )
default

Creates a body with undefined domain and material.

◆ BodySetup() [2/3]

InitialConditions::BodySetup::BodySetup ( SharedPtr< IDomain domain,
SharedPtr< IMaterial material 
)

Creates a body by specifying its domain and material.

Definition at line 127 of file Initial.cpp.

◆ BodySetup() [3/3]

InitialConditions::BodySetup::BodySetup ( SharedPtr< IDomain domain,
const BodySettings body 
)

Creates a body by specifying its domain; material is created from parameters in settings.

Definition at line 131 of file Initial.cpp.

◆ ~BodySetup()

InitialConditions::BodySetup::~BodySetup ( )
default

Member Data Documentation

◆ domain

SharedPtr<IDomain> InitialConditions::BodySetup::domain

Definition at line 155 of file Initial.h.

◆ material

SharedPtr<IMaterial> InitialConditions::BodySetup::material

Definition at line 156 of file Initial.h.


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