crunchflow.input.blocks.DatabaseBlock
- class crunchflow.input.blocks.DatabaseBlock
Bases:
digraph inheritance1385f7cfae { bgcolor=transparent; rankdir=LR; size="8.0, 12.0"; "DatabaseBlock" [URL="#crunchflow.input.blocks.DatabaseBlock",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Typically, the database is specified in the Runtime() block, but"]; "KeywordBlock" -> "DatabaseBlock" [arrowsize=0.5,style="setlinewidth(0.5)"]; "KeywordBlock" [URL="KeywordBlock.html#crunchflow.input.blocks.KeywordBlock",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Base class for all keyword blocks in a CrunchFlow input file"]; }KeywordBlockTypically, the database is specified in the Runtime() block, but some input files use a separate DATABASE block. This class is not to be confused with the Database() class for manipulating geochemical databases
- set_parameters(parameters)
Set the database for the block
- __str__()
Return the database block as a string