Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion examples/structural/base/bracket_2d_model.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,13 @@ class DisciplineBase;
class BoundaryConditionBase;
class FunctionBase;
class Parameter;
class Solid2DSectionElementPropertyCard;

namespace Examples {
struct Bracket2DModel {

using SectionPropertyCardType = MAST::Solid2DSectionElementPropertyCard;

template <typename Opt>
static Real reference_volume(Opt& opt);

Expand Down Expand Up @@ -637,7 +640,7 @@ MAST::Examples::Bracket2DModel::initialize_level_set_solution(Opt& opt) {
nx_m = opt._input("level_set_nx_divs", "number of elements of level-set mesh along x-axis", 10),
ny_m = opt._input("level_set_ny_divs", "number of elements of level-set mesh along y-axis", 10);

MAST::Examples::LevelSetNucleationFunction
MAST::Examples::LevelSetNucleationFunction2D
phi(0., 0., length, height, nx_m, ny_m, nx_h, ny_h);

opt._level_set_sys_init->initialize_solution(phi);
Expand Down
Loading