Neko-TOP
A portable framework for high-order spectral element flow toplogy optimization.
Loading...
Searching...
No Matches
problem.f90 File Reference

Go to the source code of this file.

Data Types

type  problem::problem_t
 The abstract problem type. More...
 

Modules

module  problem
 Module for handling the optimization problem.
 

Functions/Subroutines

subroutine problem::problem_init (this, parameters, design, simulation)
 The constructor for the base problem.
 
subroutine problem::problem_free (this)
 Destructor for the base class.
 
subroutine problem::problem_write (this, idx)
 Sample the fields/design.
 
subroutine problem::problem_read_objectives (this, parameters, simulation, design)
 Read the objective from a parameters file.
 
subroutine problem::problem_read_constraints (this, parameters, simulation, design)
 Read the constraint from a parameters file.
 
subroutine problem::problem_add_objective (this, objective)
 Add an objective to the list.
 
subroutine problem::problem_add_constraint (this, constraint)
 Add an objective to the list.
 
subroutine problem::problem_compute (this, design)
 The computation of the objective function and constraints.
 
subroutine problem::problem_compute_sensitivity (this, design)
 The computation of the objective function and constraints.
 
subroutine problem::problem_update_objectives (this, design)
 Update the objectives.
 
subroutine problem::problem_update_constraints (this, design)
 Update the constraints.
 
subroutine problem::problem_update_objective_sensitivities (this, design)
 Update the sensitivity of the objectives.
 
subroutine problem::problem_update_constraint_sensitivities (this, design)
 Update the sensitivity of the constraints.
 
subroutine problem::problem_get_objective_value (this, objective_value)
 Construct and get the objective.
 
subroutine problem::problem_get_all_objective_values (this, all_objective_values)
 Construct and get the objective.
 
subroutine problem::problem_get_constraint_values (this, constraint_value)
 Construct and get the constraints.
 
subroutine problem::problem_get_objective_sensitivities (this, sensitivity)
 Construct and get the sensitivity of the objective.
 
subroutine problem::problem_get_constraint_sensitivities (this, sensitivity)
 Construct and get the sensitivity of the constraints.
 
pure integer function problem::problem_get_num_objectives (this)
 Return the number of objectives.
 
pure integer function problem::problem_get_num_constraints (this)
 Return the number of constraints.
 
character(len=1024) function problem::problem_get_log_header (this)
 Return the header for the problem.
 

Detailed Description

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  • Neither the name of the authors nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Definition in file problem.f90.